Re: [PATCH] arm64: Change the location of DISCARDS

2020-11-12 Thread Catalin Marinas
On Fri, Nov 06, 2020 at 09:07:38AM +, Will Deacon wrote: > On Fri, Nov 06, 2020 at 09:06:42AM +0800, tangyouling wrote: > > In the include/asm-generic/vmlinux.lds.h:978, the description is as follows: > > DISCARDS must be the last of output section definitions so that such archs > > put those

Re: [PATCH] arm64: Change the location of DISCARDS

2020-11-06 Thread Will Deacon
On Fri, Nov 06, 2020 at 09:06:42AM +0800, tangyouling wrote: > In the include/asm-generic/vmlinux.lds.h:978, the description is as follows: > DISCARDS must be the last of output section definitions so that such archs > put those in earlier section definitions. Sure, I see that text, but I don't

Re: [PATCH] arm64: Change the location of DISCARDS

2020-11-05 Thread tangyouling
Hi, Will In the include/asm-generic/vmlinux.lds.h:978, the description is as follows: DISCARDS must be the last of output section definitions so that such archs put those in earlier section definitions. Thanks, Youling On 11/06/2020 05:47 AM, Will Deacon wrote: In the

Re: [PATCH] arm64: Change the location of DISCARDS

2020-11-05 Thread Will Deacon
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 > --- >

[PATCH] arm64: Change the location of DISCARDS

2020-11-04 Thread Youling Tang
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 --- arch/arm64/kernel/vmlinux.lds.S | 13 +++-- 1 file changed, 7