]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/i386/i386-coff.h
e8c5de9c65c4921d1dbaa838c22fa2f8f467c783
[thirdparty/gcc.git] / gcc / config / i386 / i386-coff.h
1 /* Definitions for "naked" Intel 386 using coff object format files
2 and coff debugging info.
3
4 Copyright (C) 1994, 2000, 2002 Free Software Foundation, Inc.
5
6 This file is part of GNU CC.
7
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.
12
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.
17
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. */
22
23
24 #define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)");
25
26 #define TARGET_OS_CPP_BUILTINS() /* Sweet FA. */
27
28 /* We want to be able to get DBX debugging information via -gstabs. */
29
30 #define DBX_DEBUGGING_INFO 1
31
32 #undef PREFERRED_DEBUGGING_TYPE
33 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
34
35 /* Switch into a generic section. */
36 #define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
37
38 /* Prefix for internally generated assembler labels. If we aren't using
39 underscores, we are using prefix `.'s to identify labels that should
40 be ignored, as in `i386/gas.h' --karl@cs.umb.edu */
41
42 #undef LPREFIX
43 #define LPREFIX ".L"
44
45 /* The prefix to add to user-visible assembler symbols. */
46
47 #undef USER_LABEL_PREFIX
48 #define USER_LABEL_PREFIX ""
49
50 /* If user-symbols don't have underscores,
51 then it must take more than `L' to identify
52 a label that should be ignored. */
53
54 /* This is how to store into the string BUF
55 the symbol_ref name of an internal numbered label where
56 PREFIX is the class of label and NUM is the number within the class.
57 This is suitable for output with `assemble_name'. */
58
59 #undef ASM_GENERATE_INTERNAL_LABEL
60 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
61 sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
62
63 /* This is how to output an internal numbered label where
64 PREFIX is the class of label and NUM is the number within the class. */
65
66 #undef ASM_OUTPUT_INTERNAL_LABEL
67 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
68 fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
69
70 /* end of i386-coff.h */