| 1 |
/* Target definitions for GCC for Intel 80386 running System V.4 |
| 2 |
Copyright (C) 1991-2025 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
Written by Ron Guilmette ([email protected]). |
| 5 |
|
| 6 |
This file is part of GCC. |
| 7 |
|
| 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 3, or (at your option) |
| 11 |
any later version. |
| 12 |
|
| 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. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with GCC; see the file COPYING3. If not see |
| 20 |
<http://www.gnu.org/licenses/>. */ |
| 21 |
|
| 22 |
/* Output at beginning of assembler file. */ |
| 23 |
/* The .file command should always begin the output. */ |
| 24 |
|
| 25 |
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true |
| 26 |
#undef X86_FILE_START_VERSION_DIRECTIVE |
| 27 |
#define X86_FILE_START_VERSION_DIRECTIVE true |
| 28 |
|
| 29 |
#undef DEBUGGER_REGNO |
| 30 |
#define DEBUGGER_REGNO(n) svr4_debugger_register_map[n] |
| 31 |
|
| 32 |
/* A C statement (sans semicolon) to output to the stdio stream |
| 33 |
FILE the assembler definition of uninitialized global DECL named |
| 34 |
NAME whose size is SIZE bytes and alignment is ALIGN bytes. |
| 35 |
Try to use asm_output_aligned_bss to implement this macro. */ |
| 36 |
|
| 37 |
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ |
| 38 |
asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) |
| 39 |
|
| 40 |
/* Handle special EH pointer encodings. Absolute, pc-relative, and |
| 41 |
indirect are handled automatically. */ |
| 42 |
#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \ |
| 43 |
do { \ |
| 44 |
if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \ |
| 45 |
{ \ |
| 46 |
fputs (ASM_LONG, (FILE)); \ |
| 47 |
assemble_name (FILE, XSTR (ADDR, 0)); \ |
| 48 |
fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), (FILE)); \ |
| 49 |
goto DONE; \ |
| 50 |
} \ |
| 51 |
} while (0) |