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_PC{21,26} rela-style relocs MIPS: Support R_MIPS_PC{16,21,26} rel-style relocs Steven J. Hill (1): MIPS: module: Make consistent use of pr_*() arch/mips/include/asm/elf.h | 5 +++ arch/mips/kernel/module-rela.c | 75 +++++++++++++++++++++++++++++++++++----- arch/mips/kernel/module.c | 77 +++++++++++++++++++++++++++++++++++++----- 3 files changed, 140 insertions(+), 17 deletions(-) -- 2.7.0