diff options
Diffstat (limited to 'bfd/elf32-vax.c')
-rw-r--r-- | bfd/elf32-vax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-vax.c b/bfd/elf32-vax.c index 7a150ba7396..e0d059c0cb0 100644 --- a/bfd/elf32-vax.c +++ b/bfd/elf32-vax.c @@ -1954,7 +1954,7 @@ elf_vax_finish_dynamic_symbol (bfd *output_bfd, struct bfd_link_info *info, /* 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; |