[Bug target/89093] [9 Regression] C++ exception handling clobbers d8 VFP register
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 7 08:40:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
--- Comment #26 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Bernd Edlinger from comment #25)
> 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.
And if that works, then it might be cleaner to add -mfpu=none in
libgcc/config/arm/t-arm for the libgcc objects.
More information about the Gcc-bugs
mailing list