Commit | Line | Data |
---|---|---|
a11a8d55 SC |
1 | /* This file is tc-w65.h |
2 | ||
3 | Copyright (C) 1995 Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GAS, the GNU Assembler. | |
6 | ||
7 | GAS is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2, or (at your option) | |
10 | any later version. | |
11 | ||
12 | GAS is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with GAS; see the file COPYING. If not, write to | |
a2a5a4fa | 19 | the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ |
a11a8d55 SC |
20 | |
21 | ||
22 | #define TC_W65 | |
23 | ||
24 | /* This macro translates between an internal fix and an coff reloc type */ | |
25 | #define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP) | |
26 | ||
27 | #define BFD_ARCH bfd_arch_w65 | |
28 | #define COFF_MAGIC 0x6500 | |
29 | ||
30 | #define IGNORE_NONSTANDARD_ESCAPES | |
31 | ||
5f8cb05e | 32 | #define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c) |
a11a8d55 SC |
33 | |
34 | #define DO_NOT_STRIP 0 | |
35 | #define DO_STRIP 0 | |
36 | #define LISTING_HEADER "W65816 GAS " | |
37 | #define NEED_FX_R_TYPE 1 | |
38 | #define RELOC_32 1234 | |
39 | ||
40 | #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep(frag) | |
41 | #define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) w65_expression (EXP, NBYTES) | |
42 | #define TC_COUNT_RELOC(x) (1) | |
43 | #define TC_CONS_RELOC tc_cons_reloc | |
44 | #define DONT_OVERFLOW | |
45 | int tc_cons_reloc; | |
a11a8d55 | 46 | |
03678945 KR |
47 | #define md_operand(x) |
48 | ||
9b0da28b KR |
49 | extern struct relax_type md_relax_table[]; |
50 | #define TC_GENERIC_RELAX_TABLE md_relax_table | |
51 | ||
03678945 | 52 | /* end of tc-w65.h */ |