/linux/arch/arm/kernel/ |
A D | module-plts.c | 45 plt->ldr[i] = PLT_ENT_LDR; in prealloc_fixed() 55 struct plt_entries *plt; in get_module_plt() local 61 plt = pltsec->plt_ent; in get_module_plt() 66 if (plt->lit[idx] == val) in get_module_plt() 79 if (plt->lit[idx] == val) in get_module_plt() 84 plt++; in get_module_plt() 97 plt->lit[idx] = val; in get_module_plt() 228 mod->arch.core.plt = s; in module_frob_arch_sections() 230 mod->arch.init.plt = s; in module_frob_arch_sections() 235 if (!mod->arch.core.plt || !mod->arch.init.plt) { in module_frob_arch_sections() [all …]
|
/linux/drivers/net/phy/ |
A D | phy_led_triggers.c | 31 struct phy_led_trigger *plt; in phy_led_trigger_change_speed() local 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() 76 return led_trigger_register(&plt->trigger); in phy_led_trigger_register() [all …]
|
/linux/arch/riscv/kernel/ |
A D | module-sections.c | 36 struct mod_section *plt_sec = &mod->arch.plt; in module_emit_plt_entry() 40 if (plt) in module_emit_plt_entry() 41 return (unsigned long)plt; 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() 138 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections() 142 mod->arch.plt.num_entries = 0; in module_frob_arch_sections() [all …]
|
/linux/arch/x86/boot/compressed/ |
A D | vmlinux.lds.S | 83 .got.plt (INFO) : { 84 *(.got.plt) 86 ASSERT(SIZEOF(.got.plt) == 0 || 88 SIZEOF(.got.plt) == 0x18, 90 SIZEOF(.got.plt) == 0xc, 103 .plt : { 104 *(.plt) *(.plt.*) 106 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
/linux/arch/arm64/kernel/ |
A D | module-plts.c | 27 struct plt_entry plt; in get_plt_entry() local 35 plt.br = cpu_to_le32(br); in get_plt_entry() 37 return plt; in get_plt_entry() 83 if (is_forbidden_offset_for_adrp(&plt[i].adrp)) in module_emit_plt_entry() 86 plt[i] = get_plt_entry(val, &plt[i]); in module_emit_plt_entry() 93 if (j >= 0 && plt_entries_equal(plt + i, plt + j)) in module_emit_plt_entry() 94 return (u64)&plt[j]; in module_emit_plt_entry() 100 return (u64)&plt[i]; in module_emit_plt_entry() 127 plt[i] = __get_adrp_add_pair(val, (u64)&plt[i], rd); in module_emit_veneer_for_adrp() 128 plt[i].br = cpu_to_le32(br); in module_emit_veneer_for_adrp() [all …]
|
A D | vmlinux.lds.S | 185 .got.plt : { *(.got.plt) } 186 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, 319 .plt : { 320 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 322 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
A D | ftrace.c | 69 struct plt_entry *plt = mod->arch.ftrace_trampolines; in get_ftrace_plt() local 72 return &plt[FTRACE_PLT_IDX]; in get_ftrace_plt() 75 return &plt[FTRACE_REGS_PLT_IDX]; in get_ftrace_plt() 91 struct plt_entry *plt; in ftrace_make_call() local 113 plt = get_ftrace_plt(mod, addr); in ftrace_make_call() 114 if (!plt) { in ftrace_make_call() 119 addr = (unsigned long)plt; in ftrace_make_call()
|
A D | vmlinux.lds | 36 .got.plt : { *(.got.plt) } 37 ASSERT(SIZEOF(.got.plt) == 0 || SIZEOF(.got.plt) == 0x18, 119 .plt : { 120 *(.plt) *(.plt.*) *(.iplt) *(.igot .igot.plt) 122 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
/linux/arch/ia64/kernel/ |
A D | module.c | 245 plt_target (struct plt_entry *plt) in plt_target() argument 254 return (long) plt->bundle[1] + 16*off; in plt_target() 294 plt_target (struct plt_entry *plt) in plt_target() argument 541 struct plt_entry *plt, *plt_end; in get_plt() local 548 plt = (void *) mod->arch.init_plt->sh_addr; in get_plt() 560 while (plt->bundle[0][0]) { in get_plt() 561 if (plt_target(plt) == target_ip) in get_plt() 563 if (++plt >= plt_end) in get_plt() 566 *plt = ia64_plt_template; in get_plt() 572 if (plt_target(plt) != target_ip) { in get_plt() [all …]
|
/linux/arch/x86/kernel/ |
A D | vmlinux.lds.S | 437 .got.plt (INFO) : { *(.got.plt) } 438 ASSERT(SIZEOF(.got.plt) == 0 || 440 SIZEOF(.got.plt) == 0x18, 442 SIZEOF(.got.plt) == 0xc, 455 .plt : { 456 *(.plt) *(.plt.*) *(.iplt) 458 ASSERT(SIZEOF(.plt) == 0, "Unexpected run-time procedure linkages detected!")
|
/linux/arch/um/kernel/ |
A D | uml.lds.S | 59 .rel.plt : { 60 *(.rel.plt) 65 .rela.plt : { 66 *(.rela.plt) 97 .got : { *(.got.plt) *(.got) }
|
A D | dyn.lds.S | 57 .rel.plt : { 58 *(.rel.plt) 63 .rela.plt : { 64 *(.rela.plt) 72 .plt : { *(.plt) } 154 .got : { *(.got.plt) *(.got) }
|
/linux/arch/riscv/include/asm/ |
A D | module.h | 22 struct mod_section plt; member 64 unsigned long plt, in emit_plt_entry() argument 79 unsigned long offset = got_plt - plt; in emit_plt_entry() 104 struct plt_entry *plt = (struct plt_entry *)sec_plt->shdr->sh_addr; in get_plt_entry() local 107 return plt + got_plt_idx; in get_plt_entry()
|
A D | module.lds.h | 5 .plt (NOLOAD) : { BYTE(0) } in plt() function 7 .got.plt (NOLOAD) : { BYTE(0) } in plt() function
|
/linux/arch/arm/include/asm/ |
A D | module.lds.h | 4 .plt : { BYTE(0) } 5 .init.plt : { BYTE(0) }
|
A D | vmlinux.lds.h | 60 .plt : { \ 61 *(.iplt) *(.rel.iplt) *(.iplt) *(.igot.plt) \ 63 ASSERT(SIZEOF(.plt) == 0, \
|
/linux/arch/arm64/include/asm/ |
A D | module.lds.h | 3 .plt 0 (NOLOAD) : { BYTE(0) } 4 .init.plt 0 (NOLOAD) : { BYTE(0) }
|
/linux/arch/ia64/include/asm/ |
A D | module.lds.h | 10 .core.plt : { BYTE(0) } 11 .init.plt : { BYTE(0) }
|
/linux/arch/nios2/boot/compressed/ |
A D | vmlinux.lds.S | 28 *(.got.plt) 29 *(.igot.plt)
|
/linux/arch/nios2/kernel/ |
A D | vmlinux.lds.S | 36 *(.got.plt) 37 *(.igot.plt)
|
/linux/arch/parisc/boot/compressed/ |
A D | vmlinux.lds.S | 36 .plt : { 37 *(.plt)
|
/linux/arch/arm/vdso/ |
A D | vdso.lds.S | 47 .rel.plt : { *(.rel.plt) }
|
/linux/arch/arm64/kernel/vdso32/ |
A D | vdso.lds.S | 43 .rel.plt : { *(.rel.plt) }
|
/linux/arch/arm/boot/compressed/ |
A D | vmlinux.lds.S | 69 .got.plt : { *(.got.plt) }
|
/linux/arch/parisc/kernel/ |
A D | vmlinux.lds.S | 123 .plt : { 124 *(.plt)
|