* ldemul.h (ldemul_open_dynamic_archive): Add search parameter to
authorIan Lance Taylor <ian@airs.com>
Wed, 12 Jul 1995 15:37:12 +0000 (15:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 12 Jul 1995 15:37:12 +0000 (15:37 +0000)
commit395ccfce2105077efa9a951804f37ef707d74db1
tree665b37b145a0618d3a3b755227867db08f62b106
parente4f35679a9f4c98a2f5450c593d58a19d34e5408
* ldemul.h (ldemul_open_dynamic_archive): Add search parameter to
declaration.
(ld_emulation_xfer_type): Add search parameter to
open_dynamic_archive entry point.
* ldemul.c (ldemul_open_dynamic_archive): Add search parameter.
* ldfile.c (ldfile_try_open_bfd): Rename from try_open_bfd, and
make non-static.  Change all callers to use new name.
(ldfile_open_file_search): Make static.  If entry is dynamic, call
ldemul_open_dynamic_archive.
(ldfile_open_file): Don't call ldemul_open_dynamic_archive.
* ldfile.h (ldfile_open_file_search): Don't declare.
(ldfile_try_open_bfd): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
Accept search parameter.  Don't search for a library, just look in
a single place.
* emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
Likewise.
ld/ChangeLog
ld/ldfile.c