i386-coff.h revision 117395
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
6This file is part of GNU CC.
7
8GNU CC is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2, or (at your option)
11any later version.
12
13GNU CC is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with GNU CC; see the file COPYING.  If not, write to
20the Free Software Foundation, 59 Temple Place - Suite 330,
21Boston, 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 */
71