MIPS/BFD: Do not redirect to discarded lazy binding stubs
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index c33b276ceff665518937c60dfcc1fd836954f34a..990e3a1e551c19a321ee64c24de3b6a1bf4965d4 100644 (file)
@@ -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++;
This page took 0.025211 seconds and 4 git commands to generate.