gas: blackfin: fix DBG/DBGCMPLX insn encoding
[deliverable/binutils-gdb.git] / gas / config / tc-d10v.h
CommitLineData
252b5132 1/* tc-d10v.h -- Header file for tc-d10v.c.
e4d9f078
AM
2 Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2009,
3 2010 Free Software Foundation, Inc.
252b5132
RH
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
ec2655a6 10 the Free Software Foundation; either version 3, or (at your option)
252b5132
RH
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
4b4da160
NC
20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21 02110-1301, USA. */
252b5132
RH
22
23#define TC_D10V
24
e4d9f078 25#define TARGET_BYTES_BIG_ENDIAN 1
252b5132 26
252b5132
RH
27/* The target BFD architecture. */
28#define TARGET_ARCH bfd_arch_d10v
29
30#define TARGET_FORMAT "elf32-d10v"
31
94f592af 32/* Call md_pcrel_from_section, not md_pcrel_from. */
ea1562b3 33#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
a161fe53 34struct fix;
ea1562b3 35long md_pcrel_from_section (struct fix *, segT);
252b5132
RH
36
37/* Permit temporary numeric labels. */
38#define LOCAL_LABELS_FB 1
39
ea1562b3
NC
40/* .-foo gets turned into PC relative relocs. */
41#define DIFF_EXPR_OK
252b5132
RH
42
43/* We don't need to handle .word strangely. */
44#define WORKING_DOT_WORD
45
1d3b2b27 46#define md_number_to_chars number_to_chars_bigendian
252b5132 47
ea1562b3 48int d10v_cleanup (void);
800f6ec8 49void d10v_frob_label (symbolS *);
07726851
KH
50#define md_after_pass_hook() d10v_cleanup ()
51#define md_cleanup() d10v_cleanup ()
52#define md_do_align(a,b,c,d,e) d10v_cleanup ()
800f6ec8 53#define tc_frob_label(sym) d10v_frob_label (sym)
252b5132 54
a161fe53 55#define tc_fix_adjustable(FIX) d10v_fix_adjustable(FIX)
ea1562b3 56bfd_boolean d10v_fix_adjustable (struct fix *);
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
252b5132 64
447f3982 65#define md_flush_pending_output d10v_cleanup
This page took 0.633243 seconds and 4 git commands to generate.