2.17.50.0.17-7

This commit is contained in:
Jakub Jelinek 2007-07-31 07:56:54 +00:00
parent 28b22cdee1
commit 0cd9fdfce5
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,16 @@
2007-06-27 Alan Modra <amodra@bigpond.net.au>
* elf32-ppc.c (ppc_elf_select_plt_layout): Properly iterate over
input bfds.
--- bfd/elf32-ppc.c.jj 2007-06-18 13:31:40.000000000 -0400
+++ bfd/elf32-ppc.c 2007-07-31 03:48:37.000000000 -0400
@@ -3703,7 +3703,7 @@ ppc_elf_select_plt_layout (bfd *output_b
--secure-plt and we never see REL16 relocs. */
if (plt_type == PLT_UNSET)
plt_type = PLT_OLD;
- for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->next)
+ for (ibfd = info->input_bfds; ibfd; ibfd = ibfd->link_next)
if (is_ppc_elf_target (ibfd->xvec))
{
if (ppc_elf_tdata (ibfd)->has_rel16)

View File

@ -1,7 +1,7 @@
Summary: A GNU collection of binary utilities. Summary: A GNU collection of binary utilities.
Name: binutils Name: binutils
Version: 2.17.50.0.17 Version: 2.17.50.0.17
Release: 6 Release: 7
License: GPL License: GPL
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
@ -17,6 +17,7 @@ Patch8: binutils-2.17.50.0.17-version.patch
Patch9: binutils-2.17.50.0.17-build-id.patch Patch9: binutils-2.17.50.0.17-build-id.patch
Patch10: binutils-2.17.50.0.17-pt_note-coalescing.patch Patch10: binutils-2.17.50.0.17-pt_note-coalescing.patch
Patch11: binutils-2.17.50.0.17-build-id-script.patch Patch11: binutils-2.17.50.0.17-build-id-script.patch
Patch12: binutils-2.17.50.0.17-secure-plt.patch
Buildroot: %{_tmppath}/binutils-root Buildroot: %{_tmppath}/binutils-root
BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
@ -73,6 +74,7 @@ to consider using libelf instead of BFD.
%patch9 -p0 -b .build-id~ %patch9 -p0 -b .build-id~
%patch10 -p0 -b .pt_note-coalescing~ %patch10 -p0 -b .pt_note-coalescing~
%patch11 -p0 -b .build-id-script~ %patch11 -p0 -b .build-id-script~
%patch12 -p0 -b .secure-plt~
# On ppc64 we might use 64K pages # On ppc64 we might use 64K pages
sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
@ -223,6 +225,9 @@ fi
%{_infodir}/bfd*info* %{_infodir}/bfd*info*
%changelog %changelog
* Tue Jul 31 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-7
- fix ppc32 secure PLT detection (Alan Modra)
* Wed Jul 25 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-6 * Wed Jul 25 2007 Jakub Jelinek <jakub@redhat.com> 2.17.50.0.17-6
- rebuilt to make sure even libbfd.so and libopcodes.so aren't - rebuilt to make sure even libbfd.so and libopcodes.so aren't
broken by #249435 broken by #249435