binutils/binutils-2.22.52.0.1-x86_64-hidden-ifunc.patch

25 lines
801 B
Diff
Raw Normal View History

2012-03-07 08:49:23 +00:00
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
{