2.22.52.0.1-8

This commit is contained in:
Jakub Jelinek 2012-03-07 09:49:23 +01:00
parent 6b2ab95e10
commit f674c212db
3 changed files with 49205 additions and 1 deletions

49166
binutils-2.22.52.0.1-tsx.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,24 @@
2012-03-06 Jakub Jelinek <jakub@redhat.com>
* elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE
set relocate to TRUE.
--- bfd/elf64-x86-64.c.jj 2012-02-08 22:12:43.000000000 +0100
+++ bfd/elf64-x86-64.c 2012-03-06 09:52:16.760752214 +0100
@@ -1,6 +1,6 @@
/* X86-64 specific support for ELF
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
- 2010, 2011
+ 2010, 2011, 2012
Free Software Foundation, Inc.
Contributed by Jan Hubicka <jh@suse.cz>.
@@ -3178,7 +3178,7 @@ elf_x86_64_relocate_section (bfd *output
/* This symbol is resolved locally. */
outrel.r_info = htab->r_info (0, R_X86_64_RELATIVE);
outrel.r_addend = relocation;
- relocate = FALSE;
+ relocate = TRUE;
}
else
{

View File

@ -17,7 +17,7 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.22.52.0.1
Release: 7%{?dist}
Release: 8%{?dist}
License: GPLv3+
Group: Development/Tools
URL: http://sources.redhat.com/binutils
@ -43,6 +43,10 @@ Patch09: binutils-2.22.52.0.1-ld-13621.patch
Patch10: binutils-rh797752.patch
# Enable -zrelro by default: BZ #621983
Patch11: binutils-2.22.52.0.1-relro-on-by-default.patch
# From upstream
Patch12: binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch
# From upstream
Patch13: binutils-2.22.52.0.1-tsx.patch
%define gold_arches %ix86 x86_64
@ -143,7 +147,11 @@ using libelf instead of BFD.
%patch08 -p1 -b .weakdef~
%patch09 -p1 -b .ld-13621~
%patch10 -p1 -b .cxxfilt-docs~
%if 0%{?fedora} >= 18
%patch11 -p0 -b .relro~
%endif
%patch12 -p0 -b .x86_64-hidden-ifunc~
%patch13 -p0 -b .tsx~
# We cannot run autotools as there is an exact requirement of autoconf-2.59.
@ -438,8 +446,14 @@ exit 0
%endif # %{isnative}
%changelog
* Wed Mar 07 2012 Jakub Jelinek <jakub@redhat.com> - 2.22.52.0.1-8
- Fix up handling of hidden ifunc relocs on x86_64
- Add Intel TSX support
%if 0%{?fedora} >= 18
* Tue Mar 06 2012 Nick Clifton <nickc@redhat.com> - 2.22.52.0.1-7
- Enable -zrelro be default. (#621983)
%endif
* Mon Feb 27 2012 Jeff Law <law@redhat.com> - 2.22.52.0.1-6
- Fix c++filt docs (#797752)