* config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
[official-gcc.git] / gcc / config / i386 / i386-coff.h
blob5f3ed142866d4ff8abafefacc9ab8d0d0dc06f3c
1 /* Definitions for "naked" Intel 386 using coff object format files
2 and coff debugging info.
4 Copyright (C) 1994, 2000, 2002 Free Software Foundation, Inc.
6 This file is part of GNU CC.
8 GNU CC 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 2, or (at your option)
11 any later version.
13 GNU CC 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 GNU CC; see the file COPYING. If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
24 #define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)");
26 /* Specify predefined symbols in preprocessor. */
28 #undef CPP_PREDEFINES
29 #define CPP_PREDEFINES ""
31 /* We want to be able to get DBX debugging information via -gstabs. */
33 #undef DBX_DEBUGGING_INFO
34 #define DBX_DEBUGGING_INFO
36 #undef PREFERRED_DEBUGGING_TYPE
37 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
39 /* Switch into a generic section. */
40 #define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
42 /* Prefix for internally generated assembler labels. If we aren't using
43 underscores, we are using prefix `.'s to identify labels that should
44 be ignored, as in `i386/gas.h' --karl@cs.umb.edu */
46 #undef LPREFIX
47 #define LPREFIX ".L"
49 /* The prefix to add to user-visible assembler symbols. */
51 #undef USER_LABEL_PREFIX
52 #define USER_LABEL_PREFIX ""
54 /* If user-symbols don't have underscores,
55 then it must take more than `L' to identify
56 a label that should be ignored. */
58 /* This is how to store into the string BUF
59 the symbol_ref name of an internal numbered label where
60 PREFIX is the class of label and NUM is the number within the class.
61 This is suitable for output with `assemble_name'. */
63 #undef ASM_GENERATE_INTERNAL_LABEL
64 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
65 sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
67 /* This is how to output an internal numbered label where
68 PREFIX is the class of label and NUM is the number within the class. */
70 #undef ASM_OUTPUT_INTERNAL_LABEL
71 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
72 fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
74 /* end of i386-coff.h */