]>
Commit | Line | Data |
---|---|---|
a805d35f | 1 | /* Target definitions for GCC for Intel 80386 running System V.4 |
83ffe9cd | 2 | Copyright (C) 1991-2023 Free Software Foundation, Inc. |
c062fde6 | 3 | |
ed1817c6 | 4 | Written by Ron Guilmette (rfg@netcom.com). |
c062fde6 | 5 | |
a805d35f | 6 | This file is part of GCC. |
c062fde6 | 7 | |
a805d35f | 8 | GCC is free software; you can redistribute it and/or modify |
c062fde6 | 9 | it under the terms of the GNU General Public License as published by |
2f83c7d6 | 10 | the Free Software Foundation; either version 3, or (at your option) |
c062fde6 RS |
11 | any later version. |
12 | ||
a805d35f | 13 | GCC is distributed in the hope that it will be useful, |
c062fde6 RS |
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 | |
2f83c7d6 NC |
19 | along with GCC; see the file COPYING3. If not see |
20 | <http://www.gnu.org/licenses/>. */ | |
c062fde6 | 21 | |
c062fde6 RS |
22 | /* Output at beginning of assembler file. */ |
23 | /* The .file command should always begin the output. */ | |
24 | ||
1bc7c5b6 ZW |
25 | #define TARGET_ASM_FILE_START_FILE_DIRECTIVE true |
26 | #undef X86_FILE_START_VERSION_DIRECTIVE | |
27 | #define X86_FILE_START_VERSION_DIRECTIVE true | |
c062fde6 | 28 | |
ca60bd93 ML |
29 | #undef DEBUGGER_REGNO |
30 | #define DEBUGGER_REGNO(n) svr4_debugger_register_map[n] | |
c062fde6 | 31 | |
17d6fedc | 32 | /* A C statement (sans semicolon) to output to the stdio stream |
24786cfa | 33 | FILE the assembler definition of uninitialized global DECL named |
17d6fedc JM |
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 | ||
24786cfa DE |
37 | #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ |
38 | asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) | |
1066e2b5 RH |
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 | { \ | |
e61c6562 UB |
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; \ | |
1066e2b5 RH |
50 | } \ |
51 | } while (0) |