i386-coff.h revision 169690
12311Sjkh/* Definitions for "naked" Intel 386 using coff object format files 22311Sjkh and coff debugging info. 32311Sjkh 42311Sjkh Copyright (C) 1994, 2000, 2002, 2004 Free Software Foundation, Inc. 52311Sjkh 62311SjkhThis file is part of GCC. 72311Sjkh 82311SjkhGCC is free software; you can redistribute it and/or modify 92311Sjkhit under the terms of the GNU General Public License as published by 102311Sjkhthe Free Software Foundation; either version 2, or (at your option) 112311Sjkhany later version. 122311Sjkh 132311SjkhGCC is distributed in the hope that it will be useful, 142311Sjkhbut WITHOUT ANY WARRANTY; without even the implied warranty of 152311SjkhMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 162311SjkhGNU General Public License for more details. 172311Sjkh 182311SjkhYou should have received a copy of the GNU General Public License 1929452Scharnieralong with GCC; see the file COPYING. If not, write to 2050479Speterthe Free Software Foundation, 51 Franklin Street, Fifth Floor, 212311SjkhBoston, MA 02110-1301, USA. */ 222311Sjkh 232311Sjkh 242311Sjkh#define TARGET_VERSION fprintf (stderr, " (80386, COFF BSD syntax)"); 252311Sjkh 262311Sjkh#define TARGET_OS_CPP_BUILTINS() /* Sweet FA. */ 272311Sjkh 282311Sjkh/* We want to be able to get DBX debugging information via -gstabs. */ 292311Sjkh 302311Sjkh#define DBX_DEBUGGING_INFO 1 312311Sjkh 322311Sjkh#undef PREFERRED_DEBUGGING_TYPE 332311Sjkh#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG 342311Sjkh 352311Sjkh/* Switch into a generic section. */ 3629452Scharnier#define TARGET_ASM_NAMED_SECTION default_coff_asm_named_section 372311Sjkh 382311Sjkh/* Prefix for internally generated assembler labels. If we aren't using 392311Sjkh underscores, we are using prefix `.'s to identify labels that should 402311Sjkh be ignored, as in `i386/gas.h' --karl@cs.umb.edu */ 412311Sjkh 422311Sjkh#undef LPREFIX 432311Sjkh#define LPREFIX ".L" 442311Sjkh 452311Sjkh/* The prefix to add to user-visible assembler symbols. */ 462311Sjkh 472311Sjkh#undef USER_LABEL_PREFIX 482311Sjkh#define USER_LABEL_PREFIX "" 492311Sjkh 502311Sjkh/* If user-symbols don't have underscores, 512311Sjkh then it must take more than `L' to identify 522311Sjkh a label that should be ignored. */ 532311Sjkh 542311Sjkh/* This is how to store into the string BUF 552311Sjkh the symbol_ref name of an internal numbered label where 562311Sjkh PREFIX is the class of label and NUM is the number within the class. 572311Sjkh This is suitable for output with `assemble_name'. */ 582311Sjkh 592311Sjkh#undef ASM_GENERATE_INTERNAL_LABEL 602311Sjkh#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \ 612311Sjkh sprintf ((BUF), ".%s%ld", (PREFIX), (long)(NUMBER)) 622311Sjkh 632311Sjkh/* GNU as expects alignment to be the number of bytes instead of the log for 642311Sjkh COFF targets. */ 652311Sjkh 662311Sjkh#undef ASM_OUTPUT_ALIGN 672311Sjkh#define ASM_OUTPUT_ALIGN(FILE,LOG) \ 682311Sjkh if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG)) 692311Sjkh 702311Sjkh/* end of i386-coff.h */ 712311Sjkh