diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-16 18:21:02 +0300 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-30 19:45:34 +0300 |
commit | 35fa91eed817d2c65c59ef5a9737011313be6ac0 (patch) | |
tree | 096f2f8bf219fb1b04f28c5fc104e6331c84695a /arch/arm/kernel/module.lds | |
parent | 3eab887a55424fc2c27553b7bfe32330df83f7b8 (diff) | |
download | linux-35fa91eed817d2c65c59ef5a9737011313be6ac0.tar.xz |
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>
Diffstat (limited to 'arch/arm/kernel/module.lds')
-rw-r--r-- | arch/arm/kernel/module.lds | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/kernel/module.lds b/arch/arm/kernel/module.lds index 3682fa107918..05881e2b414c 100644 --- a/arch/arm/kernel/module.lds +++ b/arch/arm/kernel/module.lds @@ -1,4 +1,3 @@ SECTIONS { - .core.plt : { BYTE(0) } - .init.plt : { BYTE(0) } + .plt : { BYTE(0) } } |