X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felfxx-mips.c;h=990e3a1e551c19a321ee64c24de3b6a1bf4965d4;hb=4b8377e7dbd9e53149268685ba4810a7b09fb0cb;hp=c33b276ceff665518937c60dfcc1fd836954f34a;hpb=055303e28f70880f7b2c3e44df0ba7646fc85cf8;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index c33b276cef..990e3a1e55 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -9043,7 +9043,8 @@ _bfd_mips_elf_adjust_dynamic_symbol (struct bfd_link_info *info, the symbol to the stub location. This is required to make function pointers compare as equal between the normal executable and the shared library. */ - if (!h->def_regular) + if (!h->def_regular + && !bfd_is_abs_section (htab->sstubs->output_section)) { hmips->needs_lazy_stub = TRUE; htab->lazy_stub_count++;