/openbmc/linux/arch/arm/kernel/ |
H A D | module-plts.c | 31 static void prealloc_fixed(struct mod_plt_sec *pltsec, struct plt_entries *plt) in prealloc_fixed() argument 39 for (i = 0; i < ARRAY_SIZE(plt->ldr); ++i) in prealloc_fixed() 40 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed() 42 BUILD_BUG_ON(sizeof(fixed_plts) > sizeof(plt->lit)); in prealloc_fixed() 43 memcpy(plt->lit, fixed_plts, sizeof(fixed_plts)); in prealloc_fixed() 50 struct plt_entries *plt; in get_module_plt() local 55 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt() 56 plt = pltsec->plt_ent; in get_module_plt() 58 prealloc_fixed(pltsec, plt); in get_module_plt() 61 if (plt->lit[idx] == val) in get_module_plt() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | phy_led_triggers.c | 31 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local 39 plt = phy_speed_to_led_trigger(phy, phy->speed); in phy_led_trigger_change_speed() 40 if (!plt) { in phy_led_trigger_change_speed() 47 if (plt != phy->last_triggered) { in phy_led_trigger_change_speed() 54 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed() 55 phy->last_triggered = plt; in phy_led_trigger_change_speed() 68 struct phy_led_trigger *plt, in phy_led_trigger_register() argument 72 plt->speed = speed; in phy_led_trigger_register() 73 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), suffix); in phy_led_trigger_register() 74 plt->trigger.name = plt->name; in phy_led_trigger_register() [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | module-sections.c | 36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 37 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry() local 40 if (plt) in module_emit_plt_entry() 41 return (unsigned long)plt; in module_emit_plt_entry() 46 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry() 47 plt[i] = emit_plt_entry(val, in module_emit_plt_entry() 48 (unsigned long)&plt[i], in module_emit_plt_entry() 55 return (unsigned long)&plt[i]; in module_emit_plt_entry() 102 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections() 109 if (!mod->arch.plt.shdr) { in module_frob_arch_sections() [all …]
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | vmlinux.lds.S | 86 .got.plt (INFO) : { 87 *(.got.plt) 89 ASSERT(SIZEOF(.got.plt) == 0 || 91 SIZEOF(.got.plt) == 0x18, 93 SIZEOF(.got.plt) == 0xc, 106 .plt : { 107 *(.plt) *(.plt.*) 109 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | module-plts.c | 28 struct plt_entry plt; in get_plt_entry() local 35 plt = __get_adrp_add_pair(dst, (u64)pc, AARCH64_INSN_REG_16); in get_plt_entry() 36 plt.br = cpu_to_le32(br); in get_plt_entry() 38 return plt; in get_plt_entry() 75 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry() local 80 if (is_forbidden_offset_for_adrp(&plt[i].adrp)) in module_emit_plt_entry() 83 plt[i] = get_plt_entry(val, &plt[i]); in module_emit_plt_entry() 90 if (j >= 0 && plt_entries_equal(plt + i, plt + j)) in module_emit_plt_entry() 91 return (u64)&plt[j]; in module_emit_plt_entry() 97 return (u64)&plt[i]; in module_emit_plt_entry() [all …]
|
H A D | vmlinux.lds.S | 200 .got.plt : { *(.got.plt) } 201 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, 339 .plt : { 340 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 342 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
H A D | ftrace.c | 201 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local 203 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt() 230 struct plt_entry *plt; in ftrace_find_callable_addr() local 273 plt = get_ftrace_plt(mod); in ftrace_find_callable_addr() 274 if (!plt) { in ftrace_find_callable_addr() 279 *addr = (unsigned long)plt; in ftrace_find_callable_addr()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | module-sections.c | 41 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 43 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry() local 46 if (plt) in module_emit_plt_entry() 47 return (Elf_Addr)plt; in module_emit_plt_entry() 52 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry() 53 plt[nr] = emit_plt_entry(val); in module_emit_plt_entry() 61 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry() 117 mod->arch.plt.shndx = i; in module_frob_arch_sections() 128 if (!mod->arch.plt.shndx) { in module_frob_arch_sections() 161 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections() [all …]
|
H A D | ftrace_dyn.c | 43 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local 46 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt() 49 return &plt[FTRACE_REGS_PLT_IDX]; in get_ftrace_plt() 66 struct plt_entry *plt; in ftrace_find_callable_addr() local 101 plt = get_ftrace_plt(mod, *addr); in ftrace_find_callable_addr() 102 if (!plt) { in ftrace_find_callable_addr() 107 *addr = (unsigned long)plt; in ftrace_find_callable_addr()
|
H A D | vmlinux.lds.S | 104 .plt : ALIGN(16) { *(.plt) } 105 .got.plt : ALIGN(16) { *(.got.plt) }
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
H A D | 0001-mips-plt.c-Delete-include-error.h.patch | 4 Subject: [PATCH] mips/plt.c: Delete include error.h 12 sysdeps/linux-gnu/mips/plt.c | 1 - 15 diff --git a/sysdeps/linux-gnu/mips/plt.c b/sysdeps/linux-gnu/mips/plt.c 17 --- a/sysdeps/linux-gnu/mips/plt.c 18 +++ b/sysdeps/linux-gnu/mips/plt.c
|
H A D | 0001-ppc-Remove-unused-host_powerpc64-function.patch | 13 sysdeps/linux-gnu/ppc/plt.c | 10 ---------- 16 diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c 18 --- a/sysdeps/linux-gnu/ppc/plt.c 19 +++ b/sysdeps/linux-gnu/ppc/plt.c
|
/openbmc/linux/arch/ia64/kernel/ |
H A 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 …]
|
/openbmc/linux/arch/um/kernel/ |
H A D | uml.lds.S | 58 .rel.plt : { 59 *(.rel.plt) 64 .rela.plt : { 65 *(.rela.plt) 96 .got : { *(.got.plt) *(.got) }
|
H A D | dyn.lds.S | 57 .rel.plt : { 58 *(.rel.plt) 63 .rela.plt : { 64 *(.rela.plt) 72 .plt : { *(.plt) } 157 .got : { *(.got.plt) *(.got) }
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | module.h | 23 struct mod_section plt; member 65 unsigned long plt, in emit_plt_entry() argument 80 unsigned long offset = got_plt - plt; in emit_plt_entry() 105 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry() local 108 return plt + got_plt_idx; in get_plt_entry()
|
H A D | module.lds.h | 5 .plt : { BYTE(0) } 7 .got.plt : { BYTE(0) }
|
/openbmc/linux/arch/x86/kernel/ |
H A D | vmlinux.lds.S | 465 .got.plt (INFO) : { *(.got.plt) } 466 ASSERT(SIZEOF(.got.plt) == 0 || 468 SIZEOF(.got.plt) == 0x18, 470 SIZEOF(.got.plt) == 0xc, 483 .plt : { 484 *(.plt) *(.plt.*) *(.iplt) 486 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
/openbmc/linux/arch/arm64/kernel/vdso/ |
H A D | vdso.lds.S | 64 *(.got.plt) 65 *(.plt) 66 *(.plt.*) 68 *(.igot .igot.plt)
|
/openbmc/linux/arch/arm64/kernel/vdso32/ |
H A D | vdso.lds.S | 42 *(.got.plt) 43 *(.plt) 46 *(.igot.plt)
|
/openbmc/u-boot/arch/arm/lib/ |
H A D | elf_arm_efi.lds | 32 *(.got.plt) 52 .rel.plt : { *(.rel.plt) }
|
H A D | elf_aarch64_efi.lds | 32 *(.got.plt) 52 .rela.plt : { *(.rela.plt) }
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | elf_riscv32_efi.lds | 34 *(.got.plt) 54 .rela.plt : { *(.rela.plt) }
|
H A D | elf_riscv64_efi.lds | 34 *(.got.plt) 54 .rela.plt : { *(.rela.plt) }
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | module.lds.h | 4 .plt : { BYTE(0) } 5 .init.plt : { BYTE(0) }
|