https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
--- Comment #42 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:ed0a765ef9b7be420fc4cf6e653fc7350f84981c commit r13-5451-ged0a765ef9b7be420fc4cf6e653fc7350f84981c Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 13 08:52:07 2023 +0100 ia64: 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/ia64/linux.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared.