Home | History | Annotate | Download | only in bfd

Lines Matching refs:symbol

54     - ((char *) record->symbol.name - (char *) record);
57 /* Slurp the symbol table by reading in all the records at the start file
88 /* Buy 1 more char for each symbol to keep the underscore in. */
117 switch (record.symbol.relb & RELOCATION_TYPE_BITS)
128 OASYS_DATA (abfd)->sections[record.symbol.relb &
145 dest = data->symbols + H_GET_16 (abfd, record.symbol.refno);
162 dest->value = H_GET_32 (abfd, record.symbol.value);
165 if (record.symbol.name[0] != '_')
171 memcpy (string_ptr, record.symbol.name, length);
462 /* Reference to undefined symbol. */
464 /* There is no symbol. */
465 r->symbol = 0;
494 /* Reference to undefined symbol. */
496 /* Get symbol number. */
497 r->symbol = (src[0] << 8) | src[1];
651 asymbol *symbol,
654 bfd_symbol_info (symbol, ret);
656 if (!symbol->section)
657 ret->type = (symbol->flags & BSF_LOCAL) ? 'a' : 'A';
661 oasys_print_symbol (bfd *abfd, void * afile, asymbol *symbol, bfd_print_symbol_type how)
669 fprintf (file, "%s", symbol->name);
673 const char *section_name = symbol->section == NULL ?
674 (const char *) "*abs" : symbol->section->name;
676 bfd_print_symbol_vandf (abfd, (void *) file, symbol);
680 symbol->name);
793 oasys_symbol_record_type symbol;
796 char *dst = symbol.name;
801 symbol.relb = RELOCATION_TYPE_COM;
802 H_PUT_16 (abfd, sym_index, symbol.refno);
807 symbol.relb = RELOCATION_TYPE_ABS;
808 H_PUT_16 (abfd, 0, symbol.refno);
812 symbol.relb = RELOCATION_TYPE_UND;
813 H_PUT_16 (abfd, sym_index, symbol.refno);
823 /* Sometime, the oasys tools give out a symbol with illegal
825 symbol.relb = RELOCATION_TYPE_REL | 0;
827 symbol.relb = RELOCATION_TYPE_REL | g->section->output_section->target_index;
829 H_PUT_16 (abfd, 0, symbol.refno);
842 H_PUT_32 (abfd, g->value, symbol.value);
848 (oasys_record_union_type *) & symbol,
857 (oasys_record_union_type *) & symbol,
990 bytes (1 relocation byte + 2 symbol reference bytes + 2 data +
1083 hold them all plus all the cached symbol entries. */
1093 new_symbol_type->symbol.the_bfd = abfd;
1094 return &new_symbol_type->symbol;