4 } ieee_symbol_index_type;
6 typedef struct ieee_symbol {
8 struct ieee_symbol *next;
14 typedef struct ieee_reloc {
16 struct ieee_reloc *next;
17 ieee_symbol_index_type symbol;
21 #define ieee_symbol(x) ((ieee_symbol_type *)(x))
23 typedef struct ieee_per_section
31 unsigned int current_byte;
33 ieee_reloc_type **reloc_tail_ptr;
34 } ieee_per_section_type;
36 #define ieee_per_section(x) ((ieee_per_section_type *)((x)->used_by_bfd))
44 unsigned char *input_p;
45 unsigned char *first_byte;
46 file_ptr output_cursor;
47 /* Map of section indexes to section ptrs */
48 asection * section_table[NSECTIONS];
49 ieee_address_descriptor_type ad;
50 ieee_module_begin_type mb;
51 ieee_w_variable_type w;
53 unsigned int section_count;
54 struct obstack ieee_obstack;
58 /* List of GLOBAL EXPORT symbols */
59 ieee_symbol_type *external_symbols;
60 /* List of UNDEFINED symbols */
61 ieee_symbol_type *external_reference;
63 /* When the symbols have been canonicalized, they are in a
64 * special order, we remember various bases here.. */
65 unsigned int external_symbol_max_index;
66 unsigned int external_symbol_min_index;
67 unsigned int external_symbol_count;
68 int external_symbol_base_offset;
70 unsigned int external_reference_max_index;
71 unsigned int external_reference_min_index;
72 unsigned int external_reference_count;
73 int external_reference_base_offset;
76 boolean symbol_table_full;
82 } ieee_ar_obstack_type;
85 ieee_ar_obstack_type *elements;
86 struct obstack element_obstack;
87 unsigned int element_index ;
88 unsigned int element_count;
90 #define ieee_data(abfd) ((ieee_data_type *)((abfd)->tdata))
91 #define ieee_ar_data(abfd) ((ieee_ar_data_type *)((abfd)->arelt_data))
94 #define ptr(abfd) (ieee_data(abfd)->input_p)