This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / gnu / usr.bin / as / md.h
CommitLineData
7b374118
NW
1/* md.h -machine dependent- */
2
3/* Copyright (C) 1987 Free Software Foundation, Inc.
4
5This file is part of Gas, the GNU Assembler.
6
7The GNU assembler is distributed in the hope that it will be
8useful, but WITHOUT ANY WARRANTY. No author or distributor
9accepts responsibility to anyone for the consequences of using it
10or for whether it serves any particular purpose or works at all,
11unless he says so in writing. Refer to the GNU Assembler General
12Public License for full details.
13
14Everyone is granted permission to copy, modify and redistribute
15the GNU Assembler, but only under the conditions described in the
16GNU Assembler General Public License. A copy of this license is
17supposed to have been given to you along with the GNU Assembler
18so you can know your rights and responsibilities. It should be
19in a file named COPYING. Among other things, the copyright
20notice and this notice must be preserved on all copies. */
21
22/* In theory (mine, at least!) the machine dependent part of the assembler
23 should only have to include one file. This one. -- JF */
24
25/* JF added this here */
26typedef struct {
27 char * poc_name; /* assembler mnemonic, lower case, no '.' */
28 void (*poc_handler)(); /* Do the work */
29 int poc_val; /* Value to pass to handler */
30}
31pseudo_typeS;
32extern const pseudo_typeS md_pseudo_table[];
33
34/* JF moved this here from as.h under the theory that nobody except MACHINE.c
35 and write.c care about it anyway. */
36
37typedef struct
38{
39 long rlx_forward; /* Forward reach. Signed number. > 0. */
40 long rlx_backward; /* Backward reach. Signed number. < 0. */
41 unsigned char rlx_length; /* Bytes length of this address. */
42 relax_substateT rlx_more; /* Next longer relax-state. */
43 /* 0 means there is no 'next' relax-state. */
44}
45relax_typeS;
46
47extern const relax_typeS md_relax_table[]; /* Define it in MACHINE.c */
48
49char * md_atof();
50void md_assemble();
51void md_begin();
52void md_convert_frag();
53void md_end();
54int md_estimate_size_before_relax();
55void md_number_to_chars();
56
57/* end: md.h */