]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: Don't add crtfastmath.o for -shared
authorRichard Biener <rguenther@suse.de>
Fri, 13 Jan 2023 07:51:10 +0000 (08:51 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 13 Jan 2023 11:14:17 +0000 (12:14 +0100)
commit426a9f5570d74040176f81e7cf6806b36ebc907f
tree67eb66f1c2989e0f279dec71a63d34f5fd11b159
parent0bf7131e539de4ca66b3c0eb72aa0afbd8f006dc
arm: Don't add crtfastmath.o for -shared

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/config/arm/linux-eabi.h
gcc/config/arm/unknown-elf.h