summaryrefslogtreecommitdiffstats
path: root/gas/gasp.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-03 00:23:27 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-03 00:23:27 +0000
commit1af6dcd2bb59d35b0a2cd2e7898831e685bc043f (patch)
treebf73a37233b028c9d25765ca2dc8135451ed2a73 /gas/gasp.c
parent54d22525bbb6adc042a0005dfeb8a567db25865b (diff)
downloadppe42-binutils-1af6dcd2bb59d35b0a2cd2e7898831e685bc043f.tar.gz
ppe42-binutils-1af6dcd2bb59d35b0a2cd2e7898831e685bc043f.zip
* gasp.c (chunksize): New variable.
* macro.c (macro_expand_body): Call hash_jam with NULL rather than hash_delete .CVS: ----------------------------------------------------------------------
Diffstat (limited to 'gas/gasp.c')
-rw-r--r--gas/gasp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/gasp.c b/gas/gasp.c
index fbb65e31b4..d8b98b32ba 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -76,6 +76,11 @@ char *program_version = "1.2";
it. */
extern void as_abort PARAMS ((const char *, int, const char *));
+/* The default obstack chunk size. If we set this to zero, the
+ obstack code will use whatever will fit in a 4096 byte block. This
+ is used by the hash table code used by macro.c. */
+int chunksize = 0;
+
#define MAX_INCLUDES 30 /* Maximum include depth */
#define MAX_REASONABLE 1000 /* Maximum number of expansions */
OpenPOWER on IntegriCloud