diff options
author | Steve Chamberlain <sac@cygnus> | 1991-12-01 00:39:12 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1991-12-01 00:39:12 +0000 |
commit | 0cda46cff12b3ee596b1d1ac521a3014e92b5492 (patch) | |
tree | fee107a1424a5ffc7b6a17b5ba4ca91565fb8cad /bfd/libcoff.h | |
parent | 93351e91c53c3a4dcc69950f6542c2e7788d7851 (diff) | |
download | gdb-0cda46cff12b3ee596b1d1ac521a3014e92b5492.zip gdb-0cda46cff12b3ee596b1d1ac521a3014e92b5492.tar.gz gdb-0cda46cff12b3ee596b1d1ac521a3014e92b5492.tar.bz2 |
New documentation style
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r-- | bfd/libcoff.h | 110 |
1 files changed, 41 insertions, 69 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h index 43dc87b..b666e2e 100644 --- a/bfd/libcoff.h +++ b/bfd/libcoff.h @@ -29,7 +29,32 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define obj_relocbase(bfd) (coff_data(bfd)->relocbase) #define obj_raw_syments(bfd) (coff_data(bfd)->raw_syments) #define obj_convert(bfd) (coff_data(bfd)->conversion_table) +#if CFILE_STUFF +#define obj_symbol_slew(bfd) (coff_data(bfd)->symbol_index_slew) +#else +#define obj_symbol_slew(bfd) 0 +#endif + +#if 0 +typedef struct coff_ptr_struct +{ + unsigned int offset; + char fix_tag; + char fix_end; + union { + union internal_auxent auxent; + struct internal_syment syment; + } u; +} combined_entry_type; + +typedef struct +{ + asymbol symbol; + combined_entry_type *native; + struct lineno_cache_entry *lineno; +} coff_symbol_type; +#endif /* `Tdata' information kept for COFF files. */ @@ -71,73 +96,20 @@ typedef struct coff_tdata /*THE FOLLOWING IS EXTRACTED FROM THE SOURCE*/ /*:coffcode.h*/ - -/* -The hidden information for an asymbol is: -*/ - - typedef struct coff_ptr_struct - { - -/* -Remembers the offset from the first symbol in the file for this -symbol. Generated by @code{coff_renumber_symbols}. -*/ - - unsigned int offset; - -/* -Should the tag field of this symbol be renumbered. -Created by @code{coff_pointerize_aux}. -*/ - - char fix_tag; - -/* -Should the endidx field of this symbol be renumbered. -Created by @code{coff_pointerize_aux}. -*/ - - char fix_end; - -/* -The container for the symbol structure as read and translated from the file. -*/ - - union { - union internal_auxent auxent; - struct internal_syment syment; - } u; - } combined_entry_type; - -/* - -Each canonical asymbol really looks like this: -*/ - - typedef struct coff_symbol_struct - { - -/* -The actual symbol which the rest of BFD works with -*/ - - asymbol symbol; - -/* -A pointer to the hidden information for this symbol -*/ - - combined_entry_type *native; - -/* -A pointer to the linenumber information for this symbol -*/ - - struct lineno_cache_entry *lineno; - } coff_symbol_type; - -/* -*/ - +typedef struct coff_ptr_struct +{ +unsigned int offset; +char fix_tag; +char fix_end; +union { + union internal_auxent auxent; + struct internal_syment syment; + } u; +} combined_entry_type; +typedef struct coff_symbol_struct +{ +asymbol symbol; +combined_entry_type *native; +struct lineno_cache_entry *lineno; +} coff_symbol_type; |