Re: [PATCH] arm64: Change the location of DISCARDS
From: Will Deacon
Date: Thu Nov 05 2020 - 16:47:46 EST
On Wed, Nov 04, 2020 at 06:48:52PM +0800, Youling Tang wrote:
> In the include/asm-generic/vmlinux.lds.h file, the "must be the last"
> comment indicates that DISCARDS should be placed in the last position
> of SECTIONS, like x86, mips, riscv, etc.
>
> Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
> ---
> arch/arm64/kernel/vmlinux.lds.S | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
Why does this section need to be last?
Will