diff options
author | Matthias Schiffer | 2019-06-07 12:49:12 +0200 |
---|---|---|
committer | Jessica Yu | 2019-06-24 14:05:10 +0200 |
commit | 70bac08d4157fda334fe21ee38a2e93bc434bac4 (patch) | |
tree | 33c91f336746cba92b4772e3c0a3803ed98efa07 /drivers/net/ethernet/arc/emac_arc.c | |
parent | module: allow arch overrides for .exit section names (diff) | |
download | kernel-qcow2-linux-70bac08d4157fda334fe21ee38a2e93bc434bac4.tar.gz kernel-qcow2-linux-70bac08d4157fda334fe21ee38a2e93bc434bac4.tar.xz kernel-qcow2-linux-70bac08d4157fda334fe21ee38a2e93bc434bac4.zip |
ARM: module: recognize unwind exit sections
In addition to the prefix ".exit", ".ARM.extab.exit" and ".ARM.exidx.exit"
must be recognized as exit sections as well. Otherwise, loading modules can
fail without CONFIG_MODULE_UNLOAD depending on the memory layout, when
relocations for the unwind sections refer to the .exit.text section:
imx_sdma: section 16 reloc 0 sym '': relocation 42 out of range
(0x7f015260 -> 0xc0f5a5e8)
where 0x7F000000 is the module load area and 0xC0000000 is the vmalloc
area. Relocation 42 refers to R_ARM_PREL31, which is limited to signed
31bit offsets.
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/arc/emac_arc.c')
0 files changed, 0 insertions, 0 deletions