elf.h (ENDFILE_SPEC): Add Ofast.
authorMichael Matz <matz@suse.de>
Thu, 5 May 2011 12:32:50 +0000 (12:32 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Thu, 5 May 2011 12:32:50 +0000 (12:32 +0000)
* config/alpha/elf.h (ENDFILE_SPEC): Add Ofast.
* config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast.
* config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/linux.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast.
* config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast.
* config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast.
* config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast.
* config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast.
* config/i386/darwin.h (ENDFILE_SPEC): Add Ofast.
* config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast.
* config/ia64/linux.h (ENDFILE_SPEC): Add Ofast.
* config/mips/linux.h (ENDFILE_SPEC): Add Ofast.

From-SVN: r173429

17 files changed:
gcc/ChangeLog
gcc/config/alpha/elf.h
gcc/config/alpha/netbsd.h
gcc/config/alpha/osf5.h
gcc/config/i386/cygwin.h
gcc/config/i386/darwin.h
gcc/config/i386/gnu-user.h
gcc/config/i386/gnu-user64.h
gcc/config/i386/mingw32.h
gcc/config/ia64/linux.h
gcc/config/mips/linux.h
gcc/config/sparc/freebsd.h
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/sol2.h
gcc/config/sparc/sp-elf.h
gcc/config/sparc/sp64-elf.h

index bcf5f1c8dcfa78a5d0142c0f6f033776129517a9..593f79058696a6099deed1d92a32b1841b701acf 100644 (file)
@@ -1,3 +1,22 @@
+2011-05-05  Michael Matz  <matz@suse.de>
+
+       * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast.
+       * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast.
+       * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast.
+       * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast.
+       * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast.
+       * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast.
+       * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast.
+       * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast.
+       * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast.
+       * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast.
+       * config/mips/linux.h (ENDFILE_SPEC): Add Ofast.
+
 2011-05-05  Richard Guenther  <rguenther@suse.de>
 
        * expmed.c (expand_variable_shift): Rename to ...
index 78cafedb970bd78899b9825ddb27f19b9dc63aff..0293f26ee7ca5c8ed3fb9858514110ace388efff 100644 (file)
@@ -397,7 +397,7 @@ do {                                                                        \
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
 
 /* Select a format to encode pointers in exception handling data.  CODE
index df0bc41c4ff28695fcb6df68f595ee2e2dffcb4f..65e899121d2e5f9884970ceadff1df9d9a351f0f 100644 (file)
@@ -70,7 +70,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC           \
-  "%{ffast-math|funsafe-math-optimizations:crtfm%O%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfm%O%s} \
    %(netbsd_endfile_spec)"
 
 
index 97a789f861061c676cb50f20a99e7063a6035dc5..7713b7ee0454fe211ac7d5c411396edde19f0387 100644 (file)
@@ -102,7 +102,7 @@ along with GCC; see the file COPYING3.  If not see
   "%{!shared:%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}"
 
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
 
 #define MD_STARTFILE_PREFIX "/usr/lib/cmplrs/cc/"
 
index 5f3062cf42e82966232a2b9a679248ca6c2e220e..cf17e1e1d8978f450f297427325cbd4a332104ee 100644 (file)
@@ -36,7 +36,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}\
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}\
    crtend.o%s"
 
 /* Normally, -lgcc is not needed since everything in it is in the DLL, but we
index ea350326a89c4aaa4230fe05b89b09f86b24d262..44a0d7b6a8d2aec29eba692f81929c6d376ceb1f 100644 (file)
@@ -129,7 +129,7 @@ extern int darwin_emit_branch_islands;
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{mpc32:crtprec32.o%s} \
    %{mpc64:crtprec64.o%s} \
    %{mpc80:crtprec80.o%s}"
index b6e152e935d72769af27b81a331ad68040931f38..98d0a25cbe36dc2efef48027af682cca4814de76 100644 (file)
@@ -108,7 +108,7 @@ along with GCC; see the file COPYING3.  If not see
 /* Similar to standard GNU userspace, but adding -ffast-math support.  */
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{mpc32:crtprec32.o%s} \
    %{mpc64:crtprec64.o%s} \
    %{mpc80:crtprec80.o%s} \
index 8850b813e405548aa07f0354d5150ff489ee272c..3ece0faa6df8aa396ac90afb52d41c0d42a556dd 100644 (file)
@@ -81,7 +81,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 /* Similar to standard GNU userspace, but adding -ffast-math support.  */
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{mpc32:crtprec32.o%s} \
    %{mpc64:crtprec64.o%s} \
    %{mpc80:crtprec80.o%s} \
index 3c8eee6143a2e6f5fa189e440fe78ef52f2df3e6..96122fca358cad913045de1dac98b620fd1af4c4 100644 (file)
@@ -143,7 +143,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
   crtend.o%s"
 
 /* Override startfile prefix defaults.  */
index 2d75376ed1f4d5deb7eed223499726b7b832156a..e6370ea3492141659025638acee0d08d3f3a49af 100644 (file)
@@ -50,7 +50,7 @@ do {                                          \
 /* Similar to standard Linux, but adding -ffast-math support.  */
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
 
 /* Define this for shared library support because it isn't in the main
index 9c33590df66b9d092fab5609273a1cde937d3377..aef37bd8f58484ecb3b8de1b982ec46a38128e1b 100644 (file)
@@ -140,5 +140,5 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
 /* Similar to standard Linux, but adding -ffast-math support.  */
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
index b88b4e9f6733200528a8cd3f1b3ca5194183afc6..ed83eed1228b7b41b826901a5c0f9c7dcbe85e77 100644 (file)
@@ -166,7 +166,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC                                           \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} "  \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} "    \
   FBSD_ENDFILE_SPEC
 
 /* We use GNU ld so undefine this so that attribute((init_priority)) works.  */
index 81f0de89e022e88419f73bf05f944fcf063aee54..f8e16dd6926fa80a35f5e046853d780148b46536 100644 (file)
@@ -37,7 +37,7 @@ along with GCC; see the file COPYING3.  If not see
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
   "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s\
-   %{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+   %{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
 
 /* This is for -profile to use -lc_p instead of -lc.  */
 #undef CC1_SPEC
index 5db05c1a4a84212afc5b255ee19dbe6bef590d4c..27ff696f0f2ddc66f0d268fa1c08c82684a16a48 100644 (file)
@@ -59,7 +59,7 @@ along with GCC; see the file COPYING3.  If not see
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
   "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s\
-   %{ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
+   %{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}"
 
 /* The default code model.  */
 #undef SPARC_DEFAULT_CMODEL
index 8141e096fc10f0d6735f1c9211c0d29599981bba..73355ca8c45796940cdf6be23be48c064e58ec31 100644 (file)
@@ -119,7 +119,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    crtend.o%s crtn.o%s"
 
 /* Select a format to encode pointers in exception handling data.  CODE
index d39ca3eeb37f309a1a82c7cf39f31aa503b13e82..8549923739cde0630e08ee85ee3f1d3271eb1013 100644 (file)
@@ -35,7 +35,7 @@ along with GCC; see the file COPYING3.  If not see
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    crtend.o%s crtn.o%s"
 
 /* Don't set the target flags, this is done by the linker script */
index 25a02402b07dd0699e490267268327b962170af0..0ee9d08cee088f74b1401d18bccd1d95f65060de 100644 (file)
@@ -60,7 +60,7 @@ crtbegin.o%s \
 
 #undef ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
+  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
    crtend.o%s"
 
 /* Use the default (for now).  */