diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-09-12 02:57:23 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-09-12 02:57:23 +0000 |
commit | 5b89e1a00cc55ed7cccd8b7385bbf4cb13d8fe1a (patch) | |
tree | 21fd71e90e2d5b14e83bc39613f1b9154bb442b7 /bfd | |
parent | 7b63ff76837b7f0c0c375b30ed9913a3c3bae8a5 (diff) | |
download | gdb-5b89e1a00cc55ed7cccd8b7385bbf4cb13d8fe1a.zip gdb-5b89e1a00cc55ed7cccd8b7385bbf4cb13d8fe1a.tar.gz gdb-5b89e1a00cc55ed7cccd8b7385bbf4cb13d8fe1a.tar.bz2 |
Get the new COFF linker code working for i386-lynx.
* cf-i386lynx.c: Remove #if 0 code.
(i386_lynxos_coff_object_p): Remove unused function.
(coff_bfd_link_add_symbols): Define.
(lynx_link_add_symbols): New static function.
* coffcode.h (coff_bfd_link_hash_table_create): If
coff_relocate_section is defined, only define this if not already
defined.
(coff_bfd_link_add_symbols, coff_bfd_final_link): Likewise.
* linker.c (_bfd_generic_final_link): Handle
bfd_indirect_link_order explicitly, rather than via
_bfd_default_link_order.
(set_symbol_from_hash): New static function, broken out of
_bfd_generic_link_write_global_symbol.
(_bfd_generic_link_write_global_symbol): Symbol setting code moved
to set_symbol_from_hash; call it.
(default_indirect_link_order): Add generic_linker argument.
Change all callers. If false, set the generic symbols based on
the hash table entries.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 011e3ff..80345a8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,25 @@ +Sun Sep 11 22:50:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * cf-i386lynx.c: Remove #if 0 code. + (i386_lynxos_coff_object_p): Remove unused function. + (coff_bfd_link_add_symbols): Define. + (lynx_link_add_symbols): New static function. + * coffcode.h (coff_bfd_link_hash_table_create): If + coff_relocate_section is defined, only define this if not already + defined. + (coff_bfd_link_add_symbols, coff_bfd_final_link): Likewise. + + * linker.c (_bfd_generic_final_link): Handle + bfd_indirect_link_order explicitly, rather than via + _bfd_default_link_order. + (set_symbol_from_hash): New static function, broken out of + _bfd_generic_link_write_global_symbol. + (_bfd_generic_link_write_global_symbol): Symbol setting code moved + to set_symbol_from_hash; call it. + (default_indirect_link_order): Add generic_linker argument. + Change all callers. If false, set the generic symbols based on + the hash table entries. + Fri Sep 9 11:51:49 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) * coffgen.c (coff_get_symtab): Reindented. Removed commented out |