]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR driver/55202 (Building a combined tree is broken for LTO)
authorAndrew Pinski <apinski@cavium.com>
Sat, 10 Nov 2012 18:32:23 +0000 (18:32 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 10 Nov 2012 18:32:23 +0000 (10:32 -0800)
2012-11-10  Andrew Pinski  <apinski@cavium.com>

        PR bootstrap/55202
        * configure.ac: Set PLUGIN_LD_SUFFIX to just "ld" if it was "ld-new"
        or "collect-ld".
        * configure: Regenerate.

From-SVN: r193393

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 46f21e7ded0b8d3236777a7a752ecce5af9295b2..62b6bd5280cde6f9c7ee9a2b7270bd618e220b00 100644 (file)
@@ -1,3 +1,10 @@
+2012-11-10  Andrew Pinski  <apinski@cavium.com>
+
+       PR bootstrap/55202
+       * configure.ac: Set PLUGIN_LD_SUFFIX to just "ld" if it was "ld-new"
+       or "collect-ld".
+       * configure: Regenerate.
+
 2012-11-10  Eric Botcazou  <ebotcazou@adacore.com>
 
        * expr.c (store_field): Remove TYPE parameter.  Remove block of code
index 55164b66c9205a8af04967d1ef85d49feaf19076..673b9087a1dfc694c15850e81c3fbd6795e72752 100755 (executable)
 
 ORIGINAL_PLUGIN_LD_FOR_TARGET=$gcc_cv_ld
 PLUGIN_LD_SUFFIX=`basename $gcc_cv_ld | sed -e "s,$target_alias-,,"`
+# if the PLUGIN_LD is set ld-new, just have it as ld
+# as that is the installed named.
+if test x$PLUGIN_LD_SUFFIX == xld-new \
+   || test x$PLUGIN_LD_SUFFIX == xcollect-ld ; then
+  PLUGIN_LD_SUFFIX=ld
+fi
 
 # Check whether --with-plugin-ld was given.
 if test "${with_plugin_ld+set}" = set; then :
index fbda2cc02079e974092c39f33121d6d4cefe991e..e0e12c0c4e00868acf61e308a9af0518fe260995 100644 (file)
@@ -2003,6 +2003,12 @@ fi])
 
 ORIGINAL_PLUGIN_LD_FOR_TARGET=$gcc_cv_ld
 PLUGIN_LD_SUFFIX=`basename $gcc_cv_ld | sed -e "s,$target_alias-,,"`
+# if the PLUGIN_LD is set ld-new, just have it as ld
+# as that is the installed named.
+if test x$PLUGIN_LD_SUFFIX == xld-new \
+   || test x$PLUGIN_LD_SUFFIX == xcollect-ld ; then
+  PLUGIN_LD_SUFFIX=ld
+fi
 AC_ARG_WITH(plugin-ld,
 [AS_HELP_STRING([[--with-plugin-ld=[ARG]]], [specify the plugin linker])],
 [if test x"$withval" != x; then