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