diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-12 08:42:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-12 08:42:41 +0000 |
commit | 4bdd3565f140b0555071cea0d917a6e1e1e16d23 (patch) | |
tree | 3a11fa3961a9b46622ee2e5ad1dd2ddec7cc0427 /gas/ChangeLog | |
parent | f394e3dd2e2f699104a24e7ba2a486d2f2b79807 (diff) | |
download | gdb-4bdd3565f140b0555071cea0d917a6e1e1e16d23.zip gdb-4bdd3565f140b0555071cea0d917a6e1e1e16d23.tar.gz gdb-4bdd3565f140b0555071cea0d917a6e1e1e16d23.tar.bz2 |
* hash.c (DEFAULT_SIZE): Delete. Replace with:
(gas_hash_table_size): New static variable.
(set_gas_hash_table_size): New function: Records a requested size for the hash tables.
(get_gas_hash_table_size): New function: Return a prime number near the requested size of the hash table.
(hash_new): Use get_gas_hash_table_size.
* hash.h: Add a prototype for set_gas_hash_table_size.
* as.c (show_usage): Add description of new switches: --hash-size and --reduce-memory-overheads.
(option_values): Add OPTION_HASH_TABLE_SIZE and OPTION_REDUCE_MEMORY_OVERHEADS.
(std_longpopts): Add entries for the new options.
(parse_args): Handle the new options.
* Makefile.am: Add a dependency of as.c on hash.h.
* Makefile.in: Regenerate.
* doc/as.texinfo: Document the new switches.
* NEWS: Mention the new switches.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 174b084..d79bea3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,26 @@ 2005-04-12 Nick Clifton <nickc@redhat.com> + * hash.c (DEFAULT_SIZE): Delete. Replace with: + (gas_hash_table_size): New static variable. + (set_gas_hash_table_size): New function: Records a requested size + for the hash tables. + (get_gas_hash_table_size): New function: Return a prime number + near the requested size of the hash table. + (hash_new): Use get_gas_hash_table_size. + * hash.h: Add a prototype for set_gas_hash_table_size. + * as.c (show_usage): Add description of new switches: --hash-size + and --reduce-memory-overheads. + (option_values): Add OPTION_HASH_TABLE_SIZE and + OPTION_REDUCE_MEMORY_OVERHEADS. + (std_longpopts): Add entries for the new options. + (parse_args): Handle the new options. + * Makefile.am: Add a dependency of as.c on hash.h. + * Makefile.in: Regenerate. + * doc/as.texinfo: Document the new switches. + * NEWS: Mention the new switches. + +2005-04-12 Nick Clifton <nickc@redhat.com> + PR gas/818 * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3] synonyms. |