X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Fconfig%2Fh8300%2Fcoff.h;fp=gcc%2Fconfig%2Fh8300%2Fcoff.h;h=d4b6c9b7da90bcbda2bf9867067af74b6d0ba4b3;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/config/h8300/coff.h b/gcc/config/h8300/coff.h new file mode 100644 index 00000000..d4b6c9b7 --- /dev/null +++ b/gcc/config/h8300/coff.h @@ -0,0 +1,51 @@ +/* Definitions of target machine for GNU compiler. + Renesas H8/300 version generating coff + Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. + Contributed by Steve Chamberlain (sac@cygnus.com), + Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com). + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ + +#ifndef GCC_H8300_COFF_H +#define GCC_H8300_COFF_H + +#define SDB_DEBUGGING_INFO 1 +#define SDB_DELIM "\n" + +/* 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 + embedded stabs. */ + +#define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END + +/* This is how to output an assembler line + that says to advance the location counter by SIZE bytes. */ + +#define ASM_OUTPUT_IDENT(FILE, NAME) \ + fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME) + +#define IDENT_ASM_OP "\t.ident\t" +#define INIT_SECTION_ASM_OP "\t.section .init" +#define READONLY_DATA_SECTION_ASM_OP "\t.section .rodata" + +/* Switch into a generic section. */ +#define TARGET_ASM_NAMED_SECTION h8300_asm_named_section + +/* A bit-field declared as `int' forces `int' alignment for the struct. */ +#define PCC_BITFIELD_TYPE_MATTERS 0 + +#endif /* h8300/coff.h */