* xcofflink.c (xcoff_link_add_symbols): Rename local variable sub
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 21:20:41 +0000 (21:20 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Nov 1995 21:20:41 +0000 (21:20 +0000)
commit583db7a8e1be65ff508be7bba80913a5ce226e04
tree9b00639ebf892644199e62fc92a661b9a3f176a7
parentfa0c23ebb0033e26c23558645eda0f5a633bece6
* xcofflink.c (xcoff_link_add_symbols): Rename local variable sub
to o.  Clobber and restore the list of new csects around the call
to _bfd_generic_link_add_one_symbol, in case it wants to report a
linker error and the linker wants to read the symbol table.  Reset
the line number count of a real section even if it has no relocs.
(_bfd_xcoff_bfd_final_link): If shared, set the DYNAMIC flag.
bfd/ChangeLog
bfd/xcofflink.c