MIPS: module: Unify rel & rela reloc handling
authorPaul Burton <paul.burton@imgtec.com>
Thu, 30 Mar 2017 18:37:45 +0000 (11:37 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 28 Jun 2017 10:22:38 +0000 (12:22 +0200)
commit430d0b88943afffd0da6d98799bf0afb008fd13f
treee8bca93c870fca98e8b88fc86a8c32492cee5744
parent351b0940d473146923711bc943fc881354a4c1f3
MIPS: module: Unify rel & rela reloc handling

The module load code has previously had entirely separate
implementations for rel & rela style relocs, which unnecessarily
duplicates a whole lot of code. Unify the implementations of both types
of reloc, sharing the bulk of the code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15832/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/module.h
arch/mips/kernel/Makefile
arch/mips/kernel/module-rela.c [deleted file]
arch/mips/kernel/module.c