diff options
| author | Matthias Schiffer <[email protected]> | 2019-06-07 10:49:12 +0000 |
|---|---|---|
| committer | Jessica Yu <[email protected]> | 2019-06-24 12:05:10 +0000 |
| commit | 70bac08d4157fda334fe21ee38a2e93bc434bac4 (patch) | |
| tree | 33c91f336746cba92b4772e3c0a3803ed98efa07 /net/tipc/node.c | |
| parent | module: allow arch overrides for .exit section names (diff) | |
| download | kernel-70bac08d4157fda334fe21ee38a2e93bc434bac4.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
