OSDN Git Service

bfd/
authorrsandifo <rsandifo>
Wed, 1 Apr 2009 19:53:52 +0000 (19:53 +0000)
committerrsandifo <rsandifo>
Wed, 1 Apr 2009 19:53:52 +0000 (19:53 +0000)
commit829ea45ddf6c1982c61dc898c2c4ea5b6bab1262
treef98e87e1a8d8a54850ad61472c5d94ceed9305b7
parent6fbecbb2c33659c8330214ce36ab7df0d331eb32
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