Home
last modified time | relevance | path

Searched refs:symbuf (Results 1 – 11 of 11) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dsrec.c303 char *symbuf = NULL; in srec_scan() local
364 symbuf = (char *) bfd_malloc (alc + 1); in srec_scan()
365 if (symbuf == NULL) in srec_scan()
368 p = symbuf; in srec_scan()
374 if ((bfd_size_type) (p - symbuf) >= alc) in srec_scan()
379 n = (char *) bfd_realloc (symbuf, alc + 1); in srec_scan()
382 p = n + (p - symbuf); in srec_scan()
383 symbuf = n; in srec_scan()
396 symname = (char *) bfd_alloc (abfd, (bfd_size_type) (p - symbuf)); in srec_scan()
399 strcpy (symname, symbuf); in srec_scan()
[all …]
Dxcofflink.c280 coff_symbol_type *symbuf; in _bfd_xcoff_canonicalize_dynamic_symtab() local
305 symbuf = bfd_zalloc (abfd, ldhdr.l_nsyms * sizeof (* symbuf)); in _bfd_xcoff_canonicalize_dynamic_symtab()
306 if (symbuf == NULL) in _bfd_xcoff_canonicalize_dynamic_symtab()
312 for (; elsym < elsymend; elsym += bfd_xcoff_ldsymsz(abfd), symbuf++, psyms++) in _bfd_xcoff_canonicalize_dynamic_symtab()
318 symbuf->symbol.the_bfd = abfd; in _bfd_xcoff_canonicalize_dynamic_symtab()
321 symbuf->symbol.name = strings + ldsym._l._l_l._l_offset; in _bfd_xcoff_canonicalize_dynamic_symtab()
331 symbuf->symbol.name = c; in _bfd_xcoff_canonicalize_dynamic_symtab()
335 symbuf->symbol.section = bfd_abs_section_ptr; in _bfd_xcoff_canonicalize_dynamic_symtab()
337 symbuf->symbol.section = coff_section_from_bfd_index (abfd, in _bfd_xcoff_canonicalize_dynamic_symtab()
339 symbuf->symbol.value = ldsym.l_value - symbuf->symbol.section->vma; in _bfd_xcoff_canonicalize_dynamic_symtab()
[all …]
Delflink.c7187 ssymbuf1 = (struct elf_symbuf_head *) elf_tdata (bfd1)->symbuf; in bfd_elf_match_symbols_in_sections()
7188 ssymbuf2 = (struct elf_symbuf_head *) elf_tdata (bfd2)->symbuf; in bfd_elf_match_symbols_in_sections()
7198 elf_tdata (bfd1)->symbuf = ssymbuf1 in bfd_elf_match_symbols_in_sections()
7210 elf_tdata (bfd2)->symbuf = ssymbuf2 in bfd_elf_match_symbols_in_sections()
7419 bfd_byte *symbuf; member
7639 char symbuf[4096]; in eval_symbol() local
7647 if (len < 1 || len > sizeof (symbuf)) in eval_symbol()
7672 if (symend < sym || symlen + 1 > sizeof (symbuf)) in eval_symbol()
7678 memcpy (symbuf, sym, symlen); in eval_symbol()
7679 symbuf[symlen] = '\0'; in eval_symbol()
[all …]
Delf-bfd.h1650 void *symbuf; member
DChangeLog-2007632 sizeof(symbuf) where necessary.
2447 * elflink.c (bfd_elf_final_link): Don't free symbuf for
3346 * elf-bfd.h (struct elf_obj_tdata): Change symbuf type to void *.
DChangeLog-2006365 * elf-bfd.h (elf_obj_tdata): Add symbuf.
DChangeLog-20043983 of "Elf_External_Sym *" for external_syms and symbuf.
DChangeLog-02035869 exit rather than freeing symbuf twice. Correct section index
/toolchain/binutils/binutils-2.25/gold/
Dsymtab.cc1235 unsigned char symbuf[sym_size]; in add_from_relobj() local
1236 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_relobj()
1239 memcpy(symbuf, p, sym_size); in add_from_relobj()
1240 elfcpp::Sym_write<size, big_endian> sw(symbuf); in add_from_relobj()
1266 memcpy(symbuf, p, sym_size); in add_from_relobj()
1274 elfcpp::Sym_write<size, big_endian> sw(symbuf); in add_from_relobj()
1444 unsigned char symbuf[sym_size]; in add_from_dynobj() local
1445 elfcpp::Sym<size, big_endian> sym2(symbuf); in add_from_dynobj()
1448 memcpy(symbuf, p, sym_size); in add_from_dynobj()
1449 elfcpp::Sym_write<size, big_endian> sw(symbuf); in add_from_dynobj()
Dincremental.cc2125 unsigned char symbuf[sym_size]; in do_add_symbols() local
2126 elfcpp::Sym<size, big_endian> sym(symbuf); in do_add_symbols()
2127 elfcpp::Sym_write<size, big_endian> osym(symbuf); in do_add_symbols()
2726 unsigned char symbuf[sym_size]; in do_add_symbols() local
2727 elfcpp::Sym<size, big_endian> sym(symbuf); in do_add_symbols()
2728 elfcpp::Sym_write<size, big_endian> osym(symbuf); in do_add_symbols()
Dplugin.cc1060 unsigned char symbuf[sym_size]; in do_add_symbols() local
1061 elfcpp::Sym<size, big_endian> sym(symbuf); in do_add_symbols()
1062 elfcpp::Sym_write<size, big_endian> osym(symbuf); in do_add_symbols()