rpms/binutils/F-11 .cvsignore, 1.43, 1.44 binutils-2.19.50.0.1-build-id.patch, 1.1, 1.2 binutils-2.19.50.0.1-symbolic-envvar-revert.patch, 1.2, 1.3 binutils.spec, 1.161, 1.162 sources, 1.43, 1.44 binutils-2.19.50.0.1-gcc_except_table.patch, 1.1, NONE binutils-2.19.51.0.2-IBM.patch, 1.1, NONE binutils-2.19.51.0.2-ifunc.patch, 1.2, NONE binutils-2.19.51.0.2-orphan-section-placement.patch, 1.1, NONE

Nicholas Clifton nickc at fedoraproject.org
Mon Jul 27 10:08:11 UTC 2009


Author: nickc

Update of /cvs/pkgs/rpms/binutils/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11380

Modified Files:
	.cvsignore binutils-2.19.50.0.1-build-id.patch 
	binutils-2.19.50.0.1-symbolic-envvar-revert.patch 
	binutils.spec sources 
Removed Files:
	binutils-2.19.50.0.1-gcc_except_table.patch 
	binutils-2.19.51.0.2-IBM.patch 
	binutils-2.19.51.0.2-ifunc.patch 
	binutils-2.19.51.0.2-orphan-section-placement.patch 
Log Message:
Rebase on 2.19.51.0.14 source tarball.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-11/.cvsignore,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- .cvsignore	5 Feb 2009 16:21:55 -0000	1.43
+++ .cvsignore	27 Jul 2009 10:08:09 -0000	1.44
@@ -1 +1 @@
-binutils-2.19.51.0.2.tar.bz2
+binutils-2.19.51.0.14.tar.bz2

binutils-2.19.50.0.1-build-id.patch:
 elfcode.h |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Index: binutils-2.19.50.0.1-build-id.patch
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-11/binutils-2.19.50.0.1-build-id.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- binutils-2.19.50.0.1-build-id.patch	29 Nov 2008 07:54:12 -0000	1.1
+++ binutils-2.19.50.0.1-build-id.patch	27 Jul 2009 10:08:09 -0000	1.2
@@ -1,6 +1,7 @@
---- ../binutils-2.19.50.0.1.orig/bfd/elfcode.h	2008-11-26 09:29:54.000000000 +0000
-+++ ./bfd/elfcode.h	2008-11-26 12:01:37.000000000 +0000
-@@ -1170,6 +1170,19 @@ elf_checksum_contents (bfd *abfd,
+diff -rup ../binutils-2.19.51.0.11.orig/bfd/elfcode.h bfd/elfcode.h
+--- ../binutils-2.19.51.0.11.orig/bfd/elfcode.h	2009-07-14 11:23:27.000000000 +0100
++++ bfd/elfcode.h	2009-07-14 11:33:56.000000000 +0100
+@@ -1170,6 +1170,24 @@ elf_checksum_contents (bfd *abfd,
  
        if (i_shdr.contents)
  	(*process) (i_shdr.contents, i_shdr.sh_size, arg);
@@ -12,7 +13,12 @@
 +	  if (sec != NULL)
 +	    {
 +	      if (sec->contents == NULL)
-+		bfd_malloc_and_get_section (abfd, sec, & sec->contents);
++		{
++		  /* Force rereading from file.  */
++		  sec->flags &= ~SEC_IN_MEMORY;
++		  if (! bfd_malloc_and_get_section (abfd, sec, & sec->contents))
++		    continue;
++		}
 +	      if (sec->contents != NULL)
 +		(*process) (sec->contents, i_shdr.sh_size, arg);
 +	    }

binutils-2.19.50.0.1-symbolic-envvar-revert.patch:
 NEWS       |    5 -----
 ld.texinfo |   16 +++-------------
 ldmain.c   |    8 --------
 3 files changed, 3 insertions(+), 26 deletions(-)

Index: binutils-2.19.50.0.1-symbolic-envvar-revert.patch
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-11/binutils-2.19.50.0.1-symbolic-envvar-revert.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- binutils-2.19.50.0.1-symbolic-envvar-revert.patch	23 Feb 2009 15:24:14 -0000	1.2
+++ binutils-2.19.50.0.1-symbolic-envvar-revert.patch	27 Jul 2009 10:08:09 -0000	1.3
@@ -1,24 +1,37 @@
-It reverts the H.J. Lu's binutils custom patch.
-
-Index: ld/NEWS
-===================================================================
---- ld/NEWS.orig	2009-02-04 19:21:50.000000000 +0100
-+++ ld/NEWS	2009-02-23 16:18:35.000000000 +0100
-@@ -26,9 +26,6 @@
-   For the switch --enable-runtime-pseudo-reloc it uses for 32-bit
-   runtime pseudo relocation version one, for 64-bit the version two.
+diff -rup ../binutils-2.19.51.0.10.orig/ld/ldmain.c ./ld/ldmain.c
+--- ../binutils-2.19.51.0.10.orig/ld/ldmain.c	2009-06-22 15:56:54.000000000 +0100
++++ ./ld/ldmain.c	2009-06-22 16:05:54.000000000 +0100
+@@ -256,14 +256,6 @@ main (int argc, char **argv)
+   command_line.warn_search_mismatch = TRUE;
+   command_line.check_section_addresses = -1;
  
--* ELF: Support environment variables, LD_SYMBOLIC for -Bsymbolic and
--  LD_SYMBOLIC_FUNCTIONS for -Bsymbolic-functions.
+-  if (getenv ("LD_SYMBOLIC") != NULL)
+-    command_line.symbolic = symbolic;
+-  else if (getenv ("LD_SYMBOLIC_FUNCTIONS") != NULL)
+-    command_line.symbolic = symbolic_functions;
 -
- Changes in 2.19:
+-  if (getenv ("LD_AS_NEEDED") != NULL)
+-    as_needed = TRUE;
+-
+   /* We initialize DEMANGLING based on the environment variable
+      COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the
+      output of the linker, unless COLLECT_NO_DEMANGLE is set in the
+diff -rup ../binutils-2.19.51.0.10.orig/ld/ld.texinfo ./ld/ld.texinfo
+--- ../binutils-2.19.51.0.10.orig/ld/ld.texinfo	2009-06-22 15:56:53.000000000 +0100
++++ ./ld/ld.texinfo	2009-06-22 16:05:42.000000000 +0100
+@@ -1118,10 +1118,7 @@ for a library that satisfies a symbol re
+ which is undefined at the point that the library was linked, or, if
+ the library is not found in the DT_NEEDED lists of other libraries
+ linked up to that point, a reference from another dynamic library.
+- at option{--no-as-needed} restores the default behaviour.  If the
+-environment variable @code{LD_AS_NEEDED} is set, the linker will
+-behave as if the @option{--as-needed} option is passed to the linker as
+-the first command line option.
++ at option{--no-as-needed} restores the default behaviour.
  
- * Linker scripts support a new INSERT command that makes it easier to
-Index: ld/ld.texinfo
-===================================================================
---- ld/ld.texinfo.orig	2009-02-04 19:21:50.000000000 +0100
-+++ ld/ld.texinfo	2009-02-23 16:18:06.000000000 +0100
-@@ -1163,21 +1163,14 @@ When creating a shared library, bind ref
+ @kindex --add-needed
+ @kindex --no-add-needed
+@@ -1185,21 +1182,14 @@ When creating a shared library, bind ref
  definition within the shared library, if any.  Normally, it is possible
  for a program linked against a shared library to override the definition
  within the shared library.  This option is only meaningful on ELF
@@ -42,19 +55,18 @@ Index: ld/ld.texinfo
  
  @kindex --dynamic-list=@var{dynamic-list-file}
  @item --dynamic-list=@var{dynamic-list-file}
-Index: ld/ldmain.c
-===================================================================
---- ld/ldmain.c.orig	2009-02-04 19:21:50.000000000 +0100
-+++ ld/ldmain.c	2009-02-23 16:19:01.000000000 +0100
-@@ -256,11 +256,6 @@ main (int argc, char **argv)
-   command_line.warn_search_mismatch = TRUE;
-   command_line.check_section_addresses = -1;
+diff -rup ../binutils-2.19.51.0.10.orig/ld/NEWS ./ld/NEWS
+--- ../binutils-2.19.51.0.10.orig/ld/NEWS	2009-06-22 15:56:54.000000000 +0100
++++ ./ld/NEWS	2009-06-22 16:04:15.000000000 +0100
+@@ -55,11 +55,6 @@
+   For the switch --enable-runtime-pseudo-reloc it uses for 32-bit
+   runtime pseudo relocation version one, for 64-bit the version two.
  
--  if (getenv ("LD_SYMBOLIC") != NULL)
--    command_line.symbolic = symbolic;
--  else if (getenv ("LD_SYMBOLIC_FUNCTIONS") != NULL)
--    command_line.symbolic = symbolic_functions;
+-* ELF: Support environment variable LD_AS_NEEDED for --as-needed.
 -
-   /* We initialize DEMANGLING based on the environment variable
-      COLLECT_NO_DEMANGLE.  The gcc collect2 program will demangle the
-      output of the linker, unless COLLECT_NO_DEMANGLE is set in the
+-* ELF: Support environment variables, LD_SYMBOLIC for -Bsymbolic and
+-  LD_SYMBOLIC_FUNCTIONS for -Bsymbolic-functions.
+-
+ Changes in 2.19:
+ 
+ * Linker scripts support a new INSERT command that makes it easier to


Index: binutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-11/binutils.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -p -r1.161 -r1.162
--- binutils.spec	17 Jul 2009 10:57:38 -0000	1.161
+++ binutils.spec	27 Jul 2009 10:08:09 -0000	1.162
@@ -16,8 +16,8 @@
 
 Summary: A GNU collection of binary utilities
 Name: %{?cross}binutils%{?_with_debug:-debug}
-Version: 2.19.51.0.2
-Release: 18%{?dist}
+Version: 2.19.51.0.14
+Release: 1%{?dist}
 License: GPLv3+
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -30,9 +30,6 @@ Patch04: binutils-2.19.50.0.1-symbolic-e
 Patch05: binutils-2.19.50.0.1-version.patch
 Patch06: binutils-2.19.50.0.1-set-long-long.patch
 Patch07: binutils-2.19.50.0.1-build-id.patch
-Patch08: binutils-2.19.51.0.2-ifunc.patch
-Patch09: binutils-2.19.51.0.2-IBM.patch
-Patch10: binutils-2.19.51.0.2-orphan-section-placement.patch
 
 %if 0%{?_with_debug:1}
 # Define this if you want to skip the strip step and preserve debug info.
@@ -103,9 +100,6 @@ to consider using libelf instead of BFD.
 %patch05 -p0 -b .version~
 %patch06 -p0 -b .set-long-long~
 %patch07 -p0 -b .build-id~
-%patch08 -p1 -b .ifunc~
-%patch09 -p0 -b .IBM~
-%patch10 -p0 -b .oprphan-section-placement~
 
 # We cannot run autotools as there is an exact requirement of autoconf-2.59.
 
@@ -349,6 +343,9 @@ fi
 %endif # %{isnative}
 
 %changelog
+* Mon Jul 27 2009 Nick Clifton <nickc at redhat.com> 2.19.51.0.14-1
+- Rebase on 2.19.51.0.14 source tarball.
+
 * Fri Jul 17 2009 Nick Clifton <nickc at redhat.com> 2.19.51.0.2-18
 - Import orphan section placement patch from mainline.  (BZ 510384).
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/F-11/sources,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- sources	5 Feb 2009 16:21:55 -0000	1.43
+++ sources	27 Jul 2009 10:08:09 -0000	1.44
@@ -1 +1 @@
-2b019d9f3c46a5bb775b42ab55f199cc  binutils-2.19.51.0.2.tar.bz2
+e0b485a3ff9392da1351dc3fb61a3d10  binutils-2.19.51.0.14.tar.bz2


--- binutils-2.19.50.0.1-gcc_except_table.patch DELETED ---


--- binutils-2.19.51.0.2-IBM.patch DELETED ---


--- binutils-2.19.51.0.2-ifunc.patch DELETED ---


--- binutils-2.19.51.0.2-orphan-section-placement.patch DELETED ---




More information about the fedora-extras-commits mailing list