Initial import from FreeBSD RELENG_4:
[dragonfly.git] / gnu / usr.bin / as / obj.h
1 /* obj.h - defines the object dependent hooks for all object
2    format backends.
3
4    Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
5
6    This file is part of GAS, the GNU Assembler.
7
8    GAS is free software; you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 2, or (at your option)
11    any later version.
12
13    GAS is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with GAS; see the file COPYING.  If not, write to
20    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
21 /*
22  * $FreeBSD: src/gnu/usr.bin/as/obj.h,v 1.5 1999/08/27 23:34:19 peter Exp $
23  */
24
25
26 #if __STDC__ == 1
27
28 char *obj_default_output_file_name(void);
29 void obj_crawl_symbol_chain(object_headers *headers);
30 void obj_emit_relocations(char **where, fixS *fixP, relax_addressT segment_address_in_file);
31 void obj_emit_strings(char **where);
32 void obj_emit_symbols(char **where, symbolS *symbol_rootP);
33 void obj_header_append(char **where, object_headers *headers);
34 void obj_read_begin_hook(void);
35
36 #ifndef obj_symbol_new_hook
37 void obj_symbol_new_hook(symbolS *symbolP);
38 #endif /* obj_symbol_new_hook */
39
40 void obj_symbol_to_chars(char **where, symbolS *symbolP);
41
42 #ifndef obj_pre_write_hook
43 void obj_pre_write_hook(object_headers *headers);
44 #endif /* obj_pre_write_hook */
45
46 #else /* not __STDC__ */
47
48 char *obj_default_output_file_name();
49 void obj_crawl_symbol_chain();
50 void obj_emit_relocations();
51 void obj_emit_strings();
52 void obj_emit_symbols();
53 void obj_header_append();
54 void obj_read_begin_hook();
55
56 #ifndef obj_symbol_new_hook
57 void obj_symbol_new_hook();
58 #endif /* obj_symbol_new_hook */
59
60 void obj_symbol_to_chars();
61
62 #ifndef obj_pre_write_hook
63 void obj_pre_write_hook();
64 #endif /* obj_pre_write_hook */
65
66 #endif /* not __STDC__ */
67
68 extern const pseudo_typeS obj_pseudo_table[];
69
70 /*
71  * Local Variables:
72  * comment-column: 0
73  * fill-column: 131
74  * End:
75  */
76
77 /* end of obj.h */