https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522
--- Comment #43 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:6cdb4d4bcd52c95cb6d367b93a82eb599d4e26f0 commit r13-5452-g6cdb4d4bcd52c95cb6d367b93a82eb599d4e26f0 Author: Richard Biener <rguent...@suse.de> Date: Fri Jan 13 08:53:44 2023 +0100 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.