Paul Burton 5d3c792583 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>
2016-05-13 14:01:54 +02:00
..
2016-05-13 14:01:53 +02:00
2015-08-18 11:40:20 +02:00
2011-12-07 22:03:45 +00:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2013-02-01 10:00:22 +01:00
2014-08-26 13:45:51 -04:00
2016-04-03 12:32:09 +02:00
2014-05-24 00:07:01 +02:00
2016-05-09 12:00:02 +02:00
2015-03-19 17:39:49 +01:00
2014-08-02 00:06:37 +02:00
2015-11-11 08:36:46 +01:00
2014-05-24 00:07:01 +02:00
2009-06-24 18:34:40 +01:00
2015-09-03 12:08:05 +02:00
2014-05-24 00:07:01 +02:00
2016-05-09 12:00:02 +02:00