X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf64-sh64.c;h=f76e91676e815370f91ae7c162873032ba2932ed;hb=22edb2f16480aef5e060ad021199c3086300a4f5;hp=d9154783094b195eeff219d629022021a792275e;hpb=691342f948aa4f8c4f4e039669276faf753a36b4;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c index d915478309..f76e91676e 100644 --- a/bfd/elf64-sh64.c +++ b/bfd/elf64-sh64.c @@ -3889,7 +3889,7 @@ sh64_elf64_finish_dynamic_symbol (bfd *output_bfd, /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute. */ if (strcmp (h->root.root.string, "_DYNAMIC") == 0 - || strcmp (h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0) + || h == elf_hash_table (info)->hgot) sym->st_shndx = SHN_ABS; return TRUE;