Back to index

cell-binutils  2.17cvs20070401
tc-i370.h
Go to the documentation of this file.
00001 /* tc-i370.h -- Header file for tc-i370.c.
00002    Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2005
00003    Free Software Foundation, Inc.
00004    Written by Ian Lance Taylor, Cygnus Support.
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 the Free
00020    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
00021    02110-1301, USA.  */
00022 
00023 #define TC_I370
00024 
00025 struct fix;
00026 
00027 /* Set the endianness we are using.  Default to big endian.  */
00028 #ifndef TARGET_BYTES_BIG_ENDIAN
00029 #define TARGET_BYTES_BIG_ENDIAN 1
00030 #endif
00031 
00032 /* The target BFD architecture.  */
00033 #define TARGET_ARCH (i370_arch ())
00034 extern enum bfd_architecture i370_arch (void);
00035 
00036 /* Whether or not the target is big endian.  */
00037 extern int target_big_endian;
00038 
00039 /* The target BFD format.  */
00040 #define TARGET_FORMAT ("elf32-i370")
00041 
00042 /* Permit temporary numeric labels.  */
00043 #define LOCAL_LABELS_FB 1
00044 
00045 /* $ is used to refer to the current location.  */
00046 /* #define DOLLAR_DOT */
00047 
00048 /* foo-. gets turned into PC relative relocs.  */
00049 #define DIFF_EXPR_OK
00050 
00051 /* Values passed to md_apply_fix don't include the symbol value.  */
00052 #define MD_APPLY_SYM_VALUE(FIX) 0
00053 
00054 /* We don't need to handle .word strangely.  */
00055 #define WORKING_DOT_WORD
00056 
00057 /* Call md_pcrel_from_section, not md_pcrel_from.  */
00058 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
00059 extern long md_pcrel_from_section (struct fix *, segT);
00060 
00061 #define md_operand(x)
00062 
00063 #define tc_comment_chars i370_comment_chars
00064 extern const char *i370_comment_chars;