Home
last modified time | relevance | path

Searched refs:symscn (Results 1 – 10 of 10) sorted by relevance

/external/elfutils/libelf/
Dnlist.c86 Elf_Scn *symscn = NULL; in nlist() local
124 symscn = scn; in nlist()
130 symscn = scn; in nlist()
133 if (symscn == NULL) in nlist()
140 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem); in nlist()
144 data = INTUSE(elf_getdata) (symscn, NULL); in nlist()
/external/elfutils/src/
Dfindtextrel.c100 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
261 Elf_Scn *symscn = NULL; in process_file() local
302 symscn = scn; in process_file()
402 && symscn == NULL) in process_file()
404 symscn = elf_getscn (elf, shdr->sh_link); in process_file()
405 if (symscn == NULL) in process_file()
435 symscn, dw, fname, more_than_one, &knownsrcs); in process_file()
458 symscn, dw, fname, more_than_one, &knownsrcs); in process_file()
492 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw, in check_rel() argument
524 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_rel()
[all …]
Dobjdump.c575 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in show_relocs() local
577 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in show_relocs()
578 Elf_Data *symdata = elf_getdata (symscn, NULL); in show_relocs()
590 && xndxshdr->sh_link == elf_ndxscn (symscn)) in show_relocs()
Di386_ld.c855 Elf_Scn *symscn = elf_getscn (statep->outelf, in elf_i386_create_relocations() local
857 Elf_Data *outsymdata = elf_getdata (symscn, NULL); in elf_i386_create_relocations()
869 symscn = elf_getscn (statep->outelf, in elf_i386_create_relocations()
871 outsymdata = elf_getdata (symscn, NULL); in elf_i386_create_relocations()
Delflint.c1407 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rela() local
1409 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rela()
1410 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_rela()
1457 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_rel() local
1459 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_rel()
1460 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_rel()
1840 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_symtab_shndx() local
1842 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in check_symtab_shndx()
1847 Elf_Data *symdata = elf_getdata (symscn, NULL); in check_symtab_shndx()
2367 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in check_group() local
[all …]
Dunstrip.c547 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) in add_new_section_symbols() argument
552 GElf_Shdr *shdr = gelf_getshdr (symscn, &shdr_mem); in add_new_section_symbols()
561 ELF_CHECK (gelf_update_shdr (symscn, shdr), in add_new_section_symbols()
564 Elf_Data *symdata = elf_getdata (symscn, NULL); in add_new_section_symbols()
619 adjust_all_relocs (elf, symscn, shdr, symndx_map); in add_new_section_symbols()
748 collect_symbols (Elf *outelf, bool rel, Elf_Scn *symscn, Elf_Scn *strscn, in collect_symbols() argument
753 Elf_Data *symdata = elf_getdata (symscn, NULL); in collect_symbols()
Dldgeneric.c1245 Elf_Scn *symscn; in add_relocatable_file() local
1263 symscn = elf_getscn (fileinfo->elf, shdr->sh_link); in add_relocatable_file()
1264 xelf_getshdr (symscn, symshdr); in add_relocatable_file()
1265 symdata = elf_getdata (symscn, NULL); in add_relocatable_file()
4314 Elf_Scn *symscn = NULL; in ld_generic_create_outfile() local
4353 symscn = elf_newscn (ld_state.outelf); in ld_generic_create_outfile()
4354 ld_state.symscnidx = elf_ndxscn (symscn); in ld_generic_create_outfile()
4355 symdata = elf_newdata (symscn); in ld_generic_create_outfile()
4404 symscn = elf_getscn (ld_state.outelf, ld_state.dynsymscnidx); in ld_generic_create_outfile()
4405 symdata = elf_newdata (symscn); in ld_generic_create_outfile()
[all …]
Dreadelf.c1101 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_scngrp() local
1103 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_scngrp()
1104 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_scngrp()
1467 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_relocs_rel() local
1469 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rel()
1470 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_relocs_rel()
1612 Elf_Scn *symscn = elf_getscn (ebl->elf, shdr->sh_link); in handle_relocs_rela() local
1614 GElf_Shdr *symshdr = gelf_getshdr (symscn, &symshdr_mem); in handle_relocs_rela()
1615 Elf_Data *symdata = elf_getdata (symscn, NULL); in handle_relocs_rela()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c229 Elf_Scn **symscn, Elf_Scn **xndxscn, in load_symtab() argument
242 *symscn = scn; in load_symtab()
254 *symscn = scn; in load_symtab()
503 Elf_Scn *symscn = NULL, *xndxscn = NULL; in find_symtab() local
505 mod->symerr = load_symtab (&mod->main, &mod->symfile, &symscn, in find_symtab()
524 mod->symerr = load_symtab (&mod->debug, &mod->symfile, &symscn, in find_symtab()
542 if (symscn != NULL) in find_symtab()
580 mod->symdata = elf_getdata (symscn, NULL); in find_symtab()
/external/elfutils/libasm/
Dasm_end.c158 Elf_Scn *symscn = elf_newscn (ctx->out.elf); in binary_end() local
159 data = elf_newdata (symscn); in binary_end()
160 shdr = gelf_getshdr (symscn, &shdr_mem); in binary_end()
166 symscnndx = elf_ndxscn (symscn); in binary_end()
282 (void) gelf_update_shdr (symscn, shdr); in binary_end()