]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gas/config/tc-mn10300.h
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
[thirdparty/binutils-gdb.git] / gas / config / tc-mn10300.h
1 /* tc-mn10300.h -- Header file for tc-mn10300.c.
2 Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc.
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA. */
20
21 #define TC_MN10300
22
23 #define TARGET_BYTES_BIG_ENDIAN 0
24
25 #ifndef BFD_ASSEMBLER
26 #error MN10300 support requires BFD_ASSEMBLER
27 #endif
28
29 /* The target BFD architecture. */
30 #define TARGET_ARCH bfd_arch_mn10300
31
32 #define TARGET_FORMAT "elf32-mn10300"
33
34 /* For fixup and relocation handling. */
35 #define TC_FORCE_RELOCATION(fixp) mn10300_force_relocation (fixp)
36 extern int mn10300_force_relocation PARAMS ((struct fix *));
37
38 #define TC_HANDLES_FX_DONE
39
40 #define obj_fix_adjustable(fixP) mn10300_fix_adjustable (fixP)
41 extern boolean mn10300_fix_adjustable PARAMS ((struct fix *));
42
43 #define MD_APPLY_FIX3 md_apply_fix3
44
45 /* Fixup debug sections since we will never relax them. */
46 #define TC_LINKRELAX_FIXUP(seg) (seg->flags & SEC_ALLOC)
47
48 #define md_operand(x)
49
50 /* Permit temporary numeric labels. */
51 #define LOCAL_LABELS_FB 1
52
53 /* We don't need to handle .word strangely. */
54 #define WORKING_DOT_WORD
55
56 #define md_number_to_chars number_to_chars_littleendian
57
58 /* Don't bother to adjust relocs. */
59 #define tc_fix_adjustable(FIX) 0
60
61 /* We do relaxing in the assembler as well as the linker. */
62 extern const struct relax_type md_relax_table[];
63 #define TC_GENERIC_RELAX_TABLE md_relax_table
64
65 #define DWARF2_LINE_MIN_INSN_LENGTH 1