From dc9e77e5668e53368ef67e9730f28c8e2798eebd28bfc51c36cfb5c37762f47b Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 21 Mar 2014 12:27:13 +0000 Subject: [PATCH] - Add binutils-2.24-auto-plugin.diff to make plugin auto-load work for GCC LTO objects. [bso#14698] OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=157 --- binutils-2.24-auto-plugin.diff | 83 ++++++++++++++++++++++++++++++++++ binutils.changes | 6 +++ binutils.spec | 2 + cross-aarch64-binutils.changes | 6 +++ cross-aarch64-binutils.spec | 2 + cross-arm-binutils.changes | 6 +++ cross-arm-binutils.spec | 2 + cross-avr-binutils.changes | 6 +++ cross-avr-binutils.spec | 2 + cross-hppa-binutils.changes | 6 +++ cross-hppa-binutils.spec | 2 + cross-hppa64-binutils.changes | 6 +++ cross-hppa64-binutils.spec | 2 + cross-i386-binutils.changes | 6 +++ cross-i386-binutils.spec | 2 + cross-ia64-binutils.changes | 6 +++ cross-ia64-binutils.spec | 2 + cross-m68k-binutils.changes | 6 +++ cross-m68k-binutils.spec | 2 + cross-mips-binutils.changes | 6 +++ cross-mips-binutils.spec | 2 + cross-ppc-binutils.changes | 6 +++ cross-ppc-binutils.spec | 2 + cross-ppc64-binutils.changes | 6 +++ cross-ppc64-binutils.spec | 2 + cross-ppc64le-binutils.changes | 6 +++ cross-ppc64le-binutils.spec | 2 + cross-s390-binutils.changes | 6 +++ cross-s390-binutils.spec | 2 + cross-s390x-binutils.changes | 6 +++ cross-s390x-binutils.spec | 2 + cross-sparc-binutils.changes | 6 +++ cross-sparc-binutils.spec | 2 + cross-sparc64-binutils.changes | 6 +++ cross-sparc64-binutils.spec | 2 + cross-spu-binutils.changes | 6 +++ cross-spu-binutils.spec | 2 + cross-x86_64-binutils.changes | 6 +++ cross-x86_64-binutils.spec | 2 + 39 files changed, 235 insertions(+) create mode 100644 binutils-2.24-auto-plugin.diff diff --git a/binutils-2.24-auto-plugin.diff b/binutils-2.24-auto-plugin.diff new file mode 100644 index 0000000..8e4cd4a --- /dev/null +++ b/binutils-2.24-auto-plugin.diff @@ -0,0 +1,83 @@ +From: Markus Trippelsdorf +To: binutils at sourceware dot org +Subject: [PATCH] PR14698: Load gcc's bfd-plugin automatically + +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. + +diff --git a/binutils/ar.c b/binutils/ar.c +index a11ed15c86bc..f0feaef5b233 100644 +--- a/binutils/ar.c ++++ b/binutils/ar.c +@@ -138,7 +138,11 @@ static int show_version = 0; + + static int show_help = 0; + ++#if BFD_SUPPORTS_PLUGINS ++static const char *plugin_target = "plugin"; ++#else + static const char *plugin_target = NULL; ++#endif + + static const char *target = NULL; + +@@ -571,7 +575,6 @@ decode_options (int argc, char **argv) + break; + case OPTION_PLUGIN: + #if BFD_SUPPORTS_PLUGINS +- plugin_target = "plugin"; + bfd_plugin_set_plugin (optarg); + #else + fprintf (stderr, _("sorry - this program has been built without plugin support\n")); +@@ -632,7 +635,6 @@ ranlib_main (int argc, char **argv) + /* PR binutils/13493: Support plugins. */ + case OPTION_PLUGIN: + #if BFD_SUPPORTS_PLUGINS +- plugin_target = "plugin"; + bfd_plugin_set_plugin (optarg); + #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 +--- a/binutils/nm.c ++++ b/binutils/nm.c +@@ -177,7 +177,11 @@ static char other_format[] = "%02x"; + static char desc_format[] = "%04x"; + + static char *target = NULL; +-static char *plugin_target = NULL; ++#if BFD_SUPPORTS_PLUGINS ++static const char *plugin_target = "plugin"; ++#else ++static const char *plugin_target = NULL; ++#endif + + /* Used to cache the line numbers for a BFD. */ + static bfd *lineno_cache_bfd; +@@ -1648,7 +1652,6 @@ main (int argc, char **argv) + + case OPTION_PLUGIN: /* --plugin */ + #if BFD_SUPPORTS_PLUGINS +- plugin_target = "plugin"; + 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 6cd3e3c..d948fbd 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/binutils.spec b/binutils.spec index 267ce30..5d33ffe 100644 --- a/binutils.spec +++ b/binutils.spec @@ -97,6 +97,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -168,6 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index bb22ef6..77fe92f 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index f47d934..ba0df47 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 171b447..9b0541b 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 9d11aa5..5fc5832 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 03f5b80..d6f8435 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index f824c91..b7d41b9 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 28f09a2..8e89e76 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-m68k-binutils.changes b/cross-m68k-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 750f7a7..eb761de 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 7be3754..b6307ba 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 58ad978..3f197f0 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index d201215..485e423 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64le-binutils.changes b/cross-ppc64le-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index c3df5fe..12e1c0a 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 3337f93..23e1ee4 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index cc09cb5..b2572bb 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 0c3edb7..5d610bb 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index e418c17..e02b80e 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 5685a2b..449d708 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 6cd3e3c..d948fbd 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 21 12:23:43 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + ------------------------------------------------------------------- Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index dc9b332..60a5293 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -100,6 +100,7 @@ Patch14: binutils-build-as-needed.diff Patch18: gold-depend-on-opcodes.diff Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -171,6 +172,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch18 %patch22 %patch23 -p1 +%patch24 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90