1 /* tc-sparc.h - Macros and type defines for the sparc.
2 Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 2,
9 or (at your option) any later version.
11 GAS is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
14 the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public
17 License along with GAS; see the file COPYING. If not, write
18 to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
22 #define LOCAL_LABELS_FB
26 #define TARGET_ARCH bfd_arch_sparc
28 #define TARGET_FORMAT "a.out-sunos-big"
31 #define TARGET_FORMAT "b.out.big"
35 #define TARGET_FORMAT "elf32-sparc"
37 #define TARGET_FORMAT "elf64-sparc" /* v9 */
38 #define ENV64 /* v9 */
40 #define LOCAL_LABEL(name) ((name)[0] == '.')
46 #define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE ((0x103 << 16) | BMAGIC) /* Magic number for header */
49 #define DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE ((0x103 << 16) | OMAGIC) /* Magic number for header */
53 #define AOUT_MACHTYPE 3
55 #define NEED_FX_R_TYPE
57 #define tc_headers_hook(a) {;} /* don't need it. */
58 #define tc_crawl_symbol_chain(a) {;} /* don't need it. */
60 #define TC_CONS_RELOC RELOC_32
62 #endif /* BFD_ASSEMBLER */
65 #define md_convert_frag(h,f) {as_fatal ("sparc convert_frag\n");}
67 #define md_convert_frag(b,s,f) {as_fatal ("sparc convert_frag\n");}
70 void tc_aout_pre_write_hook ();
72 #define LISTING_HEADER "SPARC GAS "
74 /* end of tc-sparc.h */
This page took 0.031672 seconds and 4 git commands to generate.