Report failed attempts to locate DT_NEEDED files when --verbose is in effect.
* emultempl/elf32.em (_try_needed): In verbose mode, report failed attempts to find a needed library.
This commit is contained in:
parent
fa42dd2e83
commit
0ec22c2c9f
|
@ -1,3 +1,8 @@
|
||||||
|
2016-09-22 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (_try_needed): In verbose mode, report failed
|
||||||
|
attempts to find a needed library.
|
||||||
|
|
||||||
2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
|
2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
|
||||||
|
|
||||||
* testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
|
* testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
|
||||||
|
|
|
@ -337,7 +337,11 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
|
||||||
|
|
||||||
abfd = bfd_openr (name, bfd_get_target (link_info.output_bfd));
|
abfd = bfd_openr (name, bfd_get_target (link_info.output_bfd));
|
||||||
if (abfd == NULL)
|
if (abfd == NULL)
|
||||||
|
{
|
||||||
|
if (verbose)
|
||||||
|
info_msg (_("attempt to open %s failed\n"), name);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* Linker needs to decompress sections. */
|
/* Linker needs to decompress sections. */
|
||||||
abfd->flags |= BFD_DECOMPRESS;
|
abfd->flags |= BFD_DECOMPRESS;
|
||||||
|
|
Loading…
Reference in New Issue