aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-08 12:08:43 +0000
committerAlan Modra <amodra@gmail.com>2000-07-08 12:08:43 +0000
commit52b219b5e48eea63fde7bff994824f5d87a8e1f5 (patch)
treec8438e3cd3d875d601b343e7fd991e9130c65f69 /bfd/libcoff.h
parent181866dcc78f58b2c46d54eaf0db70f010256770 (diff)
downloadgdb-52b219b5e48eea63fde7bff994824f5d87a8e1f5.zip
gdb-52b219b5e48eea63fde7bff994824f5d87a8e1f5.tar.gz
gdb-52b219b5e48eea63fde7bff994824f5d87a8e1f5.tar.bz2
Add sequence id field to asection.
Tidy comments and replace deprecated CONST with const.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 78a03e1..9cf52e8 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -578,32 +578,32 @@ extern boolean ppc_process_before_allocation
typedef struct coff_ptr_struct
{
- /* Remembers the offset from the first symbol in the file for
+ /* Remembers the offset from the first symbol in the file for
this symbol. Generated by coff_renumber_symbols. */
unsigned int offset;
- /* Should the value of this symbol be renumbered. Used for
+ /* Should the value of this symbol be renumbered. Used for
XCOFF C_BSTAT symbols. Set by coff_slurp_symbol_table. */
unsigned int fix_value : 1;
- /* Should the tag field of this symbol be renumbered.
+ /* Should the tag field of this symbol be renumbered.
Created by coff_pointerize_aux. */
unsigned int fix_tag : 1;
- /* Should the endidx field of this symbol be renumbered.
+ /* Should the endidx field of this symbol be renumbered.
Created by coff_pointerize_aux. */
unsigned int fix_end : 1;
- /* Should the x_csect.x_scnlen field be renumbered.
+ /* Should the x_csect.x_scnlen field be renumbered.
Created by coff_pointerize_aux. */
unsigned int fix_scnlen : 1;
- /* Fix up an XCOFF C_BINCL/C_EINCL symbol. The value is the
+ /* Fix up an XCOFF C_BINCL/C_EINCL symbol. The value is the
index into the line number entries. Set by
coff_slurp_symbol_table. */
unsigned int fix_line : 1;
- /* The container for the symbol structure as read and translated
+ /* The container for the symbol structure as read and translated
from the file. */
union {
@@ -613,35 +613,35 @@ union {
} combined_entry_type;
- /* Each canonical asymbol really looks like this: */
+/* Each canonical asymbol really looks like this: */
typedef struct coff_symbol_struct
{
- /* The actual symbol which the rest of BFD works with */
+ /* The actual symbol which the rest of BFD works with */
asymbol symbol;
- /* A pointer to the hidden information for this symbol */
+ /* A pointer to the hidden information for this symbol */
combined_entry_type *native;
- /* A pointer to the linenumber information for this symbol */
+ /* A pointer to the linenumber information for this symbol */
struct lineno_cache_entry *lineno;
- /* Have the line numbers been relocated yet ? */
+ /* Have the line numbers been relocated yet ? */
boolean done_lineno;
} coff_symbol_type;
- /* COFF symbol classifications. */
+/* COFF symbol classifications. */
enum coff_symbol_classification
{
- /* Global symbol. */
+ /* Global symbol. */
COFF_SYMBOL_GLOBAL,
- /* Common symbol. */
+ /* Common symbol. */
COFF_SYMBOL_COMMON,
- /* Undefined symbol. */
+ /* Undefined symbol. */
COFF_SYMBOL_UNDEFINED,
- /* Local symbol. */
+ /* Local symbol. */
COFF_SYMBOL_LOCAL,
- /* PE section symbol. */
+ /* PE section symbol. */
COFF_SYMBOL_PE_SECTION
};