Home
last modified time | relevance | path

Searched refs:plt (Results 1 – 25 of 26) sorted by relevance

12

/arch/arm64/kernel/
Dmodule-plts.c32 struct plt_entry *plt = (struct plt_entry *)mod->arch.plt->sh_addr; in module_emit_plt_entry() local
50 BUG_ON(sym->st_size < (u64)plt || sym->st_size >= (u64)&plt[i]); in module_emit_plt_entry()
68 plt[i] = (struct plt_entry){ in module_emit_plt_entry()
76 sym->st_size = (u64)&plt[i]; in module_emit_plt_entry()
78 return (u64)&plt[i]; in module_emit_plt_entry()
162 mod->arch.plt = sechdrs + i; in module_frob_arch_sections()
167 if (!mod->arch.plt) { in module_frob_arch_sections()
194 mod->arch.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
195 mod->arch.plt->sh_flags = SHF_EXECINSTR | SHF_ALLOC; in module_frob_arch_sections()
196 mod->arch.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
[all …]
Dmodule.lds2 .plt (NOLOAD) : { BYTE(0) }
/arch/arm/kernel/
Dmodule-plts.c40 struct plt_entries *plt, *plt_end; in get_module_plt() local
44 plt = (void *)mod->arch.init_plt->sh_addr; in get_module_plt()
45 plt_end = (void *)plt + mod->arch.init_plt->sh_size; in get_module_plt()
48 plt = (void *)mod->arch.core_plt->sh_addr; in get_module_plt()
49 plt_end = (void *)plt + mod->arch.core_plt->sh_size; in get_module_plt()
54 for (c = *count; plt < plt_end; c -= PLT_ENT_COUNT, plt++) { in get_module_plt()
59 *plt = (struct plt_entries){ in get_module_plt()
64 return (u32)plt->ldr; in get_module_plt()
67 if (!plt->lit[i]) { in get_module_plt()
68 plt->lit[i] = val; in get_module_plt()
[all …]
Dmodule.lds2 .core.plt : { BYTE(0) }
3 .init.plt : { BYTE(0) }
/arch/um/kernel/
Duml.lds.S55 .rel.plt : {
56 *(.rel.plt)
61 .rela.plt : {
62 *(.rela.plt)
93 .got : { *(.got.plt) *(.got) }
Ddyn.lds.S57 .rel.plt : {
58 *(.rel.plt)
63 .rela.plt : {
64 *(.rela.plt)
72 .plt : { *(.plt) }
151 .got : { *(.got.plt) *(.got) }
/arch/ia64/kernel/
Dmodule.c233 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument
235 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_gp) in patch_plt()
236 && apply_imm60(mod, (struct insn *) (plt->bundle[1] + 2), in patch_plt()
237 (target_ip - (int64_t) plt->bundle[1]) / 16)) in patch_plt()
243 plt_target (struct plt_entry *plt) in plt_target() argument
245 uint64_t b0, b1, *b = (uint64_t *) plt->bundle[1]; in plt_target()
252 return (long) plt->bundle[1] + 16*off; in plt_target()
283 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument
285 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_ip) in patch_plt()
286 && apply_imm64(mod, (struct insn *) (plt->bundle[1] + 2), target_gp)) in patch_plt()
[all …]
Dgate.lds.S62 *(.got.plt) *(.got)
Dvmlinux.lds.S196 *(.got.plt)
/arch/ia64/
Dmodule.lds9 .core.plt : { BYTE(0) }
10 .init.plt : { BYTE(0) }
/arch/nios2/boot/compressed/
Dvmlinux.lds.S41 *(.got.plt)
42 *(.igot.plt)
/arch/nios2/kernel/
Dvmlinux.lds.S48 *(.got.plt)
49 *(.igot.plt)
/arch/arm/vdso/
Dvdso.lds.S58 .rel.plt : { *(.rel.plt) }
/arch/arm/boot/compressed/
Dvmlinux.lds.S58 .got.plt : { *(.got.plt) }
/arch/parisc/kernel/
Dvmlinux.lds.S101 .plt : {
102 *(.plt)
/arch/unicore32/boot/compressed/
Dvmlinux.lds.in50 .got.plt : { *(.got.plt) }
/arch/arm64/include/asm/
Dmodule.h26 struct elf64_shdr *plt; member
/arch/powerpc/kernel/vdso32/
Dvdso32.lds.S64 .plt : { *(.plt) }
/arch/xtensa/boot/boot-redboot/
Dboot.ld27 *(.got.plt)
/arch/x86/boot/compressed/
Dvmlinux.lds.S46 KEEP(*(.got.plt))
/arch/x86/um/vdso/
Dvdso-layout.lds.S30 *(.got.plt) *(.got)
/arch/tile/kernel/vdso/
Dvdso.lds.S54 *(.got.plt) *(.got)
/arch/sh/kernel/vsyscall/
Dvsyscall.lds.S47 *(.got.plt) *(.got)
/arch/x86/entry/vdso/
Dvdso-layout.lds.S56 *(.got.plt) *(.got)
/arch/ia64/hp/sim/boot/
Dbootloader.lds18 .got : { *(.got.plt) *(.got) }

12