diff options
-rw-r--r-- | bfd/elfnn-loongarch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elfnn-loongarch.c b/bfd/elfnn-loongarch.c index aa88ee8..87eb65a 100644 --- a/bfd/elfnn-loongarch.c +++ b/bfd/elfnn-loongarch.c @@ -3993,8 +3993,7 @@ loongarch_elf_relax_section (bfd *abfd, asection *sec, else continue; - if (h && bfd_link_executable (info) - && SYMBOL_REFERENCES_LOCAL (info, h)) + if (h && SYMBOL_REFERENCES_LOCAL (info, h)) local_got = true; symtype = h->type; } |