MIPSr6 introduced a few new relocations that may be present in loadable kernel modules. This series introduces support for them in both their rel & rela forms for MIPS32 & MIPS64 kernels respectively, and ensures that any future missing relocs cause module loading to fail gracefully. Paul Burton (3): MIPS: Bail on unsupported module relocs MIPS: Support R_MIPS_PC16 rel-style reloc MIPS: Implement MIPSr6 R_MIPS_PC2x rel-style relocs Steven J. Hill (2): MIPS: module-rela: Make consistent use of pr_*() MIPS: Add support for 64-bit R6 ELF relocations arch/mips/include/asm/elf.h | 5 +++ arch/mips/kernel/module-rela.c | 96 ++++++++++++++++++++++++++++++++++++++---- arch/mips/kernel/module.c | 85 +++++++++++++++++++++++++++++++++++-- 3 files changed, 173 insertions(+), 13 deletions(-) -- 2.7.0