diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elfnn-loongarch.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c index db6d419..71fa8fa 100644 --- a/bfd/elfnn-loongarch.c +++ b/bfd/elfnn-loongarch.c @@ -157,9 +157,7 @@ loongarch_elf_new_section_hook (bfd *abfd, asection *sec) /* Get the LoongArch ELF linker hash table from a link_info structure. */ #define loongarch_elf_hash_table(p) \ - (elf_hash_table_id (elf_hash_table (p)) == LARCH_ELF_DATA \ - ? ((struct loongarch_elf_link_hash_table *) ((p)->hash)) \ - : NULL) + ((struct loongarch_elf_link_hash_table *) ((p)->hash)) \ #define MINUS_ONE ((bfd_vma) 0 - 1) |