1 /* Definitions of target machine for GNU compiler.
2 Renesas H8/300 version generating coff
3 Copyright (C) 2003, 2004 Free Software Foundation, Inc.
4 Contributed by Steve Chamberlain (sac@cygnus.com),
5 Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
7 This file is part of GCC.
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 2, or (at your option)
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.
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING. If not, write to
21 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
22 Boston, MA 02110-1301, USA. */
24 #ifndef GCC_H8300_COFF_H
25 #define GCC_H8300_COFF_H
27 #define SDB_DEBUGGING_INFO 1
28 #define SDB_DELIM "\n"
30 /* Generate a blank trailing N_SO to mark the end of the .o file, since
31 we can't depend upon the linker to mark .o file boundaries with
34 #define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
36 /* This is how to output an assembler line
37 that says to advance the location counter by SIZE bytes. */
39 #define ASM_OUTPUT_IDENT(FILE, NAME) \
40 fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME)
42 #define IDENT_ASM_OP "\t.ident\t"
43 #define INIT_SECTION_ASM_OP "\t.section .init"
44 #define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata"
46 /* Switch into a generic section. */
47 #define TARGET_ASM_NAMED_SECTION h8300_asm_named_section
49 /* A bit-field declared as `int' forces `int' alignment for the struct. */
50 #define PCC_BITFIELD_TYPE_MATTERS 0
52 #endif /* h8300/coff.h */