diff options
Diffstat (limited to 'gcc/config/sparc/elf.h')
-rw-r--r-- | gcc/config/sparc/elf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/sparc/elf.h b/gcc/config/sparc/elf.h index 20bea820951..d2d3a0b74d3 100644 --- a/gcc/config/sparc/elf.h +++ b/gcc/config/sparc/elf.h @@ -26,7 +26,9 @@ Boston, MA 02111-1307, USA. */ #define STARTFILE_SPEC "crt0.o%s crti.o%s crtbegin.o%s" #undef ENDFILE_SPEC -#define ENDFILE_SPEC "crtend.o%s crtn.o%s" +#define ENDFILE_SPEC \ + "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ + crtend.o%s crtn.o%s" /* Use the default. */ #undef LINK_SPEC |