[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161375760038.289768.8112572248042757757.b4-ty@kernel.org>
Date: Fri, 19 Feb 2021 19:16:55 +0000
From: Will Deacon <will@...nel.org>
To: Shaoying Xu <shaoyi@...zon.com>, catalin.marinas@....com
Cc: kernel-team@...roid.com, Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
benh@...zon.com, fllinden@...zon.com
Subject: Re: [PATCH] arm64 module: set plt* section addresses to 0x0
On Tue, 16 Feb 2021 18:32:34 +0000, Shaoying Xu wrote:
> 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").
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64 module: set plt* section addresses to 0x0
https://git.kernel.org/arm64/c/f5c6d0fcf90c
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists