rpms/binutils/devel binutils-2.17.50.0.17-build-id-script.patch, NONE, 1.1 binutils.spec, 1.120, 1.121

Jakub Jelinek (jakub) fedora-extras-commits at redhat.com
Tue Jul 24 19:50:43 UTC 2007


Author: jakub

Update of /cvs/pkgs/rpms/binutils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19272

Modified Files:
	binutils.spec 
Added Files:
	binutils-2.17.50.0.17-build-id-script.patch 
Log Message:
2.17.50.0.17-5

binutils-2.17.50.0.17-build-id-script.patch:

--- NEW FILE binutils-2.17.50.0.17-build-id-script.patch ---
2007-07-24  Jakub Jelinek  <jakub at redhat.com>

	* scripttempl/elf.sc: Add .note.gnu.build-id.

--- ld/scripttempl/elf.sc.jj	2007-07-24 10:07:02.000000000 +0200
+++ ld/scripttempl/elf.sc	2007-07-24 21:44:35.000000000 +0200
@@ -267,6 +267,7 @@ SECTIONS
   ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
   ${CREATE_PIE+${RELOCATING+. = ${SHLIB_TEXT_START_ADDR:-0} + SIZEOF_HEADERS;}}
   ${INITIAL_READONLY_SECTIONS}
+  .note.gnu.build-id : { *(.note.gnu.build-id) }
   ${TEXT_DYNAMIC+${DYNAMIC}}
   .hash         ${RELOCATING-0} : { *(.hash) }
   .gnu.hash     ${RELOCATING-0} : { *(.gnu.hash) }


Index: binutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/binutils/devel/binutils.spec,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -r1.120 -r1.121
--- binutils.spec	24 Jul 2007 08:35:16 -0000	1.120
+++ binutils.spec	24 Jul 2007 19:50:11 -0000	1.121
@@ -1,7 +1,7 @@
 Summary: A GNU collection of binary utilities.
 Name: binutils
 Version: 2.17.50.0.17
-Release: 4
+Release: 5
 License: GPL
 Group: Development/Tools
 URL: http://sources.redhat.com/binutils
@@ -16,6 +16,7 @@
 Patch8: binutils-2.17.50.0.17-version.patch
 Patch9: binutils-2.17.50.0.17-build-id.patch
 Patch10: binutils-2.17.50.0.17-pt_note-coalescing.patch
+Patch11: binutils-2.17.50.0.17-build-id-script.patch
 
 Buildroot: %{_tmppath}/binutils-root
 BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
@@ -71,6 +72,7 @@
 %patch8 -p0 -b .version~
 %patch9 -p0 -b .build-id~
 %patch10 -p0 -b .pt_note-coalescing~ 
+%patch11 -p0 -b .build-id-script~
 
 # On ppc64 we might use 64K pages
 sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
@@ -221,6 +223,9 @@
 %{_infodir}/bfd*info*
 
 %changelog
+* Tue Jul 25 2007 Jakub Jelinek <jakub at redhat.com> 2.17.50.0.17-5
+- add .note.gnu.build-id into default linker script (#249435)
+
 * Tue Jul 25 2007 Jakub Jelinek <jakub at redhat.com> 2.17.50.0.17-4
 - don't kill the %%{_gnu} part of target name on arm
   (Lennert Buytenhek, #243516)




More information about the fedora-extras-commits mailing list