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).
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 3, 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 COPYING3. If not see
21 <http://www.gnu.org/licenses/>. */
23 #ifndef GCC_H8300_COFF_H
24 #define GCC_H8300_COFF_H
26 #define SDB_DEBUGGING_INFO 1
27 #define SDB_DELIM "\n"
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
33 #define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
35 /* This is how to output an assembler line
36 that says to advance the location counter by SIZE bytes. */
38 #define ASM_OUTPUT_IDENT(FILE, NAME) \
39 fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME)
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"
45 /* Switch into a generic section. */
46 #define TARGET_ASM_NAMED_SECTION h8300_asm_named_section
48 /* A bit-field declared as `int' forces `int' alignment for the struct. */
49 #define PCC_BITFIELD_TYPE_MATTERS 0
51 #endif /* h8300/coff.h */