Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b8232327
Commit
b8232327
authored
Oct 23, 1993
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace with working version.
From-SVN: r5873
parent
dc29832d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
15 deletions
+56
-15
gcc/config/mips/iris5.h
+56
-15
No files found.
gcc/config/mips/iris5.h
View file @
b8232327
...
@@ -17,27 +17,68 @@ You should have received a copy of the GNU General Public License
...
@@ -17,27 +17,68 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define
TARGET_DEFAULT
MASK_ABICALLS
#define
TARGET_DEFAULT
MASK_ABICALLS
#define ABICALLS_ASM_OP ".option pic2"
#define ABICALLS_ASM_OP ".option pic2"
#define OBJECT_FORMAT_ELF
#include "mips/iris4.h"
#include "mips/iris4.h"
/* mips-tfile doesn't work yet. No debugging is supported. */
/* Specify size_t, ptrdiff_t, and wchar_t types. */
#undef ASM_FINAL_SPEC
#undef SIZE_TYPE
#undef SDB_DEBUGGING_INFO
#undef PTRDIFF_TYPE
#undef DBX_DEBUGGING_INFO
#undef WCHAR_TYPE
#undef WCHAR_TYPE_SIZE
#define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int"
#define WCHAR_TYPE "long int"
#define WCHAR_TYPE_SIZE LONG_TYPE_SIZE
/* ??? _MIPS_SIM and _MIPS_SZPTR should eventually depend on options when
options for them exist. */
#undef CPP_PREDEFINES
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "\
#define CPP_PREDEFINES \
-D_MIPS_FPSET=16 -D_MIPS_ISA=_MIPS_ISA_MIPS1 -D_MIPS_SIM_ABI32 \
"-Dunix -Dmips -Dsgi -Dhost_mips -DMIPSEB -DSYSTYPE_SVR4 \
-Dunix -Dmips -Dsgi -DSVR3 -Dhost_mips -DMIPSEB -DSYSTYPE_SYSV \
-D_SVR4_SOURCE -D_MODERN_C -D__DSO__ \
-D_SYSTYPE_SVR4 -D_LONGLONG -D_MIPSEB -D_SGI_SOURCE -D__SDO__ \
-D_MIPS_SIM=_MIPS_SIM_ABI32 -D_MIPS_SZPTR=32 \
-D_MIPS_SZLONG=32 -D_MIPS_SZINT=32 -D_MIPS_SZPTR=32 -D_SVR4_SOURCE \
-Asystem(unix) -Asystem(svr4) -Acpu(mips) -Amachine(sgi)"
-Asystem(unix) -Asystem(svr3) -Acpu(mips) -Amachine(mips)"
#undef ASM_SPEC
#undef CPP_SPEC
#define ASM_SPEC "-elf -KPIC -EB %{O*:-O2 -fullasopt} %{!O*:-O1}"
#define CPP_SPEC "\
%{!ansi:-D__EXTENSIONS__ -D_SGI_SOURCE -D_LONGLONG} \
%{.S: -D_LANGUAGE_ASSEMBLY %{!ansi:-DLANGUAGE_ASSEMBLY}} \
%{.cc: -D_LANGUAGE_C_PLUS_PLUS} \
%{.cxx: -D_LANGUAGE_C_PLUS_PLUS} \
%{.C: -D_LANGUAGE_C_PLUS_PLUS} \
%{.m: -D_LANGUAGE_OBJECTIVE_C} \
%{!.S: %{!.cc: %{!.cxx: %{!.C: %{!.m: -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}}}}}\
%{!mfp64: -D_MIPS_FPSET=16}%{mfp64: -D_MIPS_FPSET=32} \
%{mips1: -D_MIPS_ISA=_MIPS_ISA_MIPS1} \
%{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \
%{mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \
%{!mips1: %{!mips2: %{!mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS1}}} \
%{!mint64: -D_MIPS_SZINT=32}%{mint64: -D_MIPS_SZINT=64} \
%{!mlong64: -D_MIPS_SZLONG=32}%{mlong64: -D_MIPS_SZLONG=64}"
#undef LINK_SPEC
#undef LINK_SPEC
#define LINK_SPEC "-elf -_SYSTYPE_SVR4 -require_dynamic_link \
#define LINK_SPEC "\
_rld_new_interface -no_unresolved -KPIC -call_shared -transitive_link"
%{G*} \
%{!mgas: \
%{mips1} %{mips2} %{mips3} %{bestGnum} \
%{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} \
%{!shared: %{!non_shared: %{!call_shared: -call_shared}}} \
-_SYSTYPE_SVR4 }"
#undef LIB_SPEC
#define LIB_SPEC "%{p:-lprof1} %{pg:-lprof1} -lc crtn.o%s"
/* We do not want to run mips-tfile! */
#undef ASM_FINAL_SPEC
#undef OBJECT_FORMAT_COFF
#undef MACHINE_TYPE
#define MACHINE_TYPE "SGI running IRIX 5.0"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment