* cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
authorCatherine Moore <clm@redhat.com>
Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)
committerCatherine Moore <clm@redhat.com>
Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)
gas/ChangeLog
gas/cgen.h

index fc9d9f8..289efe7 100644 (file)
@@ -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
index 2bc1732..f846760 100644 (file)
@@ -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 {