Handle both AIX 3.2 and 4.1 bind output.
authorRichard M. Stallman <rms@gnu.org>
Thu, 7 Mar 1996 20:17:45 +0000 (20:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 7 Mar 1996 20:17:45 +0000 (20:17 +0000)
commit4a438fc5174459a044df208373a43e737c2c714b
tree7ef759b7ff2407cba5a20947134a697a3b109d2a
parente024a2f4ab5c253fe040d3fd2edf7be902e21823
Handle both AIX 3.2 and 4.1 bind output.

(make_hdr): Handle data_start being non-zero for 4.1.  Padding
sections are omitted in 4.1, but padding bytes can still be
present.  Calculate bias directly from first real section following bss.

(copy_text_and_data): Correct data section starting point for 4.1.

(adjust_lnnoptrs): Adjust line number pointers correctly for both
3.2 and 4.1, based on published IBM documentation.

(unrelocate_symbols): Compute and subtract relocation offsets for
text and data sections.  Handle data_start being non-zero for 4.1.
Skip unnecessary writes.
src/unexaix.c