diff options
author | Tom Wood <wood@gnu.org> | 1992-09-18 10:42:19 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-09-18 10:42:19 +0000 |
commit | 454e03485bd33d7b1b15d0db4506dcad016eeca7 (patch) | |
tree | 029be6b01f25d7dab811cc68eec96b9fa3143d80 | |
parent | 08e8857cbb53af5b1583612674e1a3e65e7ddc70 (diff) | |
download | gcc-454e03485bd33d7b1b15d0db4506dcad016eeca7.zip gcc-454e03485bd33d7b1b15d0db4506dcad016eeca7.tar.gz gcc-454e03485bd33d7b1b15d0db4506dcad016eeca7.tar.bz2 |
(PERFERRED_DEBUGGING_TYPE): Compute based on m88k_version.
(PERFERRED_DEBUGGING_TYPE): Compute based on
m88k_version.
(CPU_DEFAULT): Make it -m88000.
From-SVN: r2151
-rw-r--r-- | gcc/config/m88k/dgux.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/config/m88k/dgux.h b/gcc/config/m88k/dgux.h index 796ae1e..2868a04 100644 --- a/gcc/config/m88k/dgux.h +++ b/gcc/config/m88k/dgux.h @@ -27,7 +27,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* DWARF_DEBUGGING_INFO defined in svr4.h. */ #define SDB_DEBUGGING_INFO #define PREFERRED_DEBUGGING_TYPE \ - (VERSION_0300_SYNTAX ? DWARF_DEBUG : SDB_DEBUG) + (GET_VERSION_0300_SYNTAX ? DWARF_DEBUG : SDB_DEBUG) #ifndef NO_BUGS #define AS_BUG_IMMEDIATE_LABEL @@ -58,6 +58,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \ MASK_OCS_DEBUG_INFO | \ MASK_OCS_FRAME_POSITION) +#undef CPU_DEFAULT +#define CPU_DEFAULT MASK_88000 /* Macros to be automatically defined. __svr4__ is our extension. __CLASSIFY_TYPE__ is used in the <varargs.h> and <stdarg.h> header @@ -78,7 +80,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define ASM_SPEC "\ %{V} %{v:%{!V:-V}} %{pipe: - %{msvr4:%{mversion-03.00:-KV3}}}\ %{!mlegend:%{mstandard:-Wc,off}}\ -%{mlegend:-Wc,-fix-bb,-h\"gcc-2.0.3\",-s\"%i\"\ +%{mlegend:-Wc,-fix-bb,-h\"gcc-2.2.12\",-s\"%i\"\ %{traditional:,-lc}%{!traditional:,-lansi-c}\ %{mstandard:,-keep-std}\ %{mkeep-coff:,-keep-coff}\ @@ -120,7 +122,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* DGUX V.4 isn't quite ELF--yet. */ #undef VERSION_0300_SYNTAX -#define VERSION_0300_SYNTAX (TARGET_SVR4 && TARGET_VERSION_0300) +#define VERSION_0300_SYNTAX (TARGET_SVR4 && m88k_version_0300) + +/* Same, but used before OVERRIDE_OPTIONS has been processed. */ +#define GET_VERSION_0300_SYNTAX \ + (TARGET_SVR4 && m88k_version != 0 && strcmp (m88k_version, "03.00") >= 0) /* Output the legend info for mxdb when debugging except if standard debugging information only is explicitly requested. */ |