Import fix for ld/14189. (#829311)
This commit is contained in:
parent
de3f00e4ec
commit
0dfc6cabe1
20
binutils-2.22.52.0.4-arm-plt-refcount.patch
Normal file
20
binutils-2.22.52.0.4-arm-plt-refcount.patch
Normal file
@ -0,0 +1,20 @@
|
||||
*** ../binutils-2.22.52.0.4.orig/bfd/elf32-arm.c 2012-06-29 13:29:04.526090731 +0100
|
||||
--- bfd/elf32-arm.c 2012-06-29 13:29:35.977091603 +0100
|
||||
*************** elf32_arm_check_relocs (bfd *abfd, struc
|
||||
*** 12629,12635 ****
|
||||
|
||||
/* If the symbol is a function that doesn't bind locally,
|
||||
this relocation will need a PLT entry. */
|
||||
! root_plt->refcount += 1;
|
||||
|
||||
if (!call_reloc_p)
|
||||
arm_plt->noncall_refcount++;
|
||||
--- 12629,12636 ----
|
||||
|
||||
/* If the symbol is a function that doesn't bind locally,
|
||||
this relocation will need a PLT entry. */
|
||||
! if (root_plt->refcount != -1)
|
||||
! root_plt->refcount += 1;
|
||||
|
||||
if (!call_reloc_p)
|
||||
arm_plt->noncall_refcount++;
|
@ -17,7 +17,7 @@
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: %{?cross}binutils%{?_with_debug:-debug}
|
||||
Version: 2.22.52.0.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Development/Tools
|
||||
URL: http://sources.redhat.com/binutils
|
||||
@ -40,8 +40,10 @@ Patch08: binutils-2.22.52.0.1-relro-on-by-default.patch
|
||||
Patch09: binutils-2.22.52.0.1-export-demangle.h.patch
|
||||
# Backport for https://fedoraproject.org/wiki/Features/DwarfCompressor
|
||||
Patch10: binutils-2.22.52.0.4-dwz.patch
|
||||
# Import of FSF PR #14302
|
||||
# Import of patch for FSF PR #14302
|
||||
Patch11: binutils-2.22.52.0.4-ar-4Gb.patch
|
||||
# Import of patch for FSF PR #14189
|
||||
Patch12: binutils-2.22.52.0.4-arm-plt-refcount.patch
|
||||
|
||||
%define gold_arches %ix86 x86_64
|
||||
|
||||
@ -145,6 +147,7 @@ using libelf instead of BFD.
|
||||
%patch09 -p0 -b .export-demangle-h~
|
||||
%patch10 -p0 -b .dwz~
|
||||
%patch11 -p0 -b .ar4Gb~
|
||||
%patch12 -p0 -b .arm-plt-refcount~
|
||||
|
||||
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
|
||||
|
||||
@ -439,6 +442,9 @@ exit 0
|
||||
%endif # %{isnative}
|
||||
|
||||
%changelog
|
||||
* Fri Jun 30 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.4-4
|
||||
- Import fix for ld/14189. (#829311)
|
||||
|
||||
* Fri Jun 30 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.4-3
|
||||
- Fix handling of archives > 4Gb in size by importing patch for PR binutils/14302. (#835957)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user