]>
Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | /* tc.h - target cpu dependent |
2 | ||
f17c130b AM |
3 | Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 2000, 2001, 2003, |
4 | 2004, 2005 | |
f7e42eb4 | 5 | Free Software Foundation, Inc. |
252b5132 RH |
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 2, 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 | |
4b4da160 | 21 | the Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ |
252b5132 RH |
22 | |
23 | /* In theory (mine, at least!) the machine dependent part of the assembler | |
24 | should only have to include one file. This one. -- JF */ | |
25 | ||
26 | extern const pseudo_typeS md_pseudo_table[]; | |
27 | ||
329e276d NC |
28 | char * md_atof (int, char *, int *); |
29 | int md_parse_option (int, char *); | |
30 | void md_show_usage (FILE *); | |
329e276d NC |
31 | void md_assemble (char *); |
32 | void md_begin (void); | |
33 | void md_number_to_chars (char *, valueT, int); | |
55cf6793 | 34 | void md_apply_fix (fixS *, valueT *, segT); |
329e276d | 35 | |
2b4f075a HPN |
36 | #ifndef WORKING_DOT_WORD |
37 | extern int md_short_jump_size; | |
38 | extern int md_long_jump_size; | |
39 | #endif | |
252b5132 | 40 | |
977cdf5a NC |
41 | #ifdef USE_UNIQUE |
42 | /* The name of an external symbol which is | |
43 | used to make weak PE symbol names unique. */ | |
44 | extern const char * an_external_name; | |
45 | #endif | |
46 | ||
252b5132 | 47 | #ifndef md_create_long_jump |
329e276d | 48 | void md_create_long_jump (char *, addressT, addressT, fragS *, symbolS *); |
252b5132 RH |
49 | #endif |
50 | #ifndef md_create_short_jump | |
329e276d NC |
51 | void md_create_short_jump (char *, addressT, addressT, fragS *, symbolS *); |
52 | #endif | |
53 | #ifndef md_pcrel_from | |
54 | long md_pcrel_from (fixS *); | |
252b5132 | 55 | #endif |
252b5132 | 56 | #ifndef md_operand |
329e276d NC |
57 | void md_operand (expressionS *); |
58 | #endif | |
59 | #ifndef md_estimate_size_before_relax | |
60 | int md_estimate_size_before_relax (fragS * fragP, segT); | |
61 | #endif | |
62 | #ifndef md_section_align | |
63 | valueT md_section_align (segT, valueT); | |
64 | #endif | |
65 | #ifndef md_undefined_symbol | |
66 | symbolS *md_undefined_symbol (char *); | |
252b5132 | 67 | #endif |
94f592af | 68 | |
252b5132 | 69 | #ifndef md_convert_frag |
329e276d | 70 | void md_convert_frag (bfd *, segT, fragS *); |
252b5132 | 71 | #endif |
252b5132 | 72 | #ifndef RELOC_EXPANSION_POSSIBLE |
24361518 | 73 | extern arelent *tc_gen_reloc (asection *, fixS *); |
252b5132 | 74 | #else |
24361518 | 75 | extern arelent **tc_gen_reloc (asection *, fixS *); |
252b5132 | 76 | #endif |