From 4c058cfbb7853618f2f17fb333f09799ab9d85c7 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 12 Apr 2005 08:42:41 +0000 Subject: * 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. --- gas/NEWS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gas/NEWS') diff --git a/gas/NEWS b/gas/NEWS index 816a2c417b..a95311f267 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,11 +1,15 @@ -*- text -*- +* Added --reduce-memory-overheads switch to reduce the size of the hash + tables used, at the expense of longer assembly times, and + --hash-size= to set the size of the hash tables used by gas. + * Macro names and macro parameter names can now be any identifier that would also be legal as a symbol elsewhere. For macro parameter names, this is known to cause problems in certain sources when the respective target uses characters inconsistently, and thus macro parameter references may no longer be recognized as such (see the documentation for details). - + * Support the .f_floating, .d_floating, .g_floating and .h_floating directives for the VAX target in order to be more compatible with the VAX MACRO assembler. -- cgit v1.2.1