Home
last modified time | relevance | path

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

/arch/alpha/kernel/
A Dmodule.c69 Elf64_Shdr *esechdrs, *symtab, *s, *got; in module_frob_arch_sections() local
73 symtab = got = NULL; in module_frob_arch_sections()
80 symtab = s; in module_frob_arch_sections()
86 if (!symtab) { in module_frob_arch_sections()
95 nsyms = symtab->sh_size / sizeof(Elf64_Sym); in module_frob_arch_sections()
139 Elf64_Sym *symtab, *sym; in apply_relocate_add() local
147 symtab = (Elf64_Sym *)sechdrs[symindex].sh_addr; in apply_relocate_add()
164 sym = symtab + r_sym; in apply_relocate_add()
/arch/s390/kernel/
A Dmodule.c109 Elf_Shdr *symtab; in module_frob_arch_sections() local
117 symtab = NULL; in module_frob_arch_sections()
121 symtab = sechdrs + i; in module_frob_arch_sections()
124 if (!symtab) { in module_frob_arch_sections()
130 me->arch.nsyms = symtab->sh_size / sizeof(Elf_Sym); in module_frob_arch_sections()
135 symbols = (void *) hdr + symtab->sh_offset; in module_frob_arch_sections()
238 val = symtab[r_sym].st_value; in apply_rela()
420 me->name, strtab + symtab[r_sym].st_name, in apply_rela()
433 Elf_Sym *symtab; in __apply_relocate_add() local
441 symtab = (Elf_Sym *) sechdrs[symindex].sh_addr; in __apply_relocate_add()
[all …]
A Dmachine_kexec_file.c312 const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument
322 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
333 sym = (void *)pi->ehdr + symtab->sh_offset; in arch_kexec_apply_relocations_add()
/arch/mips/vdso/
A Dgenvdso.h61 void *shdrs, *symtab; in FUNC() local
96 symtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC()
110 sym = symtab + (j * st_entsize); in FUNC()
/arch/x86/tools/
A Drelocs.c46 Elf_Sym *symtab; member
331 Elf_Sym *symtab = secs[shsymtabndx].symtab; in sym_index() local
340 offset = (unsigned long)sym - (unsigned long)symtab; in sym_index()
493 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
494 if (!sec->symtab) in read_symtabs()
500 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != sec->shdr.sh_size) in read_symtabs()
504 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
581 sym = &sec->symtab[j]; in print_absolute_symbols()
631 sh_symtab = sec_symtab->symtab; in print_absolute_relocs()
725 sh_symtab = sec_symtab->symtab; in walk_relocs()
/arch/riscv/include/asm/
A Dkexec.h65 const Elf_Shdr *symtab);
/arch/mips/boot/tools/
A Drelocs.c27 Elf_Sym *symtab; member
328 sec->symtab = malloc(sec->shdr.sh_size); in read_symtabs()
329 if (!sec->symtab) in read_symtabs()
337 if (fread(sec->symtab, 1, sec->shdr.sh_size, fp) != in read_symtabs()
342 Elf_Sym *sym = &sec->symtab[j]; in read_symtabs()
493 sh_symtab = sec_symtab->symtab; in walk_relocs()
/arch/s390/include/asm/
A Dkexec.h107 const Elf_Shdr *symtab);
/arch/riscv/kernel/
A Dmachine_kexec_file.c148 const Elf_Shdr *symtab) in arch_kexec_apply_relocations_add() argument
157 strtab = (char *)pi->ehdr + sechdrs[symtab->sh_link].sh_offset; in arch_kexec_apply_relocations_add()
169 sym = (void *)pi->ehdr + symtab->sh_offset; in arch_kexec_apply_relocations_add()
/arch/x86/include/asm/
A Dkexec.h206 const Elf_Shdr *symtab);

Completed in 16 milliseconds