зеркало из https://github.com/microsoft/clang-1.git
Make sure to use same EABI version for external assembler as for integrated as.
Patch by Andrew Turner! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
367989b354
Коммит
b234e7484b
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче