Get ld -x -r to handle a.out set symbols correctly.
authorIan Lance Taylor <ian@airs.com>
Thu, 18 Aug 1994 21:48:23 +0000 (21:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 18 Aug 1994 21:48:23 +0000 (21:48 +0000)
commitf4945271925a907e49f0d0a0b2ef8a9eab3998a2
tree2865c303cbf2def295fdb05ee6d3c56257c1f81c
parent78425afef66700a17c85ad070c503877402636a3
Get ld -x -r to handle a.out set symbols correctly.
* aoutx.h (adjust_o_magic): If the .bss VMA was set outside of
BFD, pad the .data section up to the VMA of the .bss section.
(aout_link_add_symbols): If a set symbol does not get modified,
treat it as a local symbol.
(aout_link_write_symbols): Set the value of set symbols
correctly.  Don't discard set symbols even if discarding local
symbols.
(aout_link_write_other_symbol): Don't abort on bfd_link_hash_new,
since it can now happen for set symbols.
bfd/ChangeLog
bfd/aoutx.h