]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit0906584a0a4b689f6e80307f699247621321670a
treec9ec428bd8f41c604160d937e294cfd4c287cb38
parent4edebbeae3085e71f75584b6582495459e2e6cb2
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