]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/config/tc-d30v.h
Revert "2.41 Release sources"
[thirdparty/binutils-gdb.git] / gas / config / tc-d30v.h
CommitLineData
252b5132 1/* tc-310v.h -- Header file for tc-d30v.c.
d87bef3a 2 Copyright (C) 1997-2023 Free Software Foundation, Inc.
252b5132
RH
3 Written by Martin Hunt, Cygnus Support.
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
ec2655a6 9 the Free Software Foundation; either version 3, or (at your option)
252b5132
RH
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
49309057 18 along with GAS; see the file COPYING. If not, write to the Free
4b4da160
NC
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20 02110-1301, USA. */
252b5132
RH
21
22#define TC_D30V
23
252b5132 24/* The target BFD architecture. */
ea1562b3
NC
25#define TARGET_ARCH bfd_arch_d30v
26#define TARGET_FORMAT "elf32-d30v"
27#define TARGET_BYTES_BIG_ENDIAN 1
252b5132
RH
28
29#define md_operand(x)
30
94f592af 31/* Call md_pcrel_from_section, not md_pcrel_from. */
ea1562b3 32#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
252b5132
RH
33
34/* Permit temporary numeric labels. */
35#define LOCAL_LABELS_FB 1
36
ea1562b3
NC
37/* .-foo gets turned into PC relative relocs. */
38#define DIFF_EXPR_OK
252b5132
RH
39
40/* We don't need to handle .word strangely. */
41#define WORKING_DOT_WORD
42
43#define md_number_to_chars number_to_chars_bigendian
44
ea1562b3 45int d30v_cleanup (int);
5b7c81bd 46#define md_cleanup() d30v_cleanup (false)
2e57ce7b 47#define TC_START_LABEL(STR, NUL_CHAR, NEXT_CHAR) \
5b7c81bd 48 (NEXT_CHAR == ':' && d30v_cleanup (false))
ea1562b3 49void d30v_start_line (void);
24ddb296 50#define md_start_line_hook() d30v_start_line ()
252b5132 51
ea1562b3
NC
52void d30v_frob_label (symbolS *);
53#define tc_frob_label(sym) d30v_frob_label (sym)
252b5132 54
ea1562b3
NC
55void d30v_cons_align (int);
56#define md_cons_align(nbytes) d30v_cons_align (nbytes)
a161fe53 57
55cf6793 58/* Values passed to md_apply_fix don't include the symbol value. */
a161fe53
AM
59#define MD_APPLY_SYM_VALUE(FIX) 0
60
61/* No shared lib support, so we don't need to ensure externally
62 visible symbols can be overridden. */
63#define EXTERN_FORCE_RELOC 0