comparison gcc/config/h8300/coff.h @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* Definitions of target machine for GNU compiler.
2 Renesas H8/300 version generating coff
3 Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
4 Contributed by Steve Chamberlain (sac@cygnus.com),
5 Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
12 any later version.
13
14 GCC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING3. If not see
21 <http://www.gnu.org/licenses/>. */
22
23 #ifndef GCC_H8300_COFF_H
24 #define GCC_H8300_COFF_H
25
26 #define SDB_DEBUGGING_INFO 1
27 #define SDB_DELIM "\n"
28
29 /* Generate a blank trailing N_SO to mark the end of the .o file, since
30 we can't depend upon the linker to mark .o file boundaries with
31 embedded stabs. */
32
33 #define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
34
35 /* This is how to output an assembler line
36 that says to advance the location counter by SIZE bytes. */
37
38 #define ASM_OUTPUT_IDENT(FILE, NAME) \
39 fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME)
40
41 #define IDENT_ASM_OP "\t.ident\t"
42 #define INIT_SECTION_ASM_OP "\t.section .init"
43 #define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata"
44
45 /* Switch into a generic section. */
46 #define TARGET_ASM_NAMED_SECTION h8300_asm_named_section
47
48 /* A bit-field declared as `int' forces `int' alignment for the struct. */
49 #define PCC_BITFIELD_TYPE_MATTERS 0
50
51 #endif /* h8300/coff.h */