Back to index

cell-binutils  2.17cvs20070401
tc-or32.h
Go to the documentation of this file.
00001 /* tc-or32.h -- Assemble for the OpenRISC 1000.
00002    Copyright (C) 2002, 2003. 2005 Free Software Foundation, Inc.
00003    Contributed by Damjan Lampret <lampret@opencores.org>.
00004    Based upon a29k port.
00005 
00006    This file is part of GAS, the GNU Assembler.
00007 
00008    GAS is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    GAS is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with GAS; see the file COPYING.  If not, write to
00020    the Free Software Foundation, 51 Franklin Street - Fifth Floor,
00021    Boston, MA 02110-1301, USA.  */
00022 
00023 #define TC_OR32
00024 
00025 #define TARGET_BYTES_BIG_ENDIAN 1
00026 
00027 #define LEX_DOLLAR 1
00028 
00029 #ifdef OBJ_ELF
00030 #define TARGET_FORMAT  "elf32-or32"
00031 #define TARGET_ARCH    bfd_arch_or32
00032 #endif
00033 
00034 #ifdef OBJ_COFF
00035 #define TARGET_FORMAT  "coff-or32-big"
00036 #define reloc_type     int
00037 #endif
00038 
00039 #define tc_unrecognized_line(c) or32_unrecognized_line (c)
00040 
00041 extern int or32_unrecognized_line (int);
00042 
00043 #define tc_coff_symbol_emit_hook(a) ; /* Not used.  */
00044 
00045 #define COFF_MAGIC                  SIPFBOMAGIC
00046 
00047 /* No shared lib support, so we don't need to ensure externally
00048    visible symbols can be overridden.  */
00049 #define EXTERN_FORCE_RELOC 0
00050 
00051 #ifdef OBJ_ELF
00052 /* Values passed to md_apply_fix don't include the symbol value.  */
00053 #define MD_APPLY_SYM_VALUE(FIX) 0
00054 #endif
00055 
00056 #define ZERO_BASED_SEGMENTS