Re: [PATCH 3/9] arm: Don't add crtfastmath.o for -shared

2023-01-13 Thread Richard Earnshaw via Gcc-patches
On 13/01/2023 08:00, Richard Biener via Gcc-patches wrote: Don't add crtfastmath.o for -shared to avoid altering the FP environment when loading a shared library. PR target/55522 * config/arm/linux-eabi.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared. * c

[PATCH 3/9] arm: Don't add crtfastmath.o for -shared

2023-01-13 Thread Richard Biener via Gcc-patches
Don't add crtfastmath.o for -shared to avoid altering the FP environment when loading a shared library. PR target/55522 * config/arm/linux-eabi.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared. * config/arm/unknown-elf.h (STARTFILE_SPEC): Likewise. --- gcc/con