PR binutils/14567
[deliverable/binutils-gdb.git] / bfd / elf32-cris.c
index c9316ee1958ee7cc35784f128be62f24b6477faf..33afc63f169fff71a61c9f54281fa44f7caf62f5 100644 (file)
@@ -2288,7 +2288,7 @@ elf_cris_finish_dynamic_symbol (bfd *output_bfd,
     }
 
   /* 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.022681 seconds and 4 git commands to generate.