]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Handle new ELFv2 module relocations
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Mar 2014 09:29:27 +0000 (19:59 +1030)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:29 +0000 (10:05 +1000)
commit56d0bfd904acb33ea162ce93e22081f9b16e89de
treec9ec428bd8f41c604160d937e294cfd4c287cb38
parent21e3b47f8d7f1ddffecfec7f73a0e486b0cb8a39
powerpc: Handle new ELFv2 module relocations

The new ELF ABI tends to use R_PPC64_REL16_LO and R_PPC64_REL16_HA
relocations (PC-relative), so implement them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/include/uapi/asm/elf.h
arch/powerpc/kernel/module_64.c