/* Definitions of target machine for GNU compiler.
|
/* Definitions of target machine for GNU compiler.
|
Renesas H8/300 version generating coff
|
Renesas H8/300 version generating coff
|
Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
|
Contributed by Steve Chamberlain (sac@cygnus.com),
|
Contributed by Steve Chamberlain (sac@cygnus.com),
|
Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
|
Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com).
|
|
|
This file is part of GCC.
|
This file is part of GCC.
|
|
|
GCC is free software; you can redistribute it and/or modify
|
GCC is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 3, or (at your option)
|
the Free Software Foundation; either version 3, or (at your option)
|
any later version.
|
any later version.
|
|
|
GCC is distributed in the hope that it will be useful,
|
GCC is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with GCC; see the file COPYING3. If not see
|
along with GCC; see the file COPYING3. If not see
|
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
|
|
#ifndef GCC_H8300_COFF_H
|
#ifndef GCC_H8300_COFF_H
|
#define GCC_H8300_COFF_H
|
#define GCC_H8300_COFF_H
|
|
|
#define SDB_DEBUGGING_INFO 1
|
#define SDB_DEBUGGING_INFO 1
|
#define SDB_DELIM "\n"
|
#define SDB_DELIM "\n"
|
|
|
/* Generate a blank trailing N_SO to mark the end of the .o file, since
|
/* Generate a blank trailing N_SO to mark the end of the .o file, since
|
we can't depend upon the linker to mark .o file boundaries with
|
we can't depend upon the linker to mark .o file boundaries with
|
embedded stabs. */
|
embedded stabs. */
|
|
|
#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
|
#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END
|
|
|
/* This is how to output an assembler line
|
/* This is how to output an assembler line
|
that says to advance the location counter by SIZE bytes. */
|
that says to advance the location counter by SIZE bytes. */
|
|
|
#define ASM_OUTPUT_IDENT(FILE, NAME) \
|
#define ASM_OUTPUT_IDENT(FILE, NAME) \
|
fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME)
|
fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME)
|
|
|
#define IDENT_ASM_OP "\t.ident\t"
|
#define IDENT_ASM_OP "\t.ident\t"
|
#define INIT_SECTION_ASM_OP "\t.section .init"
|
#define INIT_SECTION_ASM_OP "\t.section .init"
|
#define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata"
|
#define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata"
|
|
|
/* Switch into a generic section. */
|
/* Switch into a generic section. */
|
#define TARGET_ASM_NAMED_SECTION h8300_asm_named_section
|
#define TARGET_ASM_NAMED_SECTION h8300_asm_named_section
|
|
|
/* A bit-field declared as `int' forces `int' alignment for the struct. */
|
/* A bit-field declared as `int' forces `int' alignment for the struct. */
|
#define PCC_BITFIELD_TYPE_MATTERS 0
|
#define PCC_BITFIELD_TYPE_MATTERS 0
|
|
|
#endif /* h8300/coff.h */
|
#endif /* h8300/coff.h */
|
|
|