Home
last modified time | relevance | path

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

/linux-4.4.14/arch/m32r/kernel/
Dmodule.c80 Elf32_Addr relocation; in apply_relocate_add() local
98 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
104 value += relocation; in apply_relocate_add()
109 relocation = (relocation >>16) & 0xffff; in apply_relocate_add()
111 value += relocation; in apply_relocate_add()
116 if (relocation & 0x8000) relocation += 0x10000; in apply_relocate_add()
117 relocation = (relocation >>16) & 0xffff; in apply_relocate_add()
119 value += relocation; in apply_relocate_add()
124 relocation = relocation & 0xffff; in apply_relocate_add()
126 hvalue = relocation; in apply_relocate_add()
[all …]
/linux-4.4.14/arch/avr32/kernel/
Dmodule.c135 Elf32_Addr relocation) in reloc_overflow() argument
138 module->name, (unsigned long)relocation, reloc_name); in reloc_overflow()
159 Elf32_Addr relocation; in apply_relocate_add() local
165 relocation = sym->st_value + rel->r_addend; in apply_relocate_add()
183 *gotent = relocation; in apply_relocate_add()
187 relocation = info->got_offset; in apply_relocate_add()
194 *location = relocation; in apply_relocate_add()
197 relocation -= (Elf32_Addr)location; in apply_relocate_add()
198 if ((relocation & 0xffe00001) != 0 in apply_relocate_add()
199 && (relocation & 0xffc00001) != 0xffc00000) in apply_relocate_add()
[all …]
/linux-4.4.14/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-4.4.14/arch/mn10300/kernel/
Dmodule.c65 Elf32_Addr relocation, sym_diff_val = 0; in apply_relocate_add() local
83 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
91 relocation -= sym_diff_val; in apply_relocate_add()
105 reloc_put32(location, relocation); in apply_relocate_add()
108 reloc_put24(location, relocation); in apply_relocate_add()
111 reloc_put16(location, relocation); in apply_relocate_add()
114 *location = relocation; in apply_relocate_add()
121 value = relocation - (uint32_t) location; in apply_relocate_add()
125 value = relocation - (uint32_t) location; in apply_relocate_add()
129 *location = relocation - (uint32_t) location; in apply_relocate_add()
/linux-4.4.14/arch/metag/kernel/
Dmodule.c207 Elf32_Addr relocation; in apply_relocate_add() local
221 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
227 relocation >>= 16; in apply_relocate_add()
230 ((relocation & 0xffff) << 3); in apply_relocate_add()
237 put_unaligned(relocation, location); in apply_relocate_add()
240 *location += ((relocation & 0xfff) << 7); in apply_relocate_add()
252 if (((int32_t)(relocation - in apply_relocate_add()
254 ((int32_t)(relocation - in apply_relocate_add()
256 relocation = do_plt_call(location, relocation, in apply_relocate_add()
260 value = relocation - (uint32_t)location; in apply_relocate_add()
/linux-4.4.14/arch/arm/mach-hisi/
Dplatmcpm.c272 void __iomem *relocation; in hip04_smp_init() local
293 relocation = ioremap(hip04_boot_method[2], hip04_boot_method[3]); in hip04_smp_init()
294 if (!relocation) { in hip04_smp_init()
328 writel_relaxed(hip04_boot_method[0], relocation); in hip04_smp_init()
329 writel_relaxed(0xa5a5a5a5, relocation + 4); /* magic number */ in hip04_smp_init()
330 writel_relaxed(virt_to_phys(secondary_startup), relocation + 8); in hip04_smp_init()
331 writel_relaxed(0, relocation + 12); in hip04_smp_init()
332 iounmap(relocation); in hip04_smp_init()
341 iounmap(relocation); in hip04_smp_init()
/linux-4.4.14/arch/arc/kernel/
Dmodule.c70 Elf32_Addr relocation; in apply_relocate_add() local
95 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
99 sym_entry->st_value, location, relocation, in apply_relocate_add()
110 arc_write_me((unsigned short *)location, relocation); in apply_relocate_add()
112 *((Elf32_Addr *) location) = relocation; in apply_relocate_add()
/linux-4.4.14/fs/btrfs/
DMakefile10 compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
/linux-4.4.14/arch/powerpc/platforms/8xx/
DKconfig162 bool "I2C/SPI relocation patch"
167 bool "I2C/SPI/SMC1 relocation patch"
/linux-4.4.14/Documentation/devicetree/bindings/arm/hisilicon/
Dhisilicon.txt230 [2]: relocation physical address
231 [3]: relocation size
/linux-4.4.14/Documentation/
Dthis_cpu_ops.txt67 the processor. So the relocation to the per cpu base is encoded in the
246 address relocation and a Read-Modify-Write operation in the same
258 relocation. IMHO the second form looks cleaner and has an easier time
Dlocal_ops.txt14 this_cpu operations combine the relocation with the local_t like semantics in
Dvgaarbiter.txt6 modern devices allow relocation of such ranges, some "Legacy" VGA devices
/linux-4.4.14/Documentation/arm/
Dmemory.txt31 CPU supports vector relocation (control
/linux-4.4.14/arch/x86/boot/
Dheader.S217 # The EFI application loader requires a relocation section
/linux-4.4.14/arch/arm/
DKconfig1586 relocation in modules at all, and it makes little sense to add
1590 relocation" error when loading some modules.
/linux-4.4.14/Documentation/sound/oss/
DREADME.OSS1280 which use software configurable I/O port relocation feature of the chip.
/linux-4.4.14/arch/x86/
DKconfig1857 This builds a kernel image that retains relocation information