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
ff4b82d0
Commit
ff4b82d0
authored
Jun 22, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial revision
From-SVN: r7532
parent
5dda702f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
0 deletions
+130
-0
gcc/config/m68k/ccur-GAS.h
+127
-0
gcc/config/m68k/x-ccur
+3
-0
No files found.
gcc/config/m68k/ccur-GAS.h
0 → 100644
View file @
ff4b82d0
/* Definitions of target machine for GNU compiler. Concurrent 68k version.
Copyright (C) 1987, 1988 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 1, 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. */
#ifndef MASSCOMP
#define MASSCOMP
#endif
#ifndef CONCURRENT
#define CONCURRENT
#endif
#ifndef __mc68000__
#define __mc68000__
#endif
#ifndef __mc68020__
#define __mc68020__
#endif
#define USE_GAS
#define MOVE_RATIO 100
#define SPACE_AFTER_L_OPTION
#define SWITCHES_NEED_SPACES " "
#define TARGET_DEFAULT 0407
/* See m68k.h. 7 means 68020 with 68881. */
#include "m68k/m68k.h"
#define SIZE_TYPE "int"
/* for 68k machines this only needs to be TRUE for the 68000 */
#undef STRICT_ALIGNMENT
#define STRICT_ALIGNMENT 0
/* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES \
"-Dmc68000 -Dmasscomp -DMASSCOMP -Dunix -DLANGUAGE_C -Dconcurrent -DCONCURRENT"
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (68k, GNU GAS syntax)");
/* Discard internal local symbols beginning with 'L'. */
#define LINK_SPEC "-X"
/* Every structure or union's size must be a multiple of 4 bytes. */
#define STRUCTURE_SIZE_BOUNDARY 16
/* No data type wants to be aligned rounder than this. */
#undef BIGGEST_ALIGNMENT
#define BIGGEST_ALIGNMENT 32
/* Allocation boundary (in *bits*) for storing pointers in memory. */
#undef POINTER_BOUNDARY
#define POINTER_BOUNDARY 32
/* Alignment of field after `int : 0' in a structure. */
#undef EMPTY_FIELD_BOUNDARY
#define EMPTY_FIELD_BOUNDARY 32
/* Allocation boundry in bits for the code of a function */
#undef FUNCTION_BOUNDRY
#define FUNCTION_BOUNDRY 32
/* Make strings long-word aligned so dhrystones will run faster. */
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \
(TREE_CODE (EXP) == STRING_CST \
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
/* Make arrays of chars word-aligned for the same reasons. */
#define DATA_ALIGNMENT(TYPE, ALIGN) \
(TREE_CODE (TYPE) == ARRAY_TYPE \
&& TYPE_MODE (TREE_TYPE (TYPE)) == QImode \
&& (ALIGN) < BITS_PER_WORD ? BITS_PER_WORD : (ALIGN))
/* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO
/* Override parts of m68k.h */
#undef CALL_USED_REGISTERS
#define CALL_USED_REGISTERS \
{1, 1, 0, 0, 0, 0, 0, 0, \
1, 1, 0, 0, 0, 0, 0, 1, \
1, 1, 0, 0, 0, 0, 1, 1 }
#undef REG_ALLOC_ORDER
#define REG_ALLOC_ORDER \
{ 0, 1, 2, 3, 4, 5, 6, 7,\
8, 9, 10, 11, 12, 13, 14, 15, \
16, 17, 22, 23, 18, 19, 20, 21 }
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
fprintf (FILE, "#NO_APP\n.globl fltused\n");
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
{ int _LOG = LOG; \
if (_LOG == 1) \
fprintf (FILE, "\t.even\n"); \
else if (_LOG == 2) \
fprintf (FILE, "\t.align 4\n"); \
else if (_LOG != 0) \
fprintf (FILE, "\t.align %d\n", _LOG);\
}
/* crt0.c should use the vax-bsd style of entry, with a dummy arg. */
#define CRT0_DUMMIES bogus_fp,
gcc/config/m68k/x-ccur
0 → 100644
View file @
ff4b82d0
# Specify the jobs library when building in the ATT universe.
CLIB = -ljobs
X_CFLAGS = -O0 -DSHORT_ENUM_BUG -Dregister=
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