Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* This file is tc-z8k.h |
f7e42eb4 NC |
2 | Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1997, 1998, |
3 | 2000 | |
81d4177b | 4 | Free Software Foundation, Inc. |
252b5132 RH |
5 | |
6 | This file is part of GAS, the GNU Assembler. | |
7 | ||
8 | GAS 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 2, or (at your option) | |
11 | any later version. | |
12 | ||
13 | GAS 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 GAS; see the file COPYING. If not, write to the Free | |
20 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
21 | 02111-1307, USA. */ | |
22 | ||
252b5132 RH |
23 | #define TC_Z8K |
24 | #define TARGET_BYTES_BIG_ENDIAN 1 | |
25 | ||
26 | #if ANSI_PROTOTYPES | |
27 | struct internal_reloc; | |
28 | #endif | |
29 | ||
30 | #define WORKING_DOT_WORD | |
31 | ||
32 | #ifndef BFD_ASSEMBLER | |
33 | #define LOCAL_LABEL(x) 0 | |
34 | #endif | |
35 | ||
36 | /* This macro translates between an internal fix and an coff reloc type */ | |
814f6641 | 37 | #define TC_COFF_FIX2RTYPE(fixP) abort (); |
252b5132 RH |
38 | |
39 | #define BFD_ARCH bfd_arch_z8k | |
40 | #define COFF_MAGIC 0x8000 | |
41 | #define TC_COUNT_RELOC(x) (1) | |
42 | #define IGNORE_NONSTANDARD_ESCAPES | |
43 | ||
44 | #define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c) | |
45 | extern void tc_reloc_mangle | |
46 | PARAMS ((struct fix *, struct internal_reloc *, bfd_vma)); | |
47 | ||
48 | #define DO_NOT_STRIP 0 | |
49 | #define LISTING_HEADER "Zilog Z8000 GAS " | |
50 | #define NEED_FX_R_TYPE 1 | |
51 | #define RELOC_32 1234 | |
52 | ||
53 | #define md_operand(x) |