rpms/binutils/F-13 binutils-2.20.51.0.2-unique-archive-symbols.patch, NONE, 1.1 binutils.spec, 1.193, 1.194

Nicholas Clifton nickc at fedoraproject.org
Tue May 4 16:25:02 UTC 2010


Author: nickc

Update of /cvs/pkgs/rpms/binutils/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28632

Modified Files:
	binutils.spec 
Added Files:
	binutils-2.20.51.0.2-unique-archive-symbols.patch 
Log Message:
- Allow unique symbols in archive maps.


binutils-2.20.51.0.2-unique-archive-symbols.patch:
 ChangeLog |    9 +++++++++
 archive.c |    1 +
 2 files changed, 10 insertions(+)

--- NEW FILE binutils-2.20.51.0.2-unique-archive-symbols.patch ---
diff -rcp ../binutils-2.20.51.0.2-orignal/bfd/archive.c ./bfd/archive.c
*** ../binutils-2.20.51.0.2-orignal/bfd/archive.c	2010-05-04 16:59:09.000000000 +0100
--- ./bfd/archive.c	2010-05-04 17:00:33.000000000 +0100
*************** _bfd_compute_and_write_armap (bfd *arch,
*** 2145,2150 ****
--- 2145,2151 ----
  		  if ((flags & BSF_GLOBAL
  		       || flags & BSF_WEAK
  		       || flags & BSF_INDIRECT
+ 		       || flags & BSF_GNU_UNIQUE
  		       || bfd_is_com_section (sec))
  		      && ! bfd_is_und_section (sec))
  		    {
diff -rcp ../binutils-2.20.51.0.2-orignal/bfd/ChangeLog ./bfd/ChangeLog
*** ../binutils-2.20.51.0.2-orignal/bfd/ChangeLog	2010-05-04 16:59:09.000000000 +0100
--- ./bfd/ChangeLog	2010-05-04 17:09:38.000000000 +0100
***************
*** 1,3 ****
--- 1,12 ----
+ 2010-05-04  Nick Clifton  <nickc at redhat.com>
+ 
+ 	Import this patch:
+ 
+ 	010-03-18  Matt Rice  <ratmice at gmail.com>
+ 
+         * archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
+         as unique in the armap.
+ 
  2010-04-08  Nick Clifton  <nickc at redhat.com>
  
  	Import these patches from the mainline:


Index: binutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-13/binutils.spec,v
retrieving revision 1.193
retrieving revision 1.194
diff -u -p -r1.193 -r1.194
--- binutils.spec	8 Apr 2010 12:10:09 -0000	1.193
+++ binutils.spec	4 May 2010 16:25:02 -0000	1.194
@@ -17,7 +17,7 @@
 Summary: A GNU collection of binary utilities
 Name: %{?cross}binutils%{?_with_debug:-debug}
 Version: 2.20.51.0.2
-Release: 18%{?dist}
+Release: 19%{?dist}
 License: GPLv3+
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -41,6 +41,7 @@ Patch15: binutils-2.20.51.0.2-copy-osabi
 Patch16: binutils-2.20.51.0.2-do-not-set-ifunc.patch
 Patch17: binutils-2.20.51.0.2-do-not-bind-unique-symbols-locally.patch
 Patch18: binutils-2.20.51.0.2-dwarf4.patch
+Patch19: binutils-2.20.51.0.2-unique-archive-symbols.patch
 
 %define gold_arches %ix86 x86_64
 
@@ -151,6 +152,7 @@ libelf instead of BFD.
 %patch16 -p0 -b .no-ifunc~
 %patch17 -p0 -b .no-bind-unique~
 %patch18 -p0 -b .dwarf4~
+%patch19 -p0 -b .unique~
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -453,6 +455,9 @@ exit 0
 %endif # %{isnative}
 
 %changelog
+* Tue May   4 2010 Nick Clifton <nickc at redhat.com> - 2.20.51.0.2-19
+- Allow unique symbols in archive maps.
+
 * Thu Apr   8 2010 Nick Clifton <nickc at redhat.com> - 2.20.51.0.2-18
 - Do not allow unique symbols to be bound locally.  (PR ld/11434)
 - Add support for DWARF4 debug information.



More information about the scm-commits mailing list