Lots of fixes to make it work

This commit is contained in:
Steve Chamberlain 1991-04-17 00:54:03 +00:00
parent 4432f8ad29
commit 3e9aade183
2 changed files with 534 additions and 329 deletions

View file

@ -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;
@ -68,3 +70,5 @@ typedef struct {

File diff suppressed because it is too large Load diff