From face4cb5f0a3465103472613482e3b63b871c15279b97913945e9dc083b86803 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 7 May 2014 08:21:16 +0000 Subject: [PATCH] - binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings for warn annotated symbols with LTO. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=166 --- binutils-2.24-bso16746.diff | 150 +++++++++++++++++++++++++++++++++ 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, 302 insertions(+) create mode 100644 binutils-2.24-bso16746.diff diff --git a/binutils-2.24-bso16746.diff b/binutils-2.24-bso16746.diff new file mode 100644 index 0000000..218b40d --- /dev/null +++ b/binutils-2.24-bso16746.diff @@ -0,0 +1,150 @@ +commit 26c2ff33f8fcd57d52194a159226b639a4fee00c +Author: H.J. Lu +Date: Tue Mar 25 13:33:51 2014 -0700 + + Don't issue a warning for reference in LTO IR + + References in LTO IR may be removed by LTO later. Instead, make a + warning symbol if needed. Warnings will be handled after LTO resolves + all references. + + bfd/ + + PR ld/16746 + * linker.c (_bfd_generic_link_add_one_symbol): Don't issue a + warning for reference in LTO IR which may be removed by LTO later. + + ld/testsuite/ + + PR ld/16746 + * ld-plugin/lto.exp: Add 4 tests for PR ld/16746. + * ld-plugin/pr16746a.c: New file. + * ld-plugin/pr16746b.c: Likewise. + * ld-plugin/pr16746c.c: Likewise. + * ld-plugin/pr16746d.c: Likewise. + +Index: binutils-2.24/bfd/linker.c +=================================================================== +--- binutils-2.24.orig/bfd/linker.c 2014-05-06 16:08:45.649990914 +0200 ++++ binutils-2.24/bfd/linker.c 2014-05-06 16:08:49.819990627 +0200 +@@ -1904,8 +1904,10 @@ _bfd_generic_link_add_one_symbol (struct + break; + + case WARNC: +- /* Issue a warning and cycle. */ +- if (h->u.i.warning != NULL) ++ /* Issue a warning and cycle. Don't issue a warning for ++ reference in LTO IR which may be removed by LTO later. */ ++ if (h->u.i.warning != NULL ++ && (abfd->flags & BFD_PLUGIN) == 0) + { + if (! (*info->callbacks->warning) (info, h->u.i.warning, + h->root.string, abfd, +@@ -1930,6 +1932,11 @@ _bfd_generic_link_add_one_symbol (struct + break; + + case WARN: ++ /* Don't issue a warning for reference in LTO IR which may be ++ removed by LTO later. Make a warning symbol instead. */ ++ if ((hash_entry_bfd (h)->flags & BFD_PLUGIN) != 0) ++ goto mwarn; ++ + /* Issue a warning. */ + if (! (*info->callbacks->warning) (info, string, h->root.string, + hash_entry_bfd (h), NULL, 0)) +@@ -1951,6 +1958,7 @@ _bfd_generic_link_add_one_symbol (struct + } + /* Fall through. */ + case MWARN: ++mwarn: + /* Make a warning symbol. */ + { + struct bfd_link_hash_entry *sub; +Index: binutils-2.24/ld/testsuite/ld-plugin/lto.exp +=================================================================== +--- binutils-2.24.orig/ld/testsuite/ld-plugin/lto.exp 2014-05-06 16:08:45.649990914 +0200 ++++ binutils-2.24/ld/testsuite/ld-plugin/lto.exp 2014-05-06 16:10:14.334984808 +0200 +@@ -206,6 +206,18 @@ set lto_link_elf_tests { + {"Build libpr15146d.a" + "" "-flto -O2" + {pr15146d.c} {} "lib15146d.a"} ++ {"Build libpr16746a.a" ++ "" "" ++ {pr16746a.c pr16746b.c} {} "lib16746a.a"} ++ {"Build libpr16746b.a" ++ "" "-O2 -flto" ++ {pr16746c.c pr16746d.c} {} "lib16746b.a"} ++ {"PR ld/16746 (1)" ++ "-O2 -flto -fuse-linker-plugin tmpdir/pr16746a.o tmpdir/pr16746c.o" "-O2 -flto" ++ {dummy.c} {} "pr16746a.exe"} ++ {"PR ld/16746 (2)" ++ "-O2 -flto -fuse-linker-plugin tmpdir/pr16746c.o tmpdir/pr16746a.o" "-O2 -flto" ++ {dummy.c} {} "pr16746b.exe"} + } + + # Check final symbols in executables. +@@ -309,6 +321,20 @@ if { [is_elf_format] + pass $testname + } { + fail $testname ++ } ++ set testname "PR ld/16746 (3)" ++ set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin tmpdir/pr16746b.o tmpdir/pr16746d.o"] ++ if { [ regexp "warning: foobar" $exec_output ] && ![ regexp "symbol from plugin" $exec_output ] } { ++ pass $testname ++ } { ++ fail $testname ++ } ++ set testname "PR ld/16746 (4)" ++ set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin tmpdir/pr16746d.o tmpdir/pr16746b.o"] ++ if { [ regexp "warning: foobar" $exec_output ] && ![ regexp "symbol from plugin" $exec_output ] } { ++ pass $testname ++ } { ++ fail $testname + } + } + +Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746a.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ binutils-2.24/ld/testsuite/ld-plugin/pr16746a.c 2014-05-06 16:08:49.819990627 +0200 +@@ -0,0 +1,3 @@ ++static const char __evoke_link_warning_foobar[] ++ __attribute__ ((used, section (".gnu.warning.foobar\n\t#"))) ++ = "foobar"; +Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746b.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ binutils-2.24/ld/testsuite/ld-plugin/pr16746b.c 2014-05-06 16:08:49.820990627 +0200 +@@ -0,0 +1,5 @@ ++static const char __evoke_link_warning_foobar[] ++ __attribute__ ((used, section (".gnu.warning.foobar\n\t#"))) ++ = "foobar"; ++ ++void foobar (void) {} +Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746c.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ binutils-2.24/ld/testsuite/ld-plugin/pr16746c.c 2014-05-06 16:08:49.820990627 +0200 +@@ -0,0 +1,8 @@ ++extern void foobar (void); ++int ++main (int argc, char **argv) ++{ ++ if (__builtin_constant_p (argc)) ++ foobar (); ++ return 0; ++} +Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746d.c +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ binutils-2.24/ld/testsuite/ld-plugin/pr16746d.c 2014-05-06 16:08:49.820990627 +0200 +@@ -0,0 +1,8 @@ ++extern void foobar (void); ++int ++main (int argc, char **argv) ++{ ++ if (!__builtin_constant_p (argc)) ++ foobar (); ++ return 0; ++} diff --git a/binutils.changes b/binutils.changes index ad031a3..b46973c 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/binutils.spec b/binutils.spec index 248cd79..ba103bd 100644 --- a/binutils.spec +++ b/binutils.spec @@ -99,6 +99,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -172,6 +173,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 77ab07d..1479eb8 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 1ab6abc..6be0ea6 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index ab65dce..8757de6 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 8080772..73847b1 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 5b2df8f..30bab9f 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index e76f162..3f77da0 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index ffeba72..8bf8e43 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-m68k-binutils.changes +++ b/cross-m68k-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 4f3835e..2d265c4 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index ef353ac..6f6711c 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 86d2794..dcbc12f 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 82c7fdf..355474c 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-ppc64le-binutils.changes +++ b/cross-ppc64le-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index 0779059..c9b8567 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index ac4e043..acdc090 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 0495a34..0f4f9b8 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 6d7ebd6..54b22cb 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 1878549..f3c3da0 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index a47f1f5..33be966 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -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 ad031a3..b46973c 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + ------------------------------------------------------------------- Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 72648b0..abb8ff9 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -102,6 +102,7 @@ Patch22: binutils-bfd_h.patch Patch23: pie-m68k.patch Patch24: binutils-2.24-auto-plugin.diff Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.diff Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch93: cross-avr-size.patch @@ -175,6 +176,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch26 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90