1 /* SOM object file format.
2 Copyright 1993, 1994, 1995, 1998, 2000, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
5 This file is part of GAS, the GNU Assembler.
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GAS; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
22 Written by the Center for Software Science at the University of Utah
23 and by Cygnus Support. */
38 /* should be conditional on address size! */
39 #define som_symbol(asymbol) ((som_symbol_type *) (&(asymbol)->the_bfd))
41 extern void som_file_symbol (char *);
42 extern void som_frob_file (void);
43 extern void obj_som_version (int);
44 extern void obj_som_init_stab_section (segT
);
45 extern void obj_som_copyright (int);
46 extern void obj_som_compiler (int);
48 #define obj_symbol_new_hook(s) {;}
50 /* SOM has several attributes for spaces/subspaces which can not
51 be easily expressed in BFD. We use these macros to trigger calls
52 into the SOM BFD backend to set these attributes. */
53 #define obj_set_section_attributes bfd_som_set_section_attributes
54 #define obj_set_subsection_attributes bfd_som_set_subsection_attributes
56 /* Likewise for symbol types. */
57 #define obj_set_symbol_type bfd_som_set_symbol_type
59 /* Stabs go in a separate sections. GDB expects to find them in sections
60 with the names $GDB_SYMBOLS$ and $GDB_STRINGS$ rather than .stab and
62 #define SEPARATE_STAB_SECTIONS 1
63 #define STAB_SECTION_NAME "$GDB_SYMBOLS$"
64 #define STAB_STRING_SECTION_NAME "$GDB_STRINGS$"
66 /* We use INIT_STAB_SECTION to record the space/subspace relationships
67 for the various debugging sections. */
68 #define INIT_STAB_SECTION(seg) obj_som_init_stab_section (seg)
70 /* We'll be updating the magic 1st stab entry once the entire assembly
71 fail has been processed. */
72 #define obj_frob_file() som_frob_file()
74 #endif /* _OBJ_SOM_H */
This page took 0.032079 seconds and 4 git commands to generate.