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
b323f7ee
Commit
b323f7ee
authored
33 years ago
by
Tom Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial revision
From-SVN: r174
parent
647daf35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
gcc/config/m88k/sysv3.h
+60
-0
No files found.
gcc/config/m88k/sysv3.h
0 → 100644
View file @
b323f7ee
/* Definitions of target machine for GNU compiler.
Motorola m88100 running the AT&T/Unisoft/Motorla V.3 reference port.
Copyright (C) 1990, 1991 Free Software Foundation, Inc.
Contributed by Ray Essick (ressick@mot.com)
Currently supported by Tom Wood (wood@dg-rtp.dg.com)
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. */
#include "m88k.h"
/* Default switches */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_CHECK_ZERO_DIV | \
MASK_OCS_DEBUG_INFO | \
MASK_OCS_FRAME_POSITION)
/* Macros to be automatically defined. */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dm88000 -Dm88k -DsysV88 -D__CLASSIFY_TYPE__=2"
/* Override svr3.h to link with ?crt0.o instead of ?crt1.o and ?crtn.o.
From arul@sdsu.edu. */
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
/* Profiled libraries live in a different directory but keep the same
names other than that. arul@sdsu.edu says -lg is always needed. */
#undef LIB_SPEC
#define LIB_SPEC "%{p:-L/lib/libp}%{pg:%{!p:-L/lib/libp}} -lg -lc"
/* Hot version of the profiler that uses r10 to pass the address of
the counter. the _gcc_mcount routine knows not to screw with
the parameter registers.
DG/UX does this; i wrote a gnu-c/88k specific version and put it
in libgcc2.c -- RBE; this macro knows about the leading underscore
convention. */
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
output_function_profiler (FILE, LABELNO, "_gcc_mcount", 0)
/* Various other changes that we want to have in place without
too many changes to the m88k.h file. */
#undef USE_LIBG
#define USE_LIBG
This diff is collapsed.
Click to expand it.
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