Update FSF address.
[official-gcc.git] / gcc / config / i386 / i386-coff.h
blobbea8e19f4389241a3fbf4838dd84a630cef36bb5
1 /* Definitions for "naked" Intel 386 using coff object format files
2 and coff debugging info.
4 Copyright (C) 1994, 2000, 2002, 2004 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 2, or (at your option)
11 any later version.
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 COPYING. If not, write to
20 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
24 #define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)");
26 #define TARGET_OS_CPP_BUILTINS() /* Sweet FA. */
28 /* We want to be able to get DBX debugging information via -gstabs. */
30 #define DBX_DEBUGGING_INFO 1
32 #undef PREFERRED_DEBUGGING_TYPE
33 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
35 /* Switch into a generic section. */
36 #define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section
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 */
42 #undef LPREFIX
43 #define LPREFIX ".L"
45 /* The prefix to add to user-visible assembler symbols. */
47 #undef USER_LABEL_PREFIX
48 #define USER_LABEL_PREFIX ""
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. */
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'. */
59 #undef ASM_GENERATE_INTERNAL_LABEL
60 #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
61 sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER))
63 /* GNU as expects alignment to be the number of bytes instead of the log for
64 COFF targets. */
66 #undef ASM_OUTPUT_ALIGN
67 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
68 if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
70 /* end of i386-coff.h */