forked from pool/binutils
Accepting request 183973 from home:Andreas_Schwab:Factory
- warning-symbol-sections.patch: don't clobber warning sections from shared libraries OBS-URL: https://build.opensuse.org/request/show/183973 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=137
This commit is contained in:
parent
5693a71233
commit
b914186841
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -96,6 +96,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -170,6 +171,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de
|
||||
|
||||
- warning-symbol-sections.patch: don't clobber warning sections from
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de
|
||||
|
||||
|
@ -99,6 +99,7 @@ Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch21: binutils-2.22-objalloc.patch
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch23: warning-symbol-sections.patch
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch101: aarch64-biarch.patch
|
||||
@ -173,6 +174,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch18
|
||||
%patch21
|
||||
%patch22
|
||||
%patch23 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
%patch103 -p1
|
||||
|
20
warning-symbol-sections.patch
Normal file
20
warning-symbol-sections.patch
Normal file
@ -0,0 +1,20 @@
|
||||
2013-07-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR ld/15762
|
||||
PR ld/12761
|
||||
* elflink.c (elf_link_add_object_symbols): Don't clobber
|
||||
.gnu.warning.symbol sections when shared.
|
||||
|
||||
Index: binutils-2.23.2/bfd/elflink.c
|
||||
===================================================================
|
||||
--- binutils-2.23.2.orig/bfd/elflink.c
|
||||
+++ binutils-2.23.2/bfd/elflink.c
|
||||
@@ -3468,7 +3468,7 @@ elf_link_add_object_symbols (bfd *abfd,
|
||||
FALSE, bed->collect, NULL)))
|
||||
goto error_return;
|
||||
|
||||
- if (! info->relocatable)
|
||||
+ if (!info->relocatable && !info->shared)
|
||||
{
|
||||
/* Clobber the section size so that the warning does
|
||||
not get copied into the output file. */
|
Loading…
Reference in New Issue
Block a user