URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
38 |
julius |
/* Definitions of target machine for GNU compiler. ARM on semi-hosted platform
|
2 |
|
|
AOF Syntax assembler.
|
3 |
|
|
Copyright (C) 1995, 1996, 1997, 2004, 2007 Free Software Foundation, Inc.
|
4 |
|
|
Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
|
5 |
|
|
|
6 |
|
|
This file is part of GCC.
|
7 |
|
|
|
8 |
|
|
GCC is free software; you can redistribute it and/or modify it
|
9 |
|
|
under the terms of the GNU General Public License as published
|
10 |
|
|
by the Free Software Foundation; either version 3, or (at your
|
11 |
|
|
option) any later version.
|
12 |
|
|
|
13 |
|
|
GCC is distributed in the hope that it will be useful, but WITHOUT
|
14 |
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
15 |
|
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
16 |
|
|
License for more details.
|
17 |
|
|
|
18 |
|
|
You should have received a copy of the GNU General Public License
|
19 |
|
|
along with GCC; see the file COPYING3. If not see
|
20 |
|
|
<http://www.gnu.org/licenses/>. */
|
21 |
|
|
|
22 |
|
|
#define TARGET_OS_CPP_BUILTINS() \
|
23 |
|
|
do { \
|
24 |
|
|
builtin_define_std ("arm"); \
|
25 |
|
|
builtin_define_std ("semi"); \
|
26 |
|
|
} while (0)
|
27 |
|
|
|
28 |
|
|
#define ASM_SPEC "%{g -g} -arch 4 -apcs 3/32bit"
|
29 |
|
|
|
30 |
|
|
#define LIB_SPEC "%{Eb: armlib_h.32b%s}%{!Eb: armlib_h.32l%s}"
|
31 |
|
|
|
32 |
|
|
#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr);
|
33 |
|
|
|
34 |
|
|
#define TARGET_DEFAULT_FLOAT_ABI ARM_FLOAT_ABI_HARD
|
35 |
|
|
|
36 |
|
|
#define TARGET_DEFAULT (0)
|
37 |
|
|
|
38 |
|
|
/* The Norcroft C library defines size_t as "unsigned int". */
|
39 |
|
|
#define SIZE_TYPE "unsigned int"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.