1/* Target definitions for GCC for Intel 80386 running System V.4 2 Copyright (C) 1991-2022 Free Software Foundation, Inc. 3 4 Written by Ron Guilmette (rfg@netcom.com). 5 6This file is part of GCC. 7 8GCC is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 3, or (at your option) 11any later version. 12 13GCC is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU General Public License for more details. 17 18You should have received a copy of the GNU General Public License 19along 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 DBX_REGISTER_NUMBER 30#define DBX_REGISTER_NUMBER(n) svr4_dbx_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) 52