OSDN Git Service

e2340c3bdf0ac88d7b06be60c53d68d1c6383094
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / litecoff.h
1 /* Definitions of target machine for GNU compiler, for SPARClite w/o FPU, COFF.
2    Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc.
3    Written by Ken Raeburn (raeburn@cygnus.com).
4
5 This file is part of GNU CC.
6
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 #include "sparc/lite.h"
23
24 #undef ASM_OUTPUT_IDENT
25
26 #undef SELECT_SECTION
27 #undef SELECT_RTX_SECTION
28 #define BSS_SECTION_ASM_OP      "\t.section\t\".bss\""
29
30 #include "svr3.h"
31
32 #undef CPP_PREDEFINES
33 #define CPP_PREDEFINES "-Dsparc -Dsparclite -Acpu=sparc -Amachine=sparc"
34
35 /* Default to stabs in COFF.  */
36
37 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
38
39 #include "dbxcoff.h"
40
41 /* Support the ctors and dtors sections for g++.  */
42
43 #undef INIT_SECTION_ASM_OP
44
45 /* A list of other sections which the compiler might be "in" at any
46    given time.  */
47
48 #undef EXTRA_SECTIONS
49 #define EXTRA_SECTIONS in_const
50
51 /* A list of extra section function definitions.  */
52
53 #undef EXTRA_SECTION_FUNCTIONS
54 #define EXTRA_SECTION_FUNCTIONS                                         \
55   CONST_SECTION_FUNCTION
56
57 #define INT_ASM_OP "\t.long\t"
58
59 #undef DO_GLOBAL_CTORS_BODY
60 #undef DO_GLOBAL_DTORS_BODY