daily update
[deliverable/binutils-gdb.git] / bfd / elf32-sh.c
index cbd00aa64043de5eef249b8d78a7f622f8d0fdd9..df4affd682d3beea5c6f7af73b47a44715da4a03 100644 (file)
@@ -7157,7 +7157,7 @@ sh_elf_finish_dynamic_symbol (bfd *output_bfd, struct bfd_link_info *info,
   /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute.  On VxWorks,
      _GLOBAL_OFFSET_TABLE_ 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.025655 seconds and 4 git commands to generate.