diff options
author | Steve Chamberlain <steve@cygnus> | 1991-04-17 00:54:03 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-04-17 00:54:03 +0000 |
commit | 3e9aade18314dd24fd88abe28b0b1b9c1d1a1828 (patch) | |
tree | e4452df782a6a84b3cd6f61c2b0f32ca8524c9c2 /bfd/liboasys.h | |
parent | 4432f8ad291038bda65a79d02a7deaa57479e7d2 (diff) | |
download | gdb-3e9aade18314dd24fd88abe28b0b1b9c1d1a1828.zip gdb-3e9aade18314dd24fd88abe28b0b1b9c1d1a1828.tar.gz gdb-3e9aade18314dd24fd88abe28b0b1b9c1d1a1828.tar.bz2 |
Lots of fixes to make it work
Diffstat (limited to 'bfd/liboasys.h')
-rw-r--r-- | bfd/liboasys.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/bfd/liboasys.h b/bfd/liboasys.h index 59e4a89..2c57e59 100644 --- a/bfd/liboasys.h +++ b/bfd/liboasys.h @@ -1,6 +1,7 @@ -typedef struct { +typedef struct +{ asymbol symbol; } oasys_symbol_type; @@ -13,16 +14,17 @@ typedef struct oasys_reloc_struct { #define oasys_symbol(x) ((oasys_symbol_type *)(x)) #define oasys_per_section(x) ((oasys_per_section_type *)(x->used_by_bfd)) + typedef struct oasys_per_section_struct { asection *section; bfd_byte *data; bfd_vma offset; - + boolean had_vma; oasys_reloc_type **reloc_tail_ptr; bfd_vma pc; - /* For output */ - struct obstack reloc_obstack; + + file_ptr current_pos; unsigned int current_byte; boolean initialized; @@ -55,7 +57,7 @@ typedef struct { } oasys_ar_data_type; typedef struct { - + struct obstack oasys_obstack; char *strings; asymbol *symbols; unsigned int symbol_string_length; @@ -66,5 +68,7 @@ typedef struct { #define oasys_data(abfd) ((oasys_data_type *)((abfd)->tdata)) #define oasys_ar_data(abfd) ((oasys_ar_data_type *)((abfd)->tdata)) + + |