* doc/c-ppc.texi (PowerPC-Opts): Add -mpower4 and -maltivec.
[deliverable/binutils-gdb.git] / gas / config / tc-or32.h
CommitLineData
3b16e843
NC
1/* tc-or32.h -- Assemble for the OpenRISC 1000.
2 Copyright (C) 2002 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 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
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, 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
41extern int or32_unrecognized_line PARAMS ((int));
42
43#define tc_headers_hook(a) ; /* not used */
44#define tc_headers_hook(a) ; /* not used */
45#define tc_crawl_symbol_chain(a) ; /* not used */
46#define tc_coff_symbol_emit_hook(a) ; /* not used */
47
48#define AOUT_MACHTYPE 80
49#define TC_COFF_FIX2RTYPE(fix_ptr) tc_coff_fix2rtype (fix_ptr)
50#define BFD_ARCH bfd_arch_or32
51#define COFF_MAGIC SIPFBOMAGIC
52
53/* Should the reloc be output ?
54 on the 29k, this is true only if there is a symbol attatched.
55 on the h8, this is allways true, since no fixup is done. */
56#define TC_COUNT_RELOC(x) (x->fx_addsy)
57#define TC_CONS_RELOC RELOC_32
58
59#define COFF_FLAGS F_AR32W
60#define NEED_FX_R_TYPE
61
62#define ZERO_BASED_SEGMENTS
63
This page took 0.030076 seconds and 4 git commands to generate.