daily update
[deliverable/binutils-gdb.git] / bfd / elf32-arm.c
index a287fbbe562d06a5f096acfe84fdf2777bf10499..633bb648a768c8a95680476b61336383b2fb1436 100644 (file)
@@ -14003,7 +14003,7 @@ elf32_arm_finish_dynamic_symbol (bfd * output_bfd,
   /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute.  On VxWorks,
      the _GLOBAL_OFFSET_TABLE_ symbol is not absolute: it is relative
      to the ".got" section.  */
-  if (strcmp (h->root.root.string, "_DYNAMIC") == 0
+  if (h == htab->root.hdynamic
       || (!htab->vxworks_p && h == htab->root.hgot))
     sym->st_shndx = SHN_ABS;
 
This page took 0.026744 seconds and 4 git commands to generate.