/Linux-v4.19/arch/arm/kernel/ |
D | module-plts.c | 44 struct plt_entries *plt = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt() local 53 plt += (pltsec->plt_count - 1) / PLT_ENT_COUNT; in get_module_plt() 56 if (plt->lit[idx] == val) in get_module_plt() 57 return (u32)&plt->ldr[idx]; in get_module_plt() 61 plt++; in get_module_plt() 65 BUG_ON(pltsec->plt_count * PLT_ENT_SIZE > pltsec->plt->sh_size); in get_module_plt() 69 *plt = (struct plt_entries){ in get_module_plt() 74 plt->lit[idx] = val; in get_module_plt() 76 return (u32)&plt->ldr[idx]; in get_module_plt() 205 mod->arch.core.plt = s; in module_frob_arch_sections() [all …]
|
D | module.lds | 3 .plt : { BYTE(0) } 4 .init.plt : { BYTE(0) }
|
/Linux-v4.19/arch/arm64/kernel/ |
D | module-plts.c | 24 struct plt_entry *plt = (struct plt_entry *)pltsec->plt->sh_addr; in module_emit_plt_entry() local 28 plt[i] = get_plt_entry(val); in module_emit_plt_entry() 35 if (i > 0 && plt_entries_equal(plt + i, plt + i - 1)) in module_emit_plt_entry() 36 return (u64)&plt[i - 1]; in module_emit_plt_entry() 42 return (u64)&plt[i]; in module_emit_plt_entry() 50 struct plt_entry *plt = (struct plt_entry *)pltsec->plt->sh_addr; in module_emit_veneer_for_adrp() local 72 br = aarch64_insn_gen_branch_imm((u64)&plt[i].br, (u64)loc + 4, in module_emit_veneer_for_adrp() 75 plt[i] = (struct plt_entry){ in module_emit_veneer_for_adrp() 82 return (u64)&plt[i]; in module_emit_veneer_for_adrp() 214 mod->arch.core.plt = sechdrs + i; in module_frob_arch_sections() [all …]
|
D | module.lds | 2 .plt (NOLOAD) : { BYTE(0) } 3 .init.plt (NOLOAD) : { BYTE(0) }
|
/Linux-v4.19/drivers/net/phy/ |
D | phy_led_triggers.c | 41 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local 49 plt = phy_speed_to_led_trigger(phy, phy->speed); in phy_led_trigger_change_speed() 50 if (!plt) { in phy_led_trigger_change_speed() 57 if (plt != phy->last_triggered) { in phy_led_trigger_change_speed() 63 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed() 64 phy->last_triggered = plt; in phy_led_trigger_change_speed() 77 struct phy_led_trigger *plt, in phy_led_trigger_register() argument 82 plt->speed = speed; in phy_led_trigger_register() 92 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), in phy_led_trigger_register() 94 plt->trigger.name = plt->name; in phy_led_trigger_register() [all …]
|
/Linux-v4.19/arch/riscv/kernel/ |
D | module-sections.c | 35 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 36 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry() local 39 if (plt) in module_emit_plt_entry() 40 return (u64)plt; in module_emit_plt_entry() 45 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry() 46 plt[i] = emit_plt_entry(val, (u64)&plt[i], (u64)&got_plt[i]); in module_emit_plt_entry() 52 return (u64)&plt[i]; in module_emit_plt_entry() 99 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections() 106 if (!mod->arch.plt.shdr) { in module_frob_arch_sections() 135 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() [all …]
|
D | module.lds | 5 .plt (NOLOAD) : { BYTE(0) } 7 .got.plt (NOLOAD) : { BYTE(0) }
|
/Linux-v4.19/arch/um/kernel/ |
D | uml.lds.S | 51 .rel.plt : { 52 *(.rel.plt) 57 .rela.plt : { 58 *(.rela.plt) 89 .got : { *(.got.plt) *(.got) }
|
D | dyn.lds.S | 51 .rel.plt : { 52 *(.rel.plt) 57 .rela.plt : { 58 *(.rela.plt) 66 .plt : { *(.plt) } 146 .got : { *(.got.plt) *(.got) }
|
/Linux-v4.19/arch/riscv/include/asm/ |
D | module.h | 23 struct mod_section plt; member 64 static inline struct plt_entry emit_plt_entry(u64 val, u64 plt, u64 got_plt) in emit_plt_entry() argument 78 u64 offset = got_plt - plt; in emit_plt_entry() 103 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry() local 106 return plt + got_plt_idx; in get_plt_entry()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | module.c | 235 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument 237 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_gp) in patch_plt() 238 && apply_imm60(mod, (struct insn *) (plt->bundle[1] + 2), in patch_plt() 239 (target_ip - (int64_t) plt->bundle[1]) / 16)) in patch_plt() 245 plt_target (struct plt_entry *plt) in plt_target() argument 247 uint64_t b0, b1, *b = (uint64_t *) plt->bundle[1]; in plt_target() 254 return (long) plt->bundle[1] + 16*off; in plt_target() 285 patch_plt (struct module *mod, struct plt_entry *plt, long target_ip, unsigned long target_gp) in patch_plt() argument 287 if (apply_imm64(mod, (struct insn *) (plt->bundle[0] + 2), target_ip) in patch_plt() 288 && apply_imm64(mod, (struct insn *) (plt->bundle[1] + 2), target_gp)) in patch_plt() [all …]
|
/Linux-v4.19/arch/nios2/boot/compressed/ |
D | vmlinux.lds.S | 41 *(.got.plt) 42 *(.igot.plt)
|
/Linux-v4.19/arch/ia64/ |
D | module.lds | 10 .core.plt : { BYTE(0) } 11 .init.plt : { BYTE(0) }
|
/Linux-v4.19/arch/nios2/kernel/ |
D | vmlinux.lds.S | 49 *(.got.plt) 50 *(.igot.plt)
|
/Linux-v4.19/arch/parisc/boot/compressed/ |
D | vmlinux.lds.S | 36 .plt : { 37 *(.plt)
|
/Linux-v4.19/arch/arm/vdso/ |
D | vdso.lds.S | 58 .rel.plt : { *(.rel.plt) }
|
/Linux-v4.19/arch/parisc/kernel/ |
D | vmlinux.lds.S | 107 .plt : { 108 *(.plt)
|
/Linux-v4.19/arch/unicore32/boot/compressed/ |
D | vmlinux.lds.in | 50 .got.plt : { *(.got.plt) }
|
/Linux-v4.19/arch/arm/boot/compressed/ |
D | vmlinux.lds.S | 69 .got.plt : { *(.got.plt) }
|
/Linux-v4.19/arch/powerpc/kernel/vdso32/ |
D | vdso32.lds.S | 65 .plt : { *(.plt) }
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | vmlinux.lds.S | 302 *(.got.plt) *(.got) 303 *(.plt) 375 *(.glink .iplt .plt .rela* .comment)
|
/Linux-v4.19/arch/arm/include/asm/ |
D | module.h | 23 struct elf32_shdr *plt; member
|
/Linux-v4.19/arch/xtensa/boot/boot-redboot/ |
D | boot.ld | 27 *(.got.plt)
|
/Linux-v4.19/arch/x86/boot/compressed/ |
D | vmlinux.lds.S | 47 KEEP(*(.got.plt))
|
/Linux-v4.19/arch/arm64/include/asm/ |
D | module.h | 25 struct elf64_shdr *plt; member
|