1 /* Definitions for "naked" Intel 386 using coff object format files
2 and coff debugging info.
4 Copyright (C) 1994, 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
23 #define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)");
25 #define TARGET_OS_CPP_BUILTINS() /* Sweet FA. */
27 /* We want to be able to get DBX debugging information via -gstabs. */
29 #define DBX_DEBUGGING_INFO 1
31 #undef PREFERRED_DEBUGGING_TYPE
32 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
34 /* Switch into a generic section. */
35 #define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
37 /* Prefix for internally generated assembler labels. If we aren't using
38 underscores, we are using prefix `.'s to identify labels that should
39 be ignored, as in `i386/gas.h' --karl@cs.umb.edu */
44 /* The prefix to add to user-visible assembler symbols. */
46 #undef USER_LABEL_PREFIX
47 #define USER_LABEL_PREFIX ""
49 /* If user-symbols don't have underscores,
50 then it must take more than `L' to identify
51 a label that should be ignored. */
53 /* This is how to store into the string BUF
54 the symbol_ref name of an internal numbered label where
55 PREFIX is the class of label and NUM is the number within the class.
56 This is suitable for output with `assemble_name'. */
58 #undef ASM_GENERATE_INTERNAL_LABEL
59 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
60 sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
62 /* GNU as expects alignment to be the number of bytes instead of the log for
65 #undef ASM_OUTPUT_ALIGN
66 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
67 if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
69 /* end of i386-coff.h */