Back to index

cell-binutils  2.17cvs20070401
tc-dlx.h
Go to the documentation of this file.
00001 /* tc-dlx.h -- Assemble for the DLX
00002    Copyright 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
00003 
00004    This file is part of GAS, the GNU Assembler.
00005 
00006    GAS is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2, or (at your option)
00009    any later version.
00010 
00011    GAS is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015 
00016    You should have received a copy of the GNU General Public License
00017    along with GAS; see the file COPYING.  If not, write to the Free
00018    Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
00019    02110-1301, USA.  */
00020 
00021 /* Initially created by Kuang Hwa Lin, 3/20/2002.  */
00022 
00023 #define TC_DLX
00024 
00025 /* The target BFD architecture.  */
00026 #define TARGET_ARCH              bfd_arch_dlx
00027 #define TARGET_FORMAT            "elf32-dlx"
00028 #define TARGET_BYTES_BIG_ENDIAN     1
00029 
00030 #define WORKING_DOT_WORD
00031 
00032 #define LEX_DOLLAR 1
00033 
00034 extern void dlx_pop_insert         (void);
00035 extern int set_dlx_skip_hi16_flag  (int);
00036 extern int dlx_unrecognized_line   (int);
00037 extern bfd_boolean md_dlx_fix_adjustable  (struct fix *);
00038 
00039 #define md_pop_insert()                    dlx_pop_insert ()
00040 
00041 #define md_convert_frag(b,s,f)            as_fatal ("convert_frag called\n")
00042 #define md_estimate_size_before_relax(f,s) \
00043                      (as_fatal ("estimate_size_before_relax called"),1)
00044 
00045 #define tc_unrecognized_line(c) dlx_unrecognized_line (c)
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 #define tc_fix_adjustable(FIX) md_dlx_fix_adjustable (FIX)
00052 
00053 /* Values passed to md_apply_fix don't include the symbol value.  */
00054 #define MD_APPLY_SYM_VALUE(FIX) 0
00055 
00056 /* Zero Based Segment?? sound very dangerous to me!     */
00057 #define ZERO_BASED_SEGMENTS
00058 
00059 /* Permit temporary numeric labels.  */
00060 #define LOCAL_LABELS_FB 1
00061 
00062 #undef  LOCAL_LABELS_DOLLAR
00063 #define LOCAL_LABELS_DOLLAR 0
00064 
00065 /* .-foo gets turned into PC relative relocs.  */
00066 #define DIFF_EXPR_OK