diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2019-06-07 12:49:12 +0200 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2019-06-24 14:05:10 +0200 |
commit | 70bac08d4157fda334fe21ee38a2e93bc434bac4 (patch) | |
tree | 33c91f336746cba92b4772e3c0a3803ed98efa07 /scripts/headers_install.sh | |
parent | 38b37d631aec80da0c65ac03a7ef680b468c7857 (diff) |
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 'scripts/headers_install.sh')
0 files changed, 0 insertions, 0 deletions