~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/gas/config/tc-d10v.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* tc-d10v.h -- Header file for tc-d10v.c.
 
2
   Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2009,
 
3
   2010, 2011 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 3, 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, 51 Franklin Street - Fifth Floor, Boston, MA
 
21
   02110-1301, USA.  */
 
22
 
 
23
#define TC_D10V
 
24
 
 
25
#define TARGET_BYTES_BIG_ENDIAN 1
 
26
 
 
27
/* The target BFD architecture.  */
 
28
#define TARGET_ARCH bfd_arch_d10v
 
29
 
 
30
#define TARGET_FORMAT "elf32-d10v"
 
31
 
 
32
/* Call md_pcrel_from_section, not md_pcrel_from.  */
 
33
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
34
struct fix;
 
35
long md_pcrel_from_section (struct fix *, segT);
 
36
 
 
37
/* Permit temporary numeric labels.  */
 
38
#define LOCAL_LABELS_FB 1
 
39
 
 
40
/* .-foo gets turned into PC relative relocs.  */
 
41
#define DIFF_EXPR_OK
 
42
 
 
43
/* We don't need to handle .word strangely.  */
 
44
#define WORKING_DOT_WORD
 
45
 
 
46
#define md_number_to_chars           number_to_chars_bigendian
 
47
 
 
48
int d10v_cleanup (void);
 
49
void d10v_frob_label (symbolS *);
 
50
#define md_cleanup()                 d10v_cleanup ()
 
51
#define md_do_align(a,b,c,d,e)       d10v_cleanup ()
 
52
#define tc_frob_label(sym)           d10v_frob_label (sym)
 
53
 
 
54
#define tc_fix_adjustable(FIX) d10v_fix_adjustable(FIX)
 
55
bfd_boolean d10v_fix_adjustable (struct fix *);
 
56
 
 
57
/* Values passed to md_apply_fix don't include the symbol value.  */
 
58
#define MD_APPLY_SYM_VALUE(FIX) 0
 
59
 
 
60
/* No shared lib support, so we don't need to ensure externally
 
61
   visible symbols can be overridden.  */
 
62
#define EXTERN_FORCE_RELOC 0
 
63
 
 
64
#define md_flush_pending_output  d10v_cleanup