* elf64-x86-64.c (elf_x86_64_relocate_section): For R_X86_64_RELATIVE
authorJakub Jelinek <jakub@redhat.com>
Tue, 6 Mar 2012 20:15:56 +0000 (20:15 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 6 Mar 2012 20:15:56 +0000 (20:15 +0000)
set relocate to TRUE.

bfd/ChangeLog
bfd/elf64-x86-64.c

index 195424ac0d7e4a3d5459d6b60c74087a94d310c9..4a951bb797d9cf006c3c06ecc46c60fc98099687 100644 (file)
@@ -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
index 814736e221d1cd0026f49ea349ea90bd87f50cbd..81ed8660a248dd505d2207ee4737e72bc2c70932 100644 (file)
@@ -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
                    {
This page took 0.027996 seconds and 4 git commands to generate.