* Finish basic read-write support for SOM archive libraries. Bugs
authorJeff Law <law@redhat.com>
Tue, 15 Feb 1994 07:05:04 +0000 (07:05 +0000)
committerJeff Law <law@redhat.com>
Tue, 15 Feb 1994 07:05:04 +0000 (07:05 +0000)
commit6e033f8639db0aab74ccf8059254b1dafefe40ea
tree4c50965f08c6faf56708f4092b6fe0fd0735001c
parentcaa0901f0051ddcbfd7cc47f2428c9f0d6a5d7fa
* Finish basic read-write support for SOM archive libraries.  Bugs
surely remain as this hasn't been tested all that much.
* som.c (SOM_LST_HASH_SIZE, SOM_LST_MODULE_LIMIT): Define.
(struct som_misc_symbol_info): New structure to hold info necessary
to build both normal and library symbol tables.
(som_derive_misc_symbol_info): New function to derive info necessary
to build both normal and library symbol tables.
(som_build_and_write_symbol_table): Use new function to derive misc
symbol information.
(som_slurp_symbol_table): Update backend private data for symbols
appropriately.
(som_bfd_prep_for_ar_write): New function.
(som_bfd_ar_symbol_hash): New function.
(som_bfd_ar_write_symbol_stuff): New function.
(som_write_armap): Flesh out.
(som_vec): Fix ar padding character.

* som.c: Consistently use memset rather than bzero.
bfd/ChangeLog
bfd/som.c