Convert unmaintained files over to ISO-C90 and fix formatting.
[deliverable/binutils-gdb.git] / gas / config / tc-d30v.h
1 /* tc-310v.h -- Header file for tc-d30v.c.
2 Copyright 1997, 1998, 2000, 2001, 2002, 2005
3 Free Software Foundation, Inc.
4 Written by Martin Hunt, Cygnus Support.
5
6 This file is part of GAS, the GNU Assembler.
7
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to the Free
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
21 02111-1307, USA. */
22
23 #define TC_D30V
24
25 #ifndef BFD_ASSEMBLER
26 #error D30V support requires BFD_ASSEMBLER
27 #endif
28
29 /* The target BFD architecture. */
30 #define TARGET_ARCH bfd_arch_d30v
31 #define TARGET_FORMAT "elf32-d30v"
32 #define TARGET_BYTES_BIG_ENDIAN 1
33
34 #define md_operand(x)
35
36 /* Call md_pcrel_from_section, not md_pcrel_from. */
37 struct fix;
38 extern long md_pcrel_from_section (struct fix *, segT);
39 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
40
41 /* Permit temporary numeric labels. */
42 #define LOCAL_LABELS_FB 1
43
44 /* .-foo gets turned into PC relative relocs. */
45 #define DIFF_EXPR_OK
46
47 /* We don't need to handle .word strangely. */
48 #define WORKING_DOT_WORD
49
50 #define md_number_to_chars number_to_chars_bigendian
51
52 int d30v_cleanup (int);
53 #define md_after_pass_hook() d30v_cleanup (FALSE)
54 #define md_cleanup() d30v_cleanup (FALSE)
55 #define TC_START_LABEL(ch, ptr) (ch == ':' && d30v_cleanup (FALSE))
56 void d30v_start_line (void);
57 #define md_start_line_hook() d30v_start_line ()
58
59 void d30v_frob_label (symbolS *);
60 #define tc_frob_label(sym) d30v_frob_label (sym)
61
62 void d30v_cons_align (int);
63 #define md_cons_align(nbytes) d30v_cons_align (nbytes)
64
65 /* Values passed to md_apply_fix3 don't include the symbol value. */
66 #define MD_APPLY_SYM_VALUE(FIX) 0
67
68 /* No shared lib support, so we don't need to ensure externally
69 visible symbols can be overridden. */
70 #define EXTERN_FORCE_RELOC 0
This page took 0.030448 seconds and 4 git commands to generate.