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.