~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-or32.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-or32.h -- Assemble for the OpenRISC 1000.
 
2
   Copyright (C) 2002, 2003. 2005, 2007 Free Software Foundation, Inc.
 
3
   Contributed by Damjan Lampret <lampret@opencores.org>.
 
4
   Based upon a29k port.
 
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
 
20
   the Free Software Foundation, 51 Franklin Street - Fifth Floor,
 
21
   Boston, MA 02110-1301, USA.  */
 
22
 
 
23
#define TC_OR32
 
24
 
 
25
#define TARGET_BYTES_BIG_ENDIAN 1
 
26
 
 
27
#define LEX_DOLLAR 1
 
28
 
 
29
#ifdef OBJ_ELF
 
30
#define TARGET_FORMAT  "elf32-or32"
 
31
#define TARGET_ARCH    bfd_arch_or32
 
32
#endif
 
33
 
 
34
#ifdef OBJ_COFF
 
35
#define TARGET_FORMAT  "coff-or32-big"
 
36
#define reloc_type     int
 
37
#endif
 
38
 
 
39
#define tc_unrecognized_line(c) or32_unrecognized_line (c)
 
40
 
 
41
extern int or32_unrecognized_line (int);
 
42
 
 
43
#define tc_coff_symbol_emit_hook(a) ; /* Not used.  */
 
44
 
 
45
#define COFF_MAGIC                  SIPFBOMAGIC
 
46
 
 
47
/* No shared lib support, so we don't need to ensure externally
 
48
   visible symbols can be overridden.  */
 
49
#define EXTERN_FORCE_RELOC 0
 
50
 
 
51
#ifdef OBJ_ELF
 
52
/* Values passed to md_apply_fix don't include the symbol value.  */
 
53
#define MD_APPLY_SYM_VALUE(FIX) 0
 
54
#endif
 
55
 
 
56
#define ZERO_BASED_SEGMENTS