* subsegs.h (seg_info): Provide dummy version for non-BFD_ASSEMBLER,
[deliverable/binutils-gdb.git] / gas / obj.h
CommitLineData
fecd2382
RP
1/* obj.h - defines the object dependent hooks for all object
2 format backends.
6efd877d
KR
3
4 Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
5
a39116f1 6 This file is part of GAS, the GNU Assembler.
6efd877d 7
a39116f1
RP
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.
6efd877d 12
a39116f1
RP
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.
6efd877d 17
a39116f1
RP
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. */
fecd2382 21
6efd877d 22#if __STDC__ == 1
fecd2382 23
6efd877d
KR
24char *obj_default_output_file_name (void);
25void obj_crawl_symbol_chain (object_headers * headers);
26void obj_emit_relocations (char **where, fixS * fixP, relax_addressT segment_address_in_file);
27void obj_emit_strings (char **where);
28void obj_emit_symbols (char **where, symbolS * symbol_rootP);
29void obj_header_append (char **where, object_headers * headers);
30void obj_read_begin_hook (void);
a39116f1
RP
31
32#ifndef obj_symbol_new_hook
6efd877d 33void obj_symbol_new_hook (symbolS * symbolP);
a39116f1
RP
34#endif /* obj_symbol_new_hook */
35
6efd877d 36void obj_symbol_to_chars (char **where, symbolS * symbolP);
fecd2382
RP
37
38#ifndef obj_pre_write_hook
6efd877d 39void obj_pre_write_hook (object_headers * headers);
fecd2382
RP
40#endif /* obj_pre_write_hook */
41
6efd877d 42#else /* not __STDC__ */
fecd2382 43
6efd877d
KR
44char *obj_default_output_file_name ();
45void obj_crawl_symbol_chain ();
46void obj_emit_relocations ();
47void obj_emit_strings ();
48void obj_emit_symbols ();
49void obj_header_append ();
50void obj_read_begin_hook ();
a39116f1
RP
51
52#ifndef obj_symbol_new_hook
6efd877d 53void obj_symbol_new_hook ();
a39116f1
RP
54#endif /* obj_symbol_new_hook */
55
6efd877d 56void obj_symbol_to_chars ();
fecd2382
RP
57
58#ifndef obj_pre_write_hook
6efd877d 59void obj_pre_write_hook ();
fecd2382
RP
60#endif /* obj_pre_write_hook */
61
6efd877d 62#endif /* not __STDC__ */
fecd2382
RP
63
64extern const pseudo_typeS obj_pseudo_table[];
65
66/*
67 * Local Variables:
68 * comment-column: 0
69 * fill-column: 131
70 * End:
71 */
72
73/* end of obj.h */
This page took 0.197583 seconds and 4 git commands to generate.