OSDN Git Service

2002-04-02 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.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 /* Specify predefined symbols in preprocessor.  */
27
28 #undef CPP_PREDEFINES
29 #define CPP_PREDEFINES ""
30
31 /* We want to be able to get DBX debugging information via -gstabs.  */
32
33 #undef DBX_DEBUGGING_INFO
34 #define DBX_DEBUGGING_INFO
35
36 #undef PREFERRED_DEBUGGING_TYPE
37 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
38
39 /* Switch into a generic section.  */
40 #define TARGET_ASM_NAMED_SECTION  default_coff_asm_named_section
41
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  */
45
46 #undef  LPREFIX
47 #define LPREFIX ".L"
48
49 /* The prefix to add to user-visible assembler symbols.  */
50
51 #undef  USER_LABEL_PREFIX
52 #define USER_LABEL_PREFIX ""
53
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.  */
57
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'.  */
62
63 #undef  ASM_GENERATE_INTERNAL_LABEL
64 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER)  \
65   sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
66
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.  */
69
70 #undef  ASM_OUTPUT_INTERNAL_LABEL
71 #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM)      \
72   fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
73
74 /* end of i386-coff.h */