mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
bother searching for needed libraries unless doing a final link.
This commit is contained in:
parent
e2eb48d6b3
commit
776f259038
@ -1,3 +1,8 @@
|
||||
Sat Oct 7 17:07:17 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
|
||||
bother searching for needed libraries unless doing a final link.
|
||||
|
||||
Fri Oct 6 16:26:16 1995 Ken Raeburn <raeburn@cygnus.com>
|
||||
|
||||
Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
|
@ -145,6 +145,10 @@ gld${EMULATION_NAME}_after_open ()
|
||||
{
|
||||
struct bfd_elf_link_needed_list *needed, *l;
|
||||
|
||||
/* We only need to worry about this when doing a final link. */
|
||||
if (link_info.relocateable || link_info.shared)
|
||||
return;
|
||||
|
||||
/* Get the list of files which appear in DT_NEEDED entries in
|
||||
dynamic objects included in the link (often there will be none).
|
||||
For each such file, we want to track down the corresponding
|
||||
|
Loading…
Reference in New Issue
Block a user