[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register

bernd.edlinger at hotmail dot de gcc-bugzilla@gcc.gnu.org
Thu Feb 7 08:38:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093

--- Comment #25 from Bernd Edlinger <bernd.edlinger at hotmail dot de> ---
you might consider adding something like that to your patch:

Index: elf.h
===================================================================
--- elf.h       (revision 268337)
+++ elf.h       (working copy)
@@ -64,7 +64,7 @@
 %{mapcs-*:-mapcs-%*} \
 %(subtarget_asm_float_spec) \
 %{mthumb-interwork:-mthumb-interwork} \
-%{mfloat-abi=*} %{!mfpu=auto: %{mfpu=*}} \
+%{mfloat-abi=*} %{!mfpu=auto: %{!mfpu=none: %{mfpu=*}}} \
 %(subtarget_extra_asm_spec)"
 #endif



otherwise using -mfpu=none won't work on the command line.
becuse gas does not understand it.


More information about the Gcc-bugs mailing list