1 /* tc.h - target cpu dependent 2 3 Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 2000, 2001, 2003, 4 2004, 2005, 2007 5 Free Software Foundation, Inc. 6 7 This file is part of GAS, the GNU Assembler. 8 9 GAS is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 3, or (at your option) 12 any later version. 13 14 GAS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU General Public License for more details. 18 19 You should have received a copy of the GNU General Public License 20 along with GAS; see the file COPYING. If not, write to 21 the Free Software Foundation, 51 Franklin Street - Fifth Floor, 22 Boston, MA 02110-1301, USA. */ 23 24 /* In theory (mine, at least!) the machine dependent part of the assembler 25 should only have to include one file. This one. -- JF */ 26 27 extern const pseudo_typeS md_pseudo_table[]; 28 29 char * md_atof (int, char *, int *); 30 int md_parse_option (int, char *); 31 void md_show_usage (FILE *); 32 void md_assemble (char *); 33 void md_begin (void); 34 void md_number_to_chars (char *, valueT, int); 35 void md_apply_fix (fixS *, valueT *, segT); 36 37 #ifndef WORKING_DOT_WORD 38 extern int md_short_jump_size; 39 extern int md_long_jump_size; 40 #endif 41 42 #ifdef USE_UNIQUE 43 /* The name of an external symbol which is 44 used to make weak PE symbol names unique. */ 45 extern const char * an_external_name; 46 #endif 47 48 #ifndef md_create_long_jump 49 void md_create_long_jump (char *, addressT, addressT, fragS *, symbolS *); 50 #endif 51 #ifndef md_create_short_jump 52 void md_create_short_jump (char *, addressT, addressT, fragS *, symbolS *); 53 #endif 54 #ifndef md_pcrel_from 55 long md_pcrel_from (fixS *); 56 #endif 57 #ifndef md_operand 58 void md_operand (expressionS *); 59 #endif 60 #ifndef md_estimate_size_before_relax 61 int md_estimate_size_before_relax (fragS * fragP, segT); 62 #endif 63 #ifndef md_section_align 64 valueT md_section_align (segT, valueT); 65 #endif 66 #ifndef md_undefined_symbol 67 symbolS *md_undefined_symbol (char *); 68 #endif 69 70 #ifndef md_convert_frag 71 void md_convert_frag (bfd *, segT, fragS *); 72 #endif 73 #ifndef RELOC_EXPANSION_POSSIBLE 74 extern arelent *tc_gen_reloc (asection *, fixS *); 75 #else 76 extern arelent **tc_gen_reloc (asection *, fixS *); 77 #endif 78