source: trunk/src/binutils/gas/obj.h@ 607

Last change on this file since 607 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 3.4 KB
Line 
1/* obj.h - defines the object dependent hooks for all object
2 format backends.
3
4 Copyright 1987, 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1999, 2000
5 Free Software Foundation, Inc.
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 the Free
21 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 02111-1307, USA. */
23
24char *obj_default_output_file_name PARAMS ((void));
25void obj_emit_relocations PARAMS ((char **where, fixS * fixP,
26 relax_addressT segment_address_in_file));
27void obj_emit_strings PARAMS ((char **where));
28void obj_emit_symbols PARAMS ((char **where, symbolS * symbols));
29#ifndef obj_read_begin_hook
30void obj_read_begin_hook PARAMS ((void));
31#endif
32#ifndef BFD_ASSEMBLER
33void obj_crawl_symbol_chain PARAMS ((object_headers * headers));
34void obj_header_append PARAMS ((char **where, object_headers * headers));
35#ifndef obj_pre_write_hook
36void obj_pre_write_hook PARAMS ((object_headers * headers));
37#endif
38#endif
39
40#ifndef obj_symbol_new_hook
41void obj_symbol_new_hook PARAMS ((symbolS * symbolP));
42#endif
43
44void obj_symbol_to_chars PARAMS ((char **where, symbolS * symbolP));
45
46extern const pseudo_typeS obj_pseudo_table[];
47
48#ifdef BFD_ASSEMBLER
49struct format_ops {
50 int flavor;
51 unsigned dfl_leading_underscore : 1;
52 unsigned emit_section_symbols : 1;
53 void (*begin) PARAMS ((void));
54 void (*app_file) PARAMS ((const char *));