Home
last modified time | relevance | path

Searched full:relr (Results 1 – 7 of 7) sorted by relevance

/linux/arch/arm64/kernel/pi/
H A Drelocate.c29 * Apply RELR relocations. in relocate_kernel()
31 * RELR is a compressed format for storing relative relocations. The in relocate_kernel()
53 for (const u64 *relr = relr_start; relr < relr_end; relr++) { in relocate_kernel() local
54 if ((*relr & 1) == 0) { in relocate_kernel()
55 place = (u64 *)(*relr + offset); in relocate_kernel()
58 for (u64 *p = place, r = *relr >> 1; r; p++, r >>= 1) in relocate_kernel()
/linux/arch/loongarch/kernel/
H A Drelocate.c44 u64 *relr = (u64 *)&__relr_dyn_begin; in relocate_relative() local
47 for ( ; relr < relr_end; relr++) { in relocate_relative()
48 if ((*relr & 1) == 0) { in relocate_relative()
49 addr = (u64 *)(*relr + reloc_offset); in relocate_relative()
52 for (u64 *p = addr, r = *relr >> 1; r; p++, r >>= 1) in relocate_relative()
H A Dvmlinux.lds.S122 .relr.dyn : ALIGN(8) {
124 *(.relr.dyn)
/linux/scripts/
H A Dtools-support-relr.sh12 if ! $LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr -o $tmp_file 2>/dev/null; then
18 # sees a relr section. So we need to check that nothing is printed to stderr.
/linux/arch/arm64/kernel/
H A Dvmlinux.lds.S303 .relr.dyn : ALIGN(8) {
305 *(.relr.dyn)
/linux/init/
H A DKconfig129 def_bool $(success,env "CC=$(CC)" "LD=$(LD)" "NM=$(NM)" "OBJCOPY=$(OBJCOPY)" $(srctree)/scripts/tools-support-relr.sh)
/linux/
H A DMakefile1236 LDFLAGS_vmlinux += $(call ld-option,--pack-dyn-relocs=relr,-z pack-relative-relocs)