]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf64-s390.c
Add hdynamic to elf_link_hash_table for _DYNAMIC
[thirdparty/binutils-gdb.git] / bfd / elf64-s390.c
index 8512fc0700beae889d0ec4de30c45eed75333ac2..c8b57f46ace018e6e63ec2587893774512f0c925 100644 (file)
@@ -3506,7 +3506,7 @@ do_glob_dat:
     }
 
   /* Mark some specially defined symbols as absolute.  */
-  if (strcmp (h->root.root.string, "_DYNAMIC") == 0
+  if (h == htab->elf.hdynamic
       || h == htab->elf.hgot
       || h == htab->elf.hplt)
     sym->st_shndx = SHN_ABS;