ChangeLog rotatation and copyright year update
[deliverable/binutils-gdb.git] / gas / config / tc-d30v.h
1 /* tc-310v.h -- Header file for tc-d30v.c.
2 Copyright (C) 1997-2015 Free Software Foundation, Inc.
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
9 the Free Software Foundation; either version 3, 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 the Free
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
20 02110-1301, USA. */
21
22 #define TC_D30V
23
24 /* The target BFD architecture. */
25 #define TARGET_ARCH bfd_arch_d30v
26 #define TARGET_FORMAT "elf32-d30v"
27 #define TARGET_BYTES_BIG_ENDIAN 1
28
29 #define md_operand(x)
30
31 /* Call md_pcrel_from_section, not md_pcrel_from. */
32 struct fix;
33 extern long md_pcrel_from_section (struct fix *, segT);
34 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
35
36 /* Permit temporary numeric labels. */
37 #define LOCAL_LABELS_FB 1
38
39 /* .-foo gets turned into PC relative relocs. */
40 #define DIFF_EXPR_OK
41
42 /* We don't need to handle .word strangely. */
43 #define WORKING_DOT_WORD
44
45 #define md_number_to_chars number_to_chars_bigendian
46
47 int d30v_cleanup (int);
48 #define md_cleanup() d30v_cleanup (FALSE)
49 #define TC_START_LABEL(ch, s, ptr) (ch == ':' && d30v_cleanup (FALSE))
50 void d30v_start_line (void);
51 #define md_start_line_hook() d30v_start_line ()
52
53 void d30v_frob_label (symbolS *);
54 #define tc_frob_label(sym) d30v_frob_label (sym)
55
56 void d30v_cons_align (int);
57 #define md_cons_align(nbytes) d30v_cons_align (nbytes)
58
59 /* Values passed to md_apply_fix don't include the symbol value. */
60 #define MD_APPLY_SYM_VALUE(FIX) 0
61
62 /* No shared lib support, so we don't need to ensure externally
63 visible symbols can be overridden. */
64 #define EXTERN_FORCE_RELOC 0
This page took 0.043244 seconds and 4 git commands to generate.