Back to index

cell-binutils  2.17cvs20070401
tc.h
Go to the documentation of this file.
00001 /* tc.h - target cpu dependent
00002 
00003    Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 2000, 2001, 2003,
00004    2004, 2005
00005    Free Software Foundation, Inc.
00006 
00007    This file is part of GAS, the GNU Assembler.
00008 
00009    GAS is free software; you can redistribute it and/or modify
00010    it under the terms of the GNU General Public License as published by
00011    the Free Software Foundation; either version 2, or (at your option)
00012    any later version.
00013 
00014    GAS is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017    GNU General Public License for more details.
00018 
00019    You should have received a copy of the GNU General Public License
00020    along with GAS; see the file COPYING.  If not, write to
00021    the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00022 
00023 /* In theory (mine, at least!) the machine dependent part of the assembler
00024    should only have to include one file.  This one.  -- JF */
00025 
00026 extern const pseudo_typeS md_pseudo_table[];
00027 
00028 char * md_atof (int, char *, int *);
00029 int    md_parse_option (int, char *);
00030 void   md_show_usage (FILE *);
00031 void   md_assemble (char *);
00032 void   md_begin (void);
00033 void   md_number_to_chars (char *, valueT, int);
00034 void   md_apply_fix (fixS *, valueT *, segT);
00035 
00036 #ifndef WORKING_DOT_WORD
00037 extern int md_short_jump_size;
00038 extern int md_long_jump_size;
00039 #endif
00040 
00041 #ifdef USE_UNIQUE
00042 /* The name of an external symbol which is
00043    used to make weak PE symbol names unique.  */
00044 extern const char * an_external_name;
00045 #endif
00046 
00047 #ifndef md_create_long_jump
00048 void    md_create_long_jump (char *, addressT, addressT, fragS *, symbolS *);
00049 #endif
00050 #ifndef md_create_short_jump
00051 void    md_create_short_jump (char *, addressT, addressT, fragS *, symbolS *);
00052 #endif
00053 #ifndef md_pcrel_from
00054 long    md_pcrel_from (fixS *);
00055 #endif
00056 #ifndef md_operand
00057 void    md_operand (expressionS *);
00058 #endif
00059 #ifndef md_estimate_size_before_relax
00060 int     md_estimate_size_before_relax (fragS * fragP, segT);
00061 #endif
00062 #ifndef md_section_align
00063 valueT  md_section_align (segT, valueT);
00064 #endif
00065 #ifndef  md_undefined_symbol
00066 symbolS *md_undefined_symbol (char *);
00067 #endif
00068 
00069 #ifndef md_convert_frag
00070 void    md_convert_frag (bfd *, segT, fragS *);
00071 #endif
00072 #ifndef RELOC_EXPANSION_POSSIBLE
00073 extern arelent *tc_gen_reloc (asection *, fixS *);
00074 #else
00075 extern arelent **tc_gen_reloc (asection *, fixS *);
00076 #endif