2.17.50.0.17-5

This commit is contained in:
Jakub Jelinek 2007-07-24 19:50:11 +00:00
parent 7068422324
commit 5c7c80a60e
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,14 @@
2007-07-24 Jakub Jelinek <jakub@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) }

View File

@ -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 @@ Patch7: binutils-2.17.50.0.17-symbolic-envvar-revert.patch
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 @@ to consider using libelf instead of BFD.
%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 @@ fi
%{_infodir}/bfd*info*
%changelog
* Tue Jul 25 2007 Jakub Jelinek <jakub@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@redhat.com> 2.17.50.0.17-4
- don't kill the %%{_gnu} part of target name on arm
(Lennert Buytenhek, #243516)