From 2ff44f104ab8402072126287cea993bd36726830 Mon Sep 17 00:00:00 2001 From: Tom Wood Date: Sun, 27 Dec 1992 21:41:43 +0000 Subject: [PATCH] (OVERRIDE_OPTIONS): Allow version 04.00 default. (VERSION_0400_SYNTAX, REQUIRES_88110_ASM_OP): New definitions. From-SVN: r2930 --- gcc/config/m88k/m88k.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index 372161239a2..c2a9391b3d4 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -3,7 +3,7 @@ Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc. Contributed by Michael Tiemann (tiemann@mcc.com) Enhanced by Michael Meissner (meissner@osf.org) - Currently supported by Tom Wood (wood@dg-rtp.dg.com) + Version 2 port by Tom Wood (Tom_Wood@NeXT.com) This file is part of GNU CC. @@ -215,9 +215,9 @@ extern char * reg_names[]; /* Print subsidiary information on the compiler version in use. Redefined in m88kv4.h, and m88kluna.h. */ #define VERSION_INFO1 "88open OCS/BCS, " -#define VERSION_INFO2 "10/21/92" +#define VERSION_INFO2 "12/16/92" #define VERSION_STRING version_string -#define TM_SCCS_ID "@(#)m88k.h 2.2.14.1 10/21/92 23:03:03" +#define TM_SCCS_ID "@(#)m88k.h 2.3.3.2 12/16/92 08:26:09" /* Run-time compilation parameters selecting different hardware subsets. */ @@ -343,7 +343,7 @@ extern char * reg_names[]; reg_names[i]--; \ m88k_pound_sign = "#"; \ if (m88k_version == 0) \ - m88k_version = "03.00"; \ + m88k_version = VERSION_0400_SYNTAX ? "04.00" : "03.00"; \ else if (strcmp (m88k_version, "03.00") < 0) \ error ("Specified assembler version (%s) is less that 03.00", \ m88k_version); \ @@ -1665,6 +1665,9 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, /* Which assembler syntax. Redefined in m88kdgux.h. */ #define VERSION_0300_SYNTAX TARGET_SVR4 +/* At some point, m88kv4.h will redefine this. */ +#define VERSION_0400_SYNTAX 0 + /* Allow pseudo-ops to be overridden. Override these in svr[34].h. */ #undef INT_ASM_OP #undef ASCII_DATA_ASM_OP @@ -1740,6 +1743,9 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, #define PUSHSECTION_ASM_OP "section" #define POPSECTION_ASM_OP "previous" +/* These are specific to the version 04.00 assembler syntax. */ +#define REQUIRES_88110_ASM_OP "requires_88110" + /* Output any initial stuff to the assembly file. Always put out a file directive, even if not debugging. -- 2.30.2