https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
--- Comment #41 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:31949fba1222692548b501e4dfa4ddcf7b7fc7c6 commit r13-5450-g31949fba1222692548b501e4dfa4ddcf7b7fc7c6 Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 13 08:50:14 2023 +0100 alpha: 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/alpha/linux.h (ENDFILE_SPEC): Don't add crtfastmath.o for -shared.