mips: Don't add crtfastmath.o for -shared
authorRichard Biener <rguenther@suse.de>
Fri, 13 Jan 2023 07:53:44 +0000 (08:53 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 27 Jan 2023 14:46:30 +0000 (15:46 +0100)
commit6cdb4d4bcd52c95cb6d367b93a82eb599d4e26f0
tree1b339b132afecde02eed7387ad1b8cdd37440046
parented0a765ef9b7be420fc4cf6e653fc7350f84981c
mips: 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/mips/gnu-user.h (GNU_USER_TARGET_MATHFILE_SPEC):
Don't add crtfastmath.o for -shared.
gcc/config/mips/gnu-user.h