summaryrefslogtreecommitdiffstats
path: root/binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch')
-rw-r--r--binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch b/binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch
new file mode 100644
index 0000000..5c37681
--- /dev/null
+++ b/binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch
@@ -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
+ {