| 1 | /* Definitions for Unix assembler syntax for the Intel 80386. |
| 2 | Copyright (C) 1988, 1994, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
| 3 | |
| 4 | This file is part of GCC. |
| 5 | |
| 6 | GCC is free software; you can redistribute it and/or modify |
| 7 | it under the terms of the GNU General Public License as published by |
| 8 | the Free Software Foundation; either version 2, or (at your option) |
| 9 | any later version. |
| 10 | |
| 11 | GCC is distributed in the hope that it will be useful, |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | GNU General Public License for more details. |
| 15 | |
| 16 | You should have received a copy of the GNU General Public License |
| 17 | along with GCC; see the file COPYING. If not, write to |
| 18 | the Free Software Foundation, 59 Temple Place - Suite 330, |
| 19 | Boston, MA 02111-1307, USA. */ |
| 20 | |
| 21 | /* This file defines the aspects of assembler syntax |
| 22 | that are the same for all the i386 Unix systems |
| 23 | (though they may differ in non-Unix systems). */ |
| 24 | |
| 25 | /* Define macro used to output shift-double opcodes when the shift |
| 26 | count is in %cl. Some assemblers require %cl as an argument; |
| 27 | some don't. This macro controls what to do: by default, don't |
| 28 | print %cl. */ |
| 29 | #define SHIFT_DOUBLE_OMITS_COUNT 1 |
| 30 | \f |
| 31 | /* Define the syntax of pseudo-ops, labels and comments. */ |
| 32 | |
| 33 | /* String containing the assembler's comment-starter. */ |
| 34 | |
| 35 | #define ASM_COMMENT_START "/" |
| 36 | |
| 37 | /* Output to assembler file text saying following lines |
| 38 | may contain character constants, extra white space, comments, etc. */ |
| 39 | |
| 40 | #define ASM_APP_ON "/APP\n" |
| 41 | |
| 42 | /* Output to assembler file text saying following lines |
| 43 | no longer contain unusual constructs. */ |
| 44 | |
| 45 | #define ASM_APP_OFF "/NO_APP\n" |
| 46 | |
| 47 | /* Output before read-only data. */ |
| 48 | |
| 49 | #define TEXT_SECTION_ASM_OP "\t.text" |
| 50 | |
| 51 | /* Output before writable (initialized) data. */ |
| 52 | |
| 53 | #define DATA_SECTION_ASM_OP "\t.data" |
| 54 | |
| 55 | /* Output before writable (uninitialized) data. */ |
| 56 | |
| 57 | #define BSS_SECTION_ASM_OP "\t.bss" |
| 58 | |
| 59 | /* Globalizing directive for a label. */ |
| 60 | #define GLOBAL_ASM_OP ".globl " |
| 61 | |
| 62 | /* By default, target has a 80387, uses IEEE compatible arithmetic, |
| 63 | and returns float values in the 387. */ |
| 64 | |
| 65 | #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS) |