PR binutils/14662
[deliverable/binutils-gdb.git] / bfd / elf32-vax.c
index 6258d96097553d2805b7920aacf309415923bb14..3fbc2895700dbbc760acc37df6450343a340a433 100644 (file)
@@ -1908,7 +1908,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
+  if (h == elf_hash_table (info)->hdynamic
       || h == elf_hash_table (info)->hgot)
     sym->st_shndx = SHN_ABS;
 
This page took 0.023067 seconds and 4 git commands to generate.