* libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdr
authorIan Lance Taylor <ian@airs.com>
Thu, 21 Apr 1994 16:13:01 +0000 (16:13 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 21 Apr 1994 16:13:01 +0000 (16:13 +0000)
commit6c534df0c9f1b653b392984d1757c2732492ba34
treea23c27ab83dfc9e9870d9f6940a4dd4327a74dc9
parent1f573a795dfcc69b66a3a1542b56ca99fd4816e7
* libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdr
field.
(nlm_cygnus_section_header): New accessor macro.
* nlmcode.h (nlm_object_p): Free new tdata structure if failure.
Add fixed sections before swapping in auxiliary headers.  After
adding sections, treat errors as real, not as wrong format.
(nlm_swap_auxiliary_headers_in): Swap in the sections header; add
sections to the BFD for each section it describes.
(nlm_swap_auxiliary_headers_out): Swap out the sections header.
(nlm_compute_section_file_positions): Account for the size of the
sections header.
bfd/ChangeLog
bfd/libnlm.h
bfd/nlmcode.h