summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-02-04 13:05:05 +0000
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:01:54 +0200
commit5d3c792583b6040607e178925ccc8316a207210f (patch)
tree7d632647af12f2b52553132b190c276407c54aab /mm/truncate.c
parentad8319ea4647c897c837643a611714a83d8f6a0f (diff)
MIPS: Support R_MIPS_PC{16,21,26} rel-style relocs
MIPS32 code uses rel-style relocs, and MIPS32r6 modules may include R_MIPS_PC16, R_MIPS_PC21 & R_MIPS_PC26 relocations. We thus need to support these relocations in order to load MIPS32r6 kernel modules. This patch adds such support, which is similar to the rela-style support in module-rela.c but making use of the implicit addend from the instruction encoding. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: Steven J. Hill <sjhill@realitydiluted.com> Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: James Hogan <james.hogan@imgtec.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12435/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions