* xcofflink.c: Numerous changes to get closer to a working XCOFF
authorIan Lance Taylor <ian@airs.com>
Thu, 26 Oct 1995 18:25:13 +0000 (18:25 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 26 Oct 1995 18:25:13 +0000 (18:25 +0000)
commit867d923d18ef7eed7d016fdc04e8cf494d3c5db4
tree5a28d483a9744201ad00936f826b774ff6a82bed
parent328e5a48e87d75e0d0b63669c533025da6242a5e
* xcofflink.c: Numerous changes to get closer to a working XCOFF
linker.
* libcoff-in.h (struct xcoff_tdata): Add full_aouthdr,
toc_section, and entry_section fields.
(struct xcoff_section_tdata): Remove ldrel_count field.
* libcoff.h: Rebuild.
* coffcode.h (coff_mkobject_hook): Initialize new xcoff_data
fields.
(coff_compute_section_file_positions): If RS6000COFF_C, generate
full a.out header if full_aouthdr is set in xcoff_data.
(coff_write_object_contents): Likewise.  Set o_snentry and o_sntoc
based on sections stored in xcoff_data.
* coff-rs6000.c (xcoff_copy_private_bfd_data): Copy new xcoff_data
fields.
* coffgen.c (coff_get_symbol_info): If fix_value is set, fix the
value stored in ret rather than returning a pointer value.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coffcode.h
bfd/coffgen.c
bfd/libcoff-in.h
bfd/libcoff.h
bfd/xcofflink.c