aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2017-06-16 21:01:51 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2017-06-16 21:01:51 +0000
commit53c5aa9909dda24e7b770ffb62a3aae9d5d8e5d4 (patch)
treebc76924a3a80480b54fb6c4b819edd298787d856 /gcc
parent867944533b944953804d3dc88bae280160599a04 (diff)
downloadgcc-53c5aa9909dda24e7b770ffb62a3aae9d5d8e5d4.zip
gcc-53c5aa9909dda24e7b770ffb62a3aae9d5d8e5d4.tar.gz
gcc-53c5aa9909dda24e7b770ffb62a3aae9d5d8e5d4.tar.bz2
[arm] Don't pass -mfpu=auto through to the assembler.
The assembler doesn't understand -mfpu=auto. The easiest way to handle this is to surpress this value from being passed through, while still passing through legacy values. * config/arm/elf.h (ASM_SPEC): Only pass -mfpu through to the assembler when it is not -mfpu=auto. From-SVN: r249281
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/elf.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1542ae3..5ea21b7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-06-16 Richard Earnshaw <rearnsha@arm.com>
+ * config/arm/elf.h (ASM_SPEC): Only pass -mfpu through to the
+ assembler when it is not -mfpu=auto.
+
+2017-06-16 Richard Earnshaw <rearnsha@arm.com>
+
* config/arm/arm.h (BIG_LITTLE_SPEC): Delete macro.
(ASM_REWRITE_SPEC_FUNCTIONS): New macro.
(BIG_LITTLE_CPU_SPEC_FUNCTIONS): Delete macro.
diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h
index f119b87..fcc4f3f 100644
--- a/gcc/config/arm/elf.h
+++ b/gcc/config/arm/elf.h
@@ -64,7 +64,7 @@
%{mapcs-*:-mapcs-%*} \
%(subtarget_asm_float_spec) \
%{mthumb-interwork:-mthumb-interwork} \
-%{mfloat-abi=*} %{mfpu=*} \
+%{mfloat-abi=*} %{!mfpu=auto: %{mfpu=*}} \
%(subtarget_extra_asm_spec)"
#endif