/Linux-v5.10/arch/sh/kernel/ |
D | module.c | 33 Elf32_Addr relocation; in apply_relocate_add() local 47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add() 54 value += relocation; in apply_relocate_add() 58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add() 60 value += relocation; in apply_relocate_add() 65 ((relocation & 0xffff) << 10); in apply_relocate_add() 69 (((relocation >> 16) & 0xffff) << 10); in apply_relocate_add() 72 relocation -= (Elf32_Addr) location; in apply_relocate_add() 74 ((relocation & 0xffff) << 10); in apply_relocate_add() 77 relocation -= (Elf32_Addr) location; in apply_relocate_add() [all …]
|
/Linux-v5.10/Documentation/livepatch/ |
D | module-elf-format.rst | 12 3. Livepatch relocation sections 13 3.1 Livepatch relocation section format 27 loader to perform the all the arch-specific relocation work. Specifically, 36 table, symbol table, and relocation section indices, Elf information is 38 relocation sections and symbols, which are described in this document. The 39 Elf constants used to mark livepatch symbols and relocation sections were 57 relocation sections in place of dynrela sections, and the symbols that the 59 arch-specific livepatch relocation code is replaced by a call to 86 3. Livepatch relocation sections 89 A livepatch module manages its own Elf relocation sections to apply [all …]
|
D | livepatch.rst | 251 relocation section in the generated livepatch module, see
|
/Linux-v5.10/arch/arc/kernel/ |
D | module.c | 54 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()
|
/Linux-v5.10/arch/arm/mach-hisi/ |
D | platmcpm.c | 269 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()
|
/Linux-v5.10/arch/mips/vdso/ |
D | Kconfig | 3 # relocation in binutils > 2.25 but it will fail with older versions 4 # because that relocation is not supported for that symbol. As a result
|
/Linux-v5.10/tools/perf/tests/ |
D | .gitignore | 5 llvm-src-relocation.c
|
D | Build | 39 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o 87 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
|
/Linux-v5.10/arch/powerpc/platforms/8xx/ |
D | Kconfig | 142 bool "I2C/SPI relocation patch" 147 bool "I2C/SPI/SMC1 relocation patch" 152 bool "SMC relocation patch"
|
/Linux-v5.10/fs/btrfs/ |
D | Makefile | 11 compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
|
/Linux-v5.10/Documentation/core-api/ |
D | this_cpu_ops.rst | 71 the processor. So the relocation to the per cpu base is encoded in the 256 address relocation and a Read-Modify-Write operation in the same 268 relocation. IMHO the second form looks cleaner and has an easier time
|
D | local_ops.rst | 22 relocation with the ``local_t`` like semantics in a single instruction and
|
/Linux-v5.10/Documentation/arm/ |
D | memory.rst | 35 CPU supports vector relocation (control
|
/Linux-v5.10/arch/x86/kernel/ |
D | head_32.S | 345 * relocation. Manually set base address in stack canary
|
/Linux-v5.10/arch/x86/boot/ |
D | header.S | 211 # The EFI application loader requires a relocation section
|
/Linux-v5.10/arch/ |
D | Kconfig | 981 architectures, and don't require runtime relocation on relocatable 1001 bool "Use RELR relocation packing" 1005 Store the kernel's dynamic relocations in the RELR relocation packing
|
/Linux-v5.10/Documentation/gpu/ |
D | vgaarbiter.rst | 6 modern devices allow relocation of such ranges, some "Legacy" VGA devices
|
D | i915.rst | 330 This process is dubbed relocation.
|
D | drm-mm.rst | 342 others (a fairly expensive operation), and providing relocation support
|
/Linux-v5.10/tools/perf/ |
D | Makefile.perf | 1018 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
|
/Linux-v5.10/arch/arm64/ |
D | Kconfig | 1781 which retains all relocation metadata required to relocate the 1784 Since AArch64 uses the RELA relocation format, this requires a 1785 relocation pass at runtime even if the kernel is loaded at the
|
/Linux-v5.10/arch/s390/ |
D | Kconfig | 597 This builds a kernel image that retains relocation information
|
/Linux-v5.10/arch/mips/ |
D | Kconfig | 2782 This builds a kernel image that retains relocation information 2793 A table of relocation data will be appended to the kernel binary
|
/Linux-v5.10/arch/powerpc/ |
D | Kconfig | 608 relocation code.
|
/Linux-v5.10/Documentation/kbuild/ |
D | makefiles.rst | 1449 For example, powerpc uses this to check relocation sanity of
|