From 5c7c80a60e60f91f4f97148297b06de08a92a730 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Jul 24 2007 19:50:11 +0000 Subject: 2.17.50.0.17-5 --- diff --git a/binutils-2.17.50.0.17-build-id-script.patch b/binutils-2.17.50.0.17-build-id-script.patch new file mode 100644 index 0000000..35d10b4 --- /dev/null +++ b/binutils-2.17.50.0.17-build-id-script.patch @@ -0,0 +1,14 @@ +2007-07-24 Jakub Jelinek + + * 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) } diff --git a/binutils.spec b/binutils.spec index da5b953..8c109ce 100644 --- a/binutils.spec +++ b/binutils.spec @@ -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 2.17.50.0.17-5 +- add .note.gnu.build-id into default linker script (#249435) + * Tue Jul 25 2007 Jakub Jelinek 2.17.50.0.17-4 - don't kill the %%{_gnu} part of target name on arm (Lennert Buytenhek, #243516)