aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2000-05-19 21:36:14 +0000
committerCatherine Moore <clm@redhat.com>2000-05-19 21:36:14 +0000
commit7c3dc350c9a78a57329256e1638f493f88128996 (patch)
tree684203ffcecc0fb0f215d345c383cb43f4960077 /gas
parent4ab64e140e9a8ca62c84892512e6a10b9ca18563 (diff)
downloadgdb-7c3dc350c9a78a57329256e1638f493f88128996.zip
gdb-7c3dc350c9a78a57329256e1638f493f88128996.tar.gz
gdb-7c3dc350c9a78a57329256e1638f493f88128996.tar.bz2
* cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
Diffstat (limited to 'gas')
-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 {