diff options
Diffstat (limited to 'bfd/elf32-lm32.c')
-rw-r--r-- | bfd/elf32-lm32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-lm32.c b/bfd/elf32-lm32.c index 8d530a4..f40536c 100644 --- a/bfd/elf32-lm32.c +++ b/bfd/elf32-lm32.c @@ -1745,8 +1745,7 @@ lm32_elf_finish_dynamic_symbol (bfd *output_bfd, } /* Mark some specially defined symbols as absolute. */ - if (strcmp (h->root.root.string, "_DYNAMIC") == 0 - || h == htab->root.hgot) + if (h == htab->root.hdynamic || h == htab->root.hgot) sym->st_shndx = SHN_ABS; return TRUE; |