From 3efc9a02e6e828f16d34d303afa626019434b0a548af36c2d14d5d9440943a6d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 3 Apr 2014 10:58:41 +0000 Subject: [PATCH] - binutils-2.24-auto-plugin.diff: Update from git commit that went to trunk. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=160 --- binutils-2.24-auto-plugin.diff | 41 +++++++++++----------------------- binutils.changes | 6 +++++ cross-aarch64-binutils.changes | 6 +++++ cross-arm-binutils.changes | 6 +++++ cross-avr-binutils.changes | 6 +++++ cross-hppa-binutils.changes | 6 +++++ cross-hppa64-binutils.changes | 6 +++++ cross-i386-binutils.changes | 6 +++++ cross-ia64-binutils.changes | 6 +++++ cross-m68k-binutils.changes | 6 +++++ cross-mips-binutils.changes | 6 +++++ cross-ppc-binutils.changes | 6 +++++ cross-ppc64-binutils.changes | 6 +++++ cross-ppc64le-binutils.changes | 6 +++++ cross-s390-binutils.changes | 6 +++++ cross-s390x-binutils.changes | 6 +++++ cross-sparc-binutils.changes | 6 +++++ cross-sparc64-binutils.changes | 6 +++++ cross-spu-binutils.changes | 6 +++++ cross-x86_64-binutils.changes | 6 +++++ 20 files changed, 127 insertions(+), 28 deletions(-) diff --git a/binutils-2.24-auto-plugin.diff b/binutils-2.24-auto-plugin.diff index 8e4cd4a..d3bf3c2 100644 --- a/binutils-2.24-auto-plugin.diff +++ b/binutils-2.24-auto-plugin.diff @@ -1,30 +1,16 @@ -From: Markus Trippelsdorf -To: binutils at sourceware dot org -Subject: [PATCH] PR14698: Load gcc's bfd-plugin automatically +commit 92b1b67865c719e83d12578e584ca5e20d172eac +Author: Markus Trippelsdorf +Date: Thu Apr 3 11:33:17 2014 +0100 -Now that gcc has switched to "slim" LTO objects by default, it is -essential that ar, nm and ranlib always use the plugin. -Although gcc provides wrappers for this purpose, they are buggy and -superfluous. Binutils already has the ability to load plugins from the -lib/bfd-plugins directory, but unfortunately this only works if ar, nm -and ranlib are invoked on non-ELF files at the moment (so the LLVM gold -plugin works fine already). - -The following patch allows one to place the gcc's liblto_plugin in the -lib/bfd-plugins directory and have it loaded by default (as long as the ---target option isn't used). - -Please apply if the patch looks acceptable. -Thanks. - -2014-01-20 Markus Trippelsdorf - - PR binutils/14698 - ar.c: Set plugin_target early if plugins are supported. - nm.c: Likewise. + This patch allows one to place the gcc's liblto_plugin in the lib/bfd-plugins directory + and have it loaded by default (as long as the --target option isn't used). + + PR binutils/14698 + ar.c: Set plugin_target early if plugins are supported. + nm.c: Likewise. diff --git a/binutils/ar.c b/binutils/ar.c -index a11ed15c86bc..f0feaef5b233 100644 +index 69f20f9..ebd9528 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -138,7 +138,11 @@ static int show_version = 0; @@ -56,10 +42,10 @@ index a11ed15c86bc..f0feaef5b233 100644 #else fprintf (stderr, _("sorry - this program has been built without plugin support\n")); diff --git a/binutils/nm.c b/binutils/nm.c -index 156194f21de7..876bbed7a407 100644 +index 15c48a3..2a44a84 100644 --- a/binutils/nm.c +++ b/binutils/nm.c -@@ -177,7 +177,11 @@ static char other_format[] = "%02x"; +@@ -175,7 +175,11 @@ static char other_format[] = "%02x"; static char desc_format[] = "%04x"; static char *target = NULL; @@ -72,7 +58,7 @@ index 156194f21de7..876bbed7a407 100644 /* Used to cache the line numbers for a BFD. */ static bfd *lineno_cache_bfd; -@@ -1648,7 +1652,6 @@ main (int argc, char **argv) +@@ -1646,7 +1650,6 @@ main (int argc, char **argv) case OPTION_PLUGIN: /* --plugin */ #if BFD_SUPPORTS_PLUGINS @@ -80,4 +66,3 @@ index 156194f21de7..876bbed7a407 100644 bfd_plugin_set_plugin (optarg); #else fatal (_("sorry - this program has been built without plugin support\n")); - diff --git a/binutils.changes b/binutils.changes index ab5be16..99ac91b 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index ab5be16..99ac91b 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + ------------------------------------------------------------------- Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de