bfd/
commit82150465b2e362456e66d00636461a3b29cc0a14
authorRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 1 Apr 2009 19:53:53 +0000 (1 19:53 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 1 Apr 2009 19:53:53 +0000 (1 19:53 +0000)
tree59a19fa55359c6ef09183887112325d5b1de6eea
parent9d9c5a5c8cfe8120ebcb6f484c1c732814fd5df6
bfd/
* bfd-in.h (bfd_xcoff_split_import_path): Declare.
(bfd_xcoff_set_archive_import_path): Likewise.
* bfd-in2.h: Regenerate.
* xcofflink.c: Include libiberty.h.
(xcoff_archive_info): New structure.
(xcoff_archive_info_hash): New function.
(xcoff_archive_info_eq): Likewise.
(xcoff_get_archive_info): Likewise.
(_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info.
(bfd_xcoff_split_import_path): New function.
(bfd_xcoff_set_archive_import_path): Likewise.
(xcoff_set_import_path): Move earlier in file.
(xcoff_link_add_dynamic_symbols): Set the import path of a non-archive
object to the the directory part of the bfd's filename.  Get the
import path and filename of an archive object from the archive's
xcoff_tdata, initializing it if necessary.  Update use of
import_file_id.
(bfd_link_input_bfd): Update use of import_file_id.
(xcoff_write_global_symbol): Likewise.

ld/
* emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
function.
(ld_${EMULATION_NAME}_emulation): Use it.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/xcofflink.c
ld/ChangeLog
ld/emultempl/aix.em