Lines Matching defs:new
414 tekhex_symbol_type *new = bfd_alloc (abfd, amt);
417 if (!new)
419 new->symbol.the_bfd = abfd;
423 new->prev = abfd->tdata.tekhex_data->symbols;
424 abfd->tdata.tekhex_data->symbols = new;
427 new->symbol.name = bfd_alloc (abfd, (bfd_size_type) len + 1);
428 if (!new->symbol.name)
430 memcpy ((char *) (new->symbol.name), sym, len + 1);
431 new->symbol.section = section;
433 new->symbol.flags = (BSF_GLOBAL | BSF_EXPORT);
435 new->symbol.flags = BSF_LOCAL;
438 new->symbol.value = val - section->vma;
880 tekhex_symbol_type *new = bfd_zalloc (abfd, amt);
882 if (!new)
884 new->symbol.the_bfd = abfd;
885 new->prev = NULL;
886 return &(new->symbol);