forked from OSchip/llvm-project
Make sure to use same EABI version for external assembler as for integrated as.
Patch by Andrew Turner! llvm-svn: 177252
This commit is contained in:
parent
0f2c7ea5d0
commit
2bed8472d1
|
@ -5216,6 +5216,7 @@ void freebsd::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
switch(getToolChain().getTriple().getEnvironment()) {
|
||||
case llvm::Triple::GNUEABI:
|
||||
case llvm::Triple::EABI:
|
||||
CmdArgs.push_back("-meabi=5");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -105,5 +105,5 @@
|
|||
// RUN: %clang %s -### -o %t.o -target arm-gnueabi-freebsd10.0 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-ARM-EABI %s
|
||||
// CHECK-ARM-EABI-NOT: clang{{.*}}" "-cc1"{{.*}}" "-fsjlj-exceptions"
|
||||
// CHECK-ARM-EABI: as{{.*}}" "-mfpu=softvfp"
|
||||
// CHECK-ARM-EABI: as{{.*}}" "-mfpu=softvfp" "-meabi=5"
|
||||
// CHECK-ARM-EABI-NOT: as{{.*}}" "-matpcs"
|
||||
|
|
Loading…
Reference in New Issue