Lots of fixes to make it work
This commit is contained in:
parent
4432f8ad29
commit
3e9aade183
2 changed files with 534 additions and 329 deletions
|
@ -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 {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
783
bfd/oasys.c
783
bfd/oasys.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue