1 /* obj.h - defines the object dependent hooks for all object
4 Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
6 This file is part of GAS, the GNU Assembler.
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)
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.
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. */
22 * $FreeBSD: src/gnu/usr.bin/as/obj.h,v 1.5 1999/08/27 23:34:19 peter Exp $
23 * $DragonFly: src/gnu/usr.bin/as/Attic/obj.h,v 1.2 2003/06/17 04:25:44 dillon Exp $
29 char *obj_default_output_file_name(void);
30 void obj_crawl_symbol_chain(object_headers *headers);
31 void obj_emit_relocations(char **where, fixS *fixP, relax_addressT segment_address_in_file);
32 void obj_emit_strings(char **where);
33 void obj_emit_symbols(char **where, symbolS *symbol_rootP);
34 void obj_header_append(char **where, object_headers *headers);
35 void obj_read_begin_hook(void);
37 #ifndef obj_symbol_new_hook
38 void obj_symbol_new_hook(symbolS *symbolP);
39 #endif /* obj_symbol_new_hook */
41 void obj_symbol_to_chars(char **where, symbolS *symbolP);
43 #ifndef obj_pre_write_hook
44 void obj_pre_write_hook(object_headers *headers);
45 #endif /* obj_pre_write_hook */
47 #else /* not __STDC__ */
49 char *obj_default_output_file_name();
50 void obj_crawl_symbol_chain();
51 void obj_emit_relocations();
52 void obj_emit_strings();
53 void obj_emit_symbols();
54 void obj_header_append();
55 void obj_read_begin_hook();
57 #ifndef obj_symbol_new_hook
58 void obj_symbol_new_hook();
59 #endif /* obj_symbol_new_hook */
61 void obj_symbol_to_chars();
63 #ifndef obj_pre_write_hook
64 void obj_pre_write_hook();
65 #endif /* obj_pre_write_hook */
67 #endif /* not __STDC__ */
69 extern const pseudo_typeS obj_pseudo_table[];