[PATCH v2 0/4] Support new MIPSr6 relocations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux