2.17.50.0.17-7
This commit is contained in:
parent
28b22cdee1
commit
0cd9fdfce5
16
binutils-2.17.50.0.17-secure-plt.patch
Normal file
16
binutils-2.17.50.0.17-secure-plt.patch
Normal 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)
|
@ -1,7 +1,7 @@
|
||||
Summary: A GNU collection of binary utilities.
|
||||
Name: binutils
|
||||
Version: 2.17.50.0.17
|
||||
Release: 6
|
||||
Release: 7
|
||||
License: GPL
|
||||
Group: Development/Tools
|
||||
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
|
||||
Patch10: binutils-2.17.50.0.17-pt_note-coalescing.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
|
||||
BuildRequires: texinfo >= 4.0, dejagnu, gettext, flex, bison
|
||||
@ -73,6 +74,7 @@ to consider using libelf instead of BFD.
|
||||
%patch9 -p0 -b .build-id~
|
||||
%patch10 -p0 -b .pt_note-coalescing~
|
||||
%patch11 -p0 -b .build-id-script~
|
||||
%patch12 -p0 -b .secure-plt~
|
||||
|
||||
# On ppc64 we might use 64K pages
|
||||
sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c
|
||||
@ -223,6 +225,9 @@ fi
|
||||
%{_infodir}/bfd*info*
|
||||
|
||||
%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
|
||||
- rebuilt to make sure even libbfd.so and libopcodes.so aren't
|
||||
broken by #249435
|
||||
|
Loading…
Reference in New Issue
Block a user