diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-03-06 20:15:56 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2012-03-06 20:15:56 +0000 |
commit | 3ce231f8e2a12502728fbebf0ddfaa690e986154 (patch) | |
tree | 13082375693281f9b8bc4e2052309f63fb55a51e /bfd | |
parent | c988ad8730c12b2b3b7c936e522152fe1fe188ad (diff) | |
download | gdb-3ce231f8e2a12502728fbebf0ddfaa690e986154.zip gdb-3ce231f8e2a12502728fbebf0ddfaa690e986154.tar.gz gdb-3ce231f8e2a12502728fbebf0ddfaa690e986154.tar.bz2 |
* elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE
set relocate to TRUE.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 195424a..4a951bb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +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. + 2012-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR ld/12152 diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 814736e..81ed866 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -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_bfd, /* 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 { |