aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/cgen.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fc9d9f8..289efe7 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-19 Catherine Moore <clm@cygnus.com>
+
+ * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
+
2000-05-18 Alan Modra <alan@linuxcare.com.au>
* config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
diff --git a/gas/cgen.h b/gas/cgen.h
index 2bc1732..f846760 100644
--- a/gas/cgen.h
+++ b/gas/cgen.h
@@ -26,7 +26,9 @@ extern CGEN_CPU_DESC gas_cgen_cpu_desc;
/* Maximum number of fixups in an insn.
If you need to change this, allow target to override and do so there. */
+#ifndef GAS_CGEN_MAX_FIXUPS
#define GAS_CGEN_MAX_FIXUPS 3
+#endif
/* Struct defining result of gas_cgen_finish_insn. */
typedef struct {