* wrstabs.c (struct string_hash_entry): Add next field.
authorIan Lance Taylor <ian@airs.com>
Fri, 23 Aug 1996 04:00:43 +0000 (04:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 23 Aug 1996 04:00:43 +0000 (04:00 +0000)
commit48d94633c6951bc3f842f965350ac316fc12c2cd
tree5d82fc5b967012bce05bc85db870e4c7966eb5fe
parentd8fc141a567700e51bbe75d157f33c6b7e4e0a70
* wrstabs.c (struct string_hash_entry): Add next field.
(struct stab_write_handle): Change strings to a pointer to
string_hash_entry.  Add last_strings field.  Remove strings_alloc
field.
(string_hash_newfunc): Initialize next field.
(stab_write_symbol): Copy string into hash table rather than into
buffer.  Keep a list of hash table entries.
(write_stabs_in_sections_debugging_info): Initialize last_string.
Copy strings from list of hash table entries in memory.
(stab_modify_type): If the entry on the stack is a definition,
make a new definition rather than failing an assert.
(stab_array_type): The size is only zero if high is strictly less
than low.
PR 10377.
binutils/ChangeLog