diff options
author | Roland McGrath <roland@gcc.gnu.org> | 1994-12-08 21:07:20 +0000 |
---|---|---|
committer | Roland McGrath <roland@gcc.gnu.org> | 1994-12-08 21:07:20 +0000 |
commit | ec85dbf8295c84e52576e02e9a09f282dc66e12b (patch) | |
tree | d7ebd7e013bddb68a69eaab4f073c267a3f876ff /gcc | |
parent | 7bc89c296cf250980061f0960666e1eb46dfd4c1 (diff) | |
download | gcc-ec85dbf8295c84e52576e02e9a09f282dc66e12b.zip gcc-ec85dbf8295c84e52576e02e9a09f282dc66e12b.tar.gz gcc-ec85dbf8295c84e52576e02e9a09f282dc66e12b.tar.bz2 |
Initial revision
From-SVN: r8632
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mips/gnu.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/gcc/config/mips/gnu.h b/gcc/config/mips/gnu.h new file mode 100644 index 0000000..9c2230b --- /dev/null +++ b/gcc/config/mips/gnu.h @@ -0,0 +1,50 @@ +/* Definitions of target machine for GNU compiler. MIPS GNU Hurd version. + Copyright (C) 1994 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES "-Dunix -Dmips -DMACH -D__GNU__ -D__HURD__ \ +-Asystem(unix) -Asystem(mach) -Acpu(mips) -Amachine(mips) -Asystem(gnu) \ + +#define LINK_SPEC "\ +%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} \ +%{bestGnum} %{shared} %{non_shared}" + +#define MACHINE_TYPE "MIPS-GNU" + +#include "mips/mips.h" + +#undef ASM_FINAL_SPEC +#undef SDB_DEBUGGING_INFO +#undef MIPS_DEBUGGING_INFO + +/* Generate DBX debugging information. */ +#define DBX_DEBUGGING_INFO + +#undef ASM_OUTPUT_SOURCE_LINE +#define ASM_OUTPUT_SOURCE_LINE(STREAM,LINE) \ + fprintf (STREAM, "\t.stabd %d,0,%d\n", \ + N_SLINE, LINE); + +/* We use BSD object format and our assembler handles .stab<x>. */ +#undef ASM_STABS_OP +#undef ASM_STABN_OP +#undef ASM_STABD_OP +#define ASM_STABS_OP (".stabs") +#define ASM_STABN_OP (".stabn") +#define ASM_STABD_OP (".stabd") |