gdb/testsuite/gdb.base/stap-probe: Minor clean-up
[deliverable/binutils-gdb.git] / gas / config / tc-mt.h
CommitLineData
d031aafb 1/* tc-mt.h -- Header file for tc-mt.c.
b3adc24a 2 Copyright (C) 2005-2020 Free Software Foundation, Inc.
a0defb2e
AH
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
ec2655a6 8 the Free Software Foundation; either version 3, or (at your option)
a0defb2e
AH
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
863f7a5f
NC
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
a0defb2e 20
d031aafb 21#define TC_MT
a0defb2e 22
d031aafb 23#define LISTING_HEADER "MT GAS "
a0defb2e
AH
24
25/* The target BFD architecture. */
d031aafb 26#define TARGET_ARCH bfd_arch_mt
a0defb2e 27
d031aafb 28#define TARGET_FORMAT "elf32-mt"
a0defb2e
AH
29
30#define TARGET_BYTES_BIG_ENDIAN 1
31
32/* Permit temporary numeric labels. */
33#define LOCAL_LABELS_FB 1
34
35/* .-foo gets turned into PC relative relocs. */
36#define DIFF_EXPR_OK
37
38/* We don't need to handle .word strangely. */
39#define WORKING_DOT_WORD
40
d031aafb 41/* All mt instructions are multiples of 32 bits. */
a0defb2e
AH
42#define DWARF2_LINE_MIN_INSN_LENGTH 4
43
a0defb2e
AH
44#define LITERAL_PREFIXPERCENT_BIN
45
d031aafb 46#define md_apply_fix mt_apply_fix
3739860c 47extern void mt_apply_fix (struct fix *, valueT *, segT);
a0defb2e
AH
48
49/* Call md_pcrel_from_section(), not md_pcrel_from(). */
50#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
51extern long md_pcrel_from_section (struct fix *, segT);
52
53#define obj_fix_adjustable(fixP) iq2000_fix_adjustable (fixP)
d031aafb 54extern bfd_boolean mt_fix_adjustable (struct fix *);
a0defb2e
AH
55
56/* Values passed to md_apply_fix don't include the symbol value. */
57#define MD_APPLY_SYM_VALUE(FIX) 0
58
59#define tc_gen_reloc gas_cgen_tc_gen_reloc
60
61#define md_operand(x) gas_cgen_md_operand (x)
62extern void gas_cgen_md_operand (expressionS *);
63
d031aafb
NS
64#define TC_FORCE_RELOCATION(fixp) mt_force_relocation (fixp)
65extern int mt_force_relocation (struct fix *);
a0defb2e 66
d031aafb
NS
67#define tc_fix_adjustable(fixP) mt_fix_adjustable (fixP)
68extern bfd_boolean mt_fix_adjustable (struct fix *);
a0defb2e 69
This page took 0.685627 seconds and 4 git commands to generate.