* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[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
1e63de91
KR
22char *obj_default_output_file_name PARAMS ((void));
23void obj_emit_relocations PARAMS ((char **where, fixS * fixP,
24 relax_addressT segment_address_in_file));
25void obj_emit_strings PARAMS ((char **where));
26void obj_emit_symbols PARAMS ((char **where, symbolS * symbols));
27void obj_read_begin_hook PARAMS ((void));
28#ifndef BFD_ASSEMBLER
29void obj_crawl_symbol_chain PARAMS ((object_headers * headers));
30void obj_header_append PARAMS ((char **where, object_headers * headers));
fecd2382 31#ifndef obj_pre_write_hook
1e63de91
KR
32void obj_pre_write_hook PARAMS ((object_headers * headers));
33#endif
34#endif
a39116f1
RP
35
36#ifndef obj_symbol_new_hook
1e63de91
KR
37void obj_symbol_new_hook PARAMS ((symbolS * symbolP));
38#endif
fecd2382 39
1e63de91 40void obj_symbol_to_chars PARAMS ((char **where, symbolS * symbolP));
fecd2382
RP
41
42extern const pseudo_typeS obj_pseudo_table[];
43
1e63de91
KR
44#ifdef BFD_ASSEMBLER
45struct format_ops {
46 int flavor;
47 unsigned char dfl_leading_underscore : 1;
48 unsigned char emit_section_symbols : 1;
49 void (*frob_symbol) PARAMS ((symbolS *, int *));
50 void (*frob_file) PARAMS ((void));
51 bfd_vma (*s_get_size) PARAMS ((symbolS *));
52 void (*s_set_size) PARAMS ((symbolS *, bfd_vma));
53 bfd_vma (*s_get_align) PARAMS ((symbolS *));
54 void (*s_set_align) PARAMS ((symbolS *, bfd_vma));
55 void (*copy_symbol_attributes) PARAMS ((symbolS *, symbolS *));
56 void (*generate_asm_lineno) PARAMS ((const char *, int));
57 void (*process_stab) (/* what, string, type, other, desc */);
58 int (*sec_sym_ok_for_reloc) PARAMS ((asection *));
59 void (*pop_insert) PARAMS ((void));
60};
61
62#ifndef this_format
63COMMON const struct format_ops *this_format;
64#endif
65#endif
fecd2382
RP
66
67/* end of obj.h */
This page took 0.252989 seconds and 4 git commands to generate.