| /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 …]
|
| /linux/drivers/net/phy/ |
| H A D | phy_led_triggers.c | 33 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local 41 plt = phy_speed_to_led_trigger(phy, phy->speed); in phy_led_trigger_change_speed() 42 if (!plt) { in phy_led_trigger_change_speed() 49 if (plt != phy->last_triggered) { in phy_led_trigger_change_speed() 56 led_trigger_event(&plt->trigger, LED_FULL); in phy_led_trigger_change_speed() 57 phy->last_triggered = plt; in phy_led_trigger_change_speed() 70 struct phy_led_trigger *plt, in phy_led_trigger_register() argument 74 plt->speed = speed; in phy_led_trigger_register() 75 phy_led_trigger_format_name(phy, plt->name, sizeof(plt->name), suffix); in phy_led_trigger_register() 76 plt->trigger.name = plt->name; in phy_led_trigger_register() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | module-sections.c | 37 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 38 struct plt_entry *plt = get_plt_entry(val, plt_sec, got_plt_sec); in module_emit_plt_entry() local 41 if (plt) in module_emit_plt_entry() 42 return (unsigned long)plt; in module_emit_plt_entry() 47 plt = (struct plt_entry *)plt_sec->shdr->sh_addr; in module_emit_plt_entry() 48 plt[i] = emit_plt_entry(val, in module_emit_plt_entry() 49 (unsigned long)&plt[i], in module_emit_plt_entry() 56 return (unsigned long)&plt[i]; in module_emit_plt_entry() 131 mod->arch.plt.shdr = sechdrs + i; in module_frob_arch_sections() 138 if (!mod->arch.plt.shdr) { in module_frob_arch_sections() [all …]
|
| /linux/arch/x86/boot/compressed/ |
| H A D | vmlinux.lds.S | 94 .got.plt (INFO) : { 95 *(.got.plt) 97 ASSERT(SIZEOF(.got.plt) == 0 || 99 SIZEOF(.got.plt) == 0x18, 101 SIZEOF(.got.plt) == 0xc, 114 .plt : { 115 *(.plt) *(.plt.*) 117 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
| /linux/arch/s390/boot/ |
| H A D | vmlinux.lds.S | 156 .got.plt : { 157 *(.got.plt) 159 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!") 165 .plt : { 166 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 168 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
| /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 | 222 .got.plt : { *(.got.plt) } 223 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, 380 .plt : { 381 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 383 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
| /linux/arch/loongarch/kernel/ |
| H A D | module-sections.c | 42 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 44 struct plt_entry *plt = get_plt_entry(val, sechdrs, plt_sec, plt_idx_sec); in module_emit_plt_entry() local 47 if (plt) in module_emit_plt_entry() 48 return (Elf_Addr)plt; in module_emit_plt_entry() 53 plt = (struct plt_entry *)sechdrs[plt_sec->shndx].sh_addr; in module_emit_plt_entry() 54 plt[nr] = emit_plt_entry(val); in module_emit_plt_entry() 62 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry() 118 mod->arch.plt.shndx = i; in module_frob_arch_sections() 129 if (!mod->arch.plt.shndx) { in module_frob_arch_sections() 162 plt_sec = sechdrs + mod->arch.plt.shndx; in module_frob_arch_sections() [all …]
|
| H A D | vmlinux.lds.S | 110 .plt : ALIGN(16) { *(.plt) } 111 .got.plt : ALIGN(16) { *(.got.plt) }
|
| /linux/arch/s390/kernel/ |
| H A D | vmlinux.lds.S | 231 .got.plt : { 232 *(.got.plt) 234 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, "Unexpected GOT/PLT entries detected!") 240 .plt : { 241 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 243 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
| /linux/arch/um/kernel/ |
| H A D | uml.lds.S | 58 .rel.plt : { 59 *(.rel.plt) 64 .rela.plt : { 65 *(.rela.plt) 94 .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) } 155 .got : { *(.got.plt) *(.got) }
|
| /linux/arch/x86/kernel/ |
| H A D | vmlinux.lds.S | 439 .got.plt (INFO) : { *(.got.plt) } 440 ASSERT(SIZEOF(.got.plt) == 0 || 442 SIZEOF(.got.plt) == 0x18, 444 SIZEOF(.got.plt) == 0xc, 457 .plt : { 458 *(.plt) *(.plt.*) *(.iplt) 460 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
| /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) }
|
| /linux/arch/arm64/kernel/vdso/ |
| H A D | vdso.lds.S | 64 *(.got.plt) 65 *(.plt) 66 *(.plt.*) 68 *(.igot .igot.plt)
|
| /linux/arch/arm/include/asm/ |
| H A D | module.lds.h | 4 .plt : { BYTE(0) } 5 .init.plt : { BYTE(0) }
|
| H A D | vmlinux.lds.h | 79 .plt : { \ 80 *(.iplt) *(.rel.iplt) *(.iplt) *(.igot.plt) \ 82 ASSERT(SIZEOF(.plt) == 0, \
|
| /linux/arch/loongarch/include/asm/ |
| H A D | module.lds.h | 6 .plt 0 : { BYTE(0) } 7 .plt.idx 0 : { BYTE(0) }
|
| H A D | module.h | 22 struct mod_section plt; member 105 struct plt_entry *plt = (struct plt_entry *)sechdrs[sec_plt->shndx].sh_addr; in get_plt_entry() local 110 return plt + plt_idx; in get_plt_entry()
|
| /linux/arch/arm64/include/asm/ |
| H A D | module.lds.h | 2 .plt 0 : { BYTE(0) } 3 .init.plt 0 : { BYTE(0) }
|
| /linux/arch/nios2/boot/compressed/ |
| H A D | vmlinux.lds.S | 28 *(.got.plt) 29 *(.igot.plt)
|
| /linux/arch/powerpc/kernel/ |
| H A D | vmlinux.lds.S | 153 *(.got.plt) 155 .plt : AT(ADDR(.plt) - LOAD_OFFSET) { 157 *(.plt) 406 *(.glink .iplt .plt)
|
| /linux/arch/nios2/kernel/ |
| H A D | vmlinux.lds.S | 35 *(.got.plt) 36 *(.igot.plt)
|
| /linux/arch/parisc/boot/compressed/ |
| H A D | vmlinux.lds.S | 36 .plt : { 37 *(.plt)
|