Commit | Line | Data |
---|---|---|
64556643 FF |
1 | /* This file is tc-tic80.h |
2 | ||
3 | Copyright (C) 1996, 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 | |
19 | the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ | |
20 | ||
21 | #define TC_TIC80 | |
22 | ||
23 | #define TARGET_ARCH bfd_arch_tic80 | |
24 | #define BFD_ARCH TARGET_ARCH | |
f1ce6af4 FF |
25 | |
26 | #define md_number_to_chars number_to_chars_littleendian | |
27 | ||
28 | /* We have no special operand handling. */ | |
29 | #define md_operand(x) | |
30 | ||
31 | #ifdef OBJ_COFF | |
32 | /* COFF specific definitions. */ | |
33 | ||
34 | #define COFF_MAGIC TIC80_ARCH_MAGIC | |
35 | ||
36 | /* Whether a reloc should be output. */ | |
37 | #define TC_COUNT_RELOC(fixp) ((fixp) -> fx_addsy != NULL) | |
38 | ||
39 | /* This macro translates between an internal fix and an coff reloc type */ | |
40 | #define TC_COFF_FIX2RTYPE(fixP) tc_coff_fix2rtype(fixP) | |
41 | extern short tc_coff_fix2rtype (); | |
42 | ||
43 | #endif /* OBJ_COFF */ | |
64556643 FF |
44 | |
45 | /* end of tc-tic80.h */ |