Add is_generic_elf to ld/ld-lib.exp
[deliverable/binutils-gdb.git] / ld / ldmisc.c
index 321db9a21c59f2d85b74c29a4365c8eb1d364256..5efff74feef0e7636b8c1f95065960e70c824c1d 100644 (file)
@@ -231,13 +231,13 @@ vfinfo (FILE *fp, const char *fmt, va_list arg, bfd_boolean is_warning)
                lang_input_statement_type *i;
 
                i = va_arg (arg, lang_input_statement_type *);
-               if (bfd_my_archive (i->the_bfd) != NULL
-                   && !bfd_is_thin_archive (bfd_my_archive (i->the_bfd)))
+               if (i->the_bfd->my_archive != NULL
+                   && !bfd_is_thin_archive (i->the_bfd->my_archive))
                  fprintf (fp, "(%s)",
-                          bfd_get_filename (bfd_my_archive (i->the_bfd)));
+                          bfd_get_filename (i->the_bfd->my_archive));
                fprintf (fp, "%s", i->local_sym_name);
-               if ((bfd_my_archive (i->the_bfd) == NULL
-                    || bfd_is_thin_archive (bfd_my_archive (i->the_bfd)))
+               if ((i->the_bfd->my_archive == NULL
+                    || bfd_is_thin_archive (i->the_bfd->my_archive))
                    && filename_cmp (i->local_sym_name, i->filename) != 0)
                  fprintf (fp, " (%s)", i->filename);
              }
This page took 0.028139 seconds and 4 git commands to generate.