aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kexec_internal.h
diff options
context:
space:
mode:
authorShaoying Xu <shaoyi@amazon.com>2021-02-16 18:32:34 +0000
committerWill Deacon <will@kernel.org>2021-02-19 17:59:59 +0000
commitf5c6d0fcf90ce07ee0d686d465b19b247ebd5ed7 (patch)
treed7eb8f891031fff1b56400588881b6b2313a9357 /kernel/kexec_internal.h
parent656d1d58d8e0958d372db86c24f0b2ea36f50888 (diff)
arm64 module: set plt* section addresses to 0x0
These plt* and .text.ftrace_trampoline sections specified for arm64 have non-zero addressses. Non-zero section addresses in a relocatable ELF would confuse GDB when it tries to compute the section offsets and it ends up printing wrong symbol addresses. Therefore, set them to zero, which mirrors the change in commit 5d8591bc0fba ("module: set ksymtab/kcrctab* section addresses to 0x0"). Reported-by: Frank van der Linden <fllinden@amazon.com> Signed-off-by: Shaoying Xu <shaoyi@amazon.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210216183234.GA23876@amazon.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'kernel/kexec_internal.h')
0 files changed, 0 insertions, 0 deletions

Privacy Policy