Fix elf64-ppc.c electric fence warning
[deliverable/binutils-gdb.git] / bfd / linker.c
index c1a2e8232bcb9453261f08b8ffe05f441851a3d7..dec6d1d0ace372ebdb04662139ee16c6a09d4e49 100644 (file)
@@ -2896,7 +2896,7 @@ _bfd_handle_already_linked (asection *sec,
         files over IR because the first pass may contain a
         mix of LTO and normal objects and we must keep the
         first match, be it IR or real.  */
-      if (info->loading_lto_outputs
+      if (sec->owner->lto_output
          && (l->sec->owner->flags & BFD_PLUGIN) != 0)
        {
          l->sec = sec;
This page took 0.024049 seconds and 4 git commands to generate.