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