Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/sh/kernel/
Dmodule.c46 Elf32_Addr relocation; in apply_relocate_add() local
60 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
68 relocation |= !!(sym->st_other & 4); in apply_relocate_add()
76 value += relocation; in apply_relocate_add()
80 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add()
82 value += relocation; in apply_relocate_add()
87 ((relocation & 0xffff) << 10); in apply_relocate_add()
91 (((relocation >> 16) & 0xffff) << 10); in apply_relocate_add()
94 relocation -= (Elf32_Addr) location; in apply_relocate_add()
96 ((relocation & 0xffff) << 10); in apply_relocate_add()
[all …]
/Linux-v4.19/Documentation/livepatch/
Dmodule-elf-format.txt12 2. Livepatch relocation sections
13 2.1 What are livepatch relocation sections?
14 2.2 Livepatch relocation section format
17 2.2.3 Example livepatch relocation section names
40 loader to perform the all the arch-specific relocation work. Specifically,
49 table, symbol table, and relocation section indices, Elf information is
51 relocation sections and symbols, which are described in this document. The
52 Elf constants used to mark livepatch symbols and relocation sections were
70 relocation sections in place of dynrela sections, and the symbols that the
72 arch-specific livepatch relocation code is replaced by a call to
[all …]
Dlivepatch.txt252 relocation section in the generated livepatch module, see
/Linux-v4.19/arch/arc/kernel/
Dmodule.c57 Elf32_Addr relocation, location, tgt_addr; in apply_relocate_add() local
86 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
96 sym_entry->st_value, location, relocation, s); in apply_relocate_add()
106 arc_write_me((unsigned short *)location, relocation); in apply_relocate_add()
108 *((Elf32_Addr *) location) = relocation; in apply_relocate_add()
110 *((Elf32_Addr *) location) = relocation - location; in apply_relocate_add()
/Linux-v4.19/arch/arm/mach-hisi/
Dplatmcpm.c272 void __iomem *relocation; in hip04_smp_init() local
295 relocation = ioremap(hip04_boot_method[2], hip04_boot_method[3]); in hip04_smp_init()
296 if (!relocation) { in hip04_smp_init()
330 writel_relaxed(hip04_boot_method[0], relocation); in hip04_smp_init()
331 writel_relaxed(0xa5a5a5a5, relocation + 4); /* magic number */ in hip04_smp_init()
332 writel_relaxed(__pa_symbol(secondary_startup), relocation + 8); in hip04_smp_init()
333 writel_relaxed(0, relocation + 12); in hip04_smp_init()
334 iounmap(relocation); in hip04_smp_init()
343 iounmap(relocation); in hip04_smp_init()
/Linux-v4.19/tools/perf/tests/
DBuild35 perf-y += llvm.o llvm-src-base.o llvm-src-kbuild.o llvm-src-prologue.o llvm-src-relocation.o
74 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
D.gitignore4 llvm-src-relocation.c
/Linux-v4.19/arch/powerpc/platforms/8xx/
DKconfig151 bool "I2C/SPI relocation patch"
156 bool "I2C/SPI/SMC1 relocation patch"
/Linux-v4.19/fs/btrfs/
DMakefile11 compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
/Linux-v4.19/Documentation/devicetree/bindings/arm/hisilicon/
Dhisilicon.txt310 [2]: relocation physical address
311 [3]: relocation size
/Linux-v4.19/Documentation/
Dthis_cpu_ops.txt71 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
/Linux-v4.19/Documentation/arm/
Dmemory.txt31 CPU supports vector relocation (control
/Linux-v4.19/arch/x86/kernel/
Dhead_32.S381 * relocation. Manually set base address in stack canary
/Linux-v4.19/Documentation/core-api/
Dlocal_ops.rst22 relocation with the ``local_t`` like semantics in a single instruction and
/Linux-v4.19/arch/x86/boot/
Dheader.S216 # The EFI application loader requires a relocation section
/Linux-v4.19/Documentation/gpu/
Dvgaarbiter.rst6 modern devices allow relocation of such ranges, some "Legacy" VGA devices
Di915.rst324 This process is dubbed relocation.
Ddrm-mm.rst355 others (a fairly expensive operation), and providing relocation support
/Linux-v4.19/arch/arm64/
DKconfig1180 which retains all relocation metadata required to relocate the
1183 Since AArch64 uses the RELA relocation format, this requires a
1184 relocation pass at runtime even if the kernel is loaded at the
/Linux-v4.19/tools/perf/
DMakefile.perf861 $(OUTPUT)tests/llvm-src-{base,kbuild,prologue,relocation}.c \
/Linux-v4.19/arch/
DKconfig862 architectures, and don't require runtime relocation on relocatable
/Linux-v4.19/arch/powerpc/
DKconfig564 relocation code.
/Linux-v4.19/arch/arm/
DKconfig1550 relocation in modules at all, and it makes little sense to add
1554 relocation" error when loading some modules.
/Linux-v4.19/arch/mips/
DKconfig2575 This builds a kernel image that retains relocation information
2586 A table of relocation data will be appended to the kernel binary
/Linux-v4.19/Documentation/kbuild/
Dmakefiles.txt1246 For example, powerpc uses this to check relocation sanity of

12