Lines Matching refs:new_symbol
423 tekhex_symbol_type *new_symbol = (tekhex_symbol_type *) in first_phase() local
427 if (!new_symbol) in first_phase()
429 new_symbol->symbol.the_bfd = abfd; in first_phase()
433 new_symbol->prev = abfd->tdata.tekhex_data->symbols; in first_phase()
434 abfd->tdata.tekhex_data->symbols = new_symbol; in first_phase()
437 new_symbol->symbol.name = (const char *) in first_phase()
439 if (!new_symbol->symbol.name) in first_phase()
441 memcpy ((char *) (new_symbol->symbol.name), sym, len + 1); in first_phase()
442 new_symbol->symbol.section = section; in first_phase()
444 new_symbol->symbol.flags = (BSF_GLOBAL | BSF_EXPORT); in first_phase()
446 new_symbol->symbol.flags = BSF_LOCAL; in first_phase()
448 new_symbol->symbol.section = bfd_abs_section_ptr; in first_phase()
463 new_symbol->symbol.section = alt_section; in first_phase()
480 new_symbol->symbol.section = alt_section; in first_phase()
485 new_symbol->symbol.value = val - section->vma; in first_phase()
905 tekhex_symbol_type *new_symbol = (tekhex_symbol_type *) bfd_zalloc (abfd, in tekhex_make_empty_symbol() local
908 if (!new_symbol) in tekhex_make_empty_symbol()
910 new_symbol->symbol.the_bfd = abfd; in tekhex_make_empty_symbol()
911 new_symbol->prev = NULL; in tekhex_make_empty_symbol()
912 return &(new_symbol->symbol); in tekhex_make_empty_symbol()