Home
last modified time | relevance | path

Searched refs:relocation (Results 1 – 13 of 13) sorted by relevance

/arch/sh/kernel/
Dmodule.c33 Elf32_Addr relocation; in apply_relocate_add() local
47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
55 relocation |= !!(sym->st_other & 4); in apply_relocate_add()
63 value += relocation; in apply_relocate_add()
67 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
69 value += relocation; in apply_relocate_add()
74 ((relocation & 0xffff) << 10); in apply_relocate_add()
78 (((relocation >> 16) & 0xffff) << 10); in apply_relocate_add()
81 relocation -= (Elf32_Addr) location; in apply_relocate_add()
83 ((relocation & 0xffff) << 10); in apply_relocate_add()
[all …]
/arch/arc/kernel/
Dmodule.c54 Elf32_Addr relocation, location, tgt_addr; in apply_relocate_add() local
83 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
93 sym_entry->st_value, location, relocation, s); in apply_relocate_add()
103 arc_write_me((unsigned short *)location, relocation); in apply_relocate_add()
105 *((Elf32_Addr *) location) = relocation; in apply_relocate_add()
107 *((Elf32_Addr *) location) = relocation - location; in apply_relocate_add()
/arch/arm/mach-hisi/
Dplatmcpm.c269 void __iomem *relocation; in hip04_smp_init() local
292 relocation = ioremap(hip04_boot_method[2], hip04_boot_method[3]); in hip04_smp_init()
293 if (!relocation) { in hip04_smp_init()
327 writel_relaxed(hip04_boot_method[0], relocation); in hip04_smp_init()
328 writel_relaxed(0xa5a5a5a5, relocation + 4); /* magic number */ in hip04_smp_init()
329 writel_relaxed(__pa_symbol(secondary_startup), relocation + 8); in hip04_smp_init()
330 writel_relaxed(0, relocation + 12); in hip04_smp_init()
331 iounmap(relocation); in hip04_smp_init()
340 iounmap(relocation); in hip04_smp_init()
/arch/powerpc/platforms/8xx/
DKconfig151 bool "I2C/SPI relocation patch"
156 bool "I2C/SPI/SMC1 relocation patch"
161 bool "SMC relocation patch"
/arch/x86/kernel/
Dhead_32.S381 * relocation. Manually set base address in stack canary
/arch/x86/boot/
Dheader.S216 # The EFI application loader requires a relocation section
/arch/
DKconfig1035 architectures, and don't require runtime relocation on relocatable
1055 bool "Use RELR relocation packing"
1059 Store the kernel's dynamic relocations in the RELR relocation packing
/arch/arm64/
DKconfig1537 which retains all relocation metadata required to relocate the
1540 Since AArch64 uses the RELA relocation format, this requires a
1541 relocation pass at runtime even if the kernel is loaded at the
/arch/s390/
DKconfig633 This builds a kernel image that retains relocation information
/arch/mips/
DKconfig2647 This builds a kernel image that retains relocation information
2658 A table of relocation data will be appended to the kernel binary
/arch/arm/
DKconfig1444 relocation in modules at all, and it makes little sense to add
1448 relocation" error when loading some modules.
/arch/powerpc/
DKconfig560 relocation code.
/arch/x86/
DKconfig2176 This builds a kernel image that retains relocation information