]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: kernel: merge core and init PLTs
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 16 Aug 2016 15:21:02 +0000 (17:21 +0200)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 30 Aug 2016 16:45:34 +0000 (17:45 +0100)
commit35fa91eed817d2c65c59ef5a9737011313be6ac0
tree096f2f8bf219fb1b04f28c5fc104e6331c84695a
parent3eab887a55424fc2c27553b7bfe32330df83f7b8
ARM: kernel: merge core and init PLTs

The PLT code uses a separate .init.plt section to allocate PLT entries
for jump and call instructions in __init code. However, even for fairly
sizable modules like mac80211.ko, we only end up with a couple of PLT
entries in the .init section, and so we can simplify the code
significantly by emitting all PLT entries into the same section.

Tested-by: Jongsung Kim <neidhard.kim@lge.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm/include/asm/module.h
arch/arm/kernel/module-plts.c
arch/arm/kernel/module.lds