1234285Sdim/* Definitions for "naked" Intel 386 using coff object format files 2234285Sdim and coff debugging info. 3234285Sdim 4234285Sdim Copyright (C) 1994, 2000, 2002, 2004 Free Software Foundation, Inc. 5234285Sdim 6234285SdimThis file is part of GCC. 7234285Sdim 8234285SdimGCC is free software; you can redistribute it and/or modify 9234285Sdimit under the terms of the GNU General Public License as published by 10234285Sdimthe Free Software Foundation; either version 2, or (at your option) 11234285Sdimany later version. 12234285Sdim 13234285SdimGCC is distributed in the hope that it will be useful, 14234285Sdimbut WITHOUT ANY WARRANTY; without even the implied warranty of 15234285SdimMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16234285SdimGNU General Public License for more details. 17234285Sdim 18234285SdimYou should have received a copy of the GNU General Public License 19234285Sdimalong with GCC; see the file COPYING. If not, write to 20234285Sdimthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 21234285SdimBoston, MA 02110-1301, USA. */ 22234285Sdim 23234285Sdim 24234285Sdim#define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)"); 25234285Sdim 26234285Sdim#define TARGET_OS_CPP_BUILTINS() /* Sweet FA. */ 27234285Sdim 28234285Sdim/* We want to be able to get DBX debugging information via -gstabs. */ 29234285Sdim 30234285Sdim#define DBX_DEBUGGING_INFO 1 31234285Sdim 32234285Sdim#undef PREFERRED_DEBUGGING_TYPE 33234285Sdim#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG 34234285Sdim 35234285Sdim/* Switch into a generic section. */ 36234285Sdim#define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section 37234285Sdim 38234285Sdim/* Prefix for internally generated assembler labels. If we aren't using 39234285Sdim underscores, we are using prefix `.'s to identify labels that should 40234285Sdim be ignored, as in `i386/gas.h' --karl@cs.umb.edu */ 41234285Sdim 42234285Sdim#undef LPREFIX 43234285Sdim#define LPREFIX ".L" 44234285Sdim 45234285Sdim/* The prefix to add to user-visible assembler symbols. */ 46234285Sdim 47234285Sdim#undef USER_LABEL_PREFIX 48234285Sdim#define USER_LABEL_PREFIX "" 49234285Sdim 50234285Sdim/* If user-symbols don't have underscores, 51234285Sdim then it must take more than `L' to identify 52234285Sdim a label that should be ignored. */ 53234285Sdim 54234285Sdim/* This is how to store into the string BUF 55234285Sdim the symbol_ref name of an internal numbered label where 56234285Sdim PREFIX is the class of label and NUM is the number within the class. 57234285Sdim This is suitable for output with `assemble_name'. */ 58234285Sdim 59234285Sdim#undef ASM_GENERATE_INTERNAL_LABEL 60234285Sdim#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ 61234285Sdim sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER)) 62234285Sdim 63234285Sdim/* GNU as expects alignment to be the number of bytes instead of the log for 64234285Sdim COFF targets. */ 65234285Sdim 66234285Sdim#undef ASM_OUTPUT_ALIGN 67234285Sdim#define ASM_OUTPUT_ALIGN(FILE,LOG) \ 68234285Sdim if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG)) 69234285Sdim 70234285Sdim/* end of i386-coff.h */ 71234285Sdim