OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [config/] [tc-moxie.h] - Blame information for rev 299

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
/* tc-moxie.h -- Header file for tc-moxie.c.
2
 
3
   Copyright 2009 Free Software Foundation, Inc.
4
 
5
   This file is part of GAS, the GNU Assembler.
6
 
7
   GAS is free software; you can redistribute it and/or modify
8
   it under the terms of the GNU General Public License as published by
9
   the Free Software Foundation; either version 3, or (at your option)
10
   any later version.
11
 
12
   GAS is distributed in the hope that it will be useful,
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
14
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
   GNU General Public License for more details.
16
 
17
   You should have received a copy of the GNU General Public License along
18
   with GAS; see the file COPYING.  If not, write to the Free Software
19
   Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
20
 
21
#define TC_MOXIE 1
22
#define TARGET_BYTES_BIG_ENDIAN 1
23
#define WORKING_DOT_WORD
24
 
25
/* This macro is the BFD target name to use when creating the output
26
   file.  This will normally depend upon the `OBJ_FMT' macro.  */
27
#define TARGET_FORMAT "elf32-moxie"
28
 
29
/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'.  */
30
#define TARGET_ARCH bfd_arch_moxie
31
 
32
#define md_undefined_symbol(NAME)           0
33
 
34
/* These macros must be defined, but is will be a fatal assembler
35
   error if we ever hit them.  */
36
#define md_estimate_size_before_relax(A, B) (as_fatal (_("estimate size\n")), 0)
37
#define md_convert_frag(B, S, F)            (as_fatal (_("convert_frag\n")), 0)
38
 
39
/* If you define this macro, it should return the offset between the
40
   address of a PC relative fixup and the position from which the PC
41
   relative adjustment should be made.  On many processors, the base
42
   of a PC relative instruction is the next instruction, so this
43
   macro would return the length of an instruction.  */
44
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from (FIX)
45
extern long md_pcrel_from (struct fix *);
46
 
47
#define md_section_align(SEGMENT, SIZE)     (SIZE)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.