Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-23 Thread Anup Patel
On Fri, Dec 21, 2018 at 2:10 AM Palmer Dabbelt wrote: > > On Mon, 17 Dec 2018 01:36:45 PST (-0800), a...@brainfault.org wrote: > > On Mon, Nov 26, 2018 at 11:42 AM Anup Patel wrote: > >> > >> The objcopy only emits loadable sections when creating flat kernel > >> Image. To have minimal possible

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-20 Thread Palmer Dabbelt
On Mon, 17 Dec 2018 01:36:45 PST (-0800), a...@brainfault.org wrote: On Mon, Nov 26, 2018 at 11:42 AM Anup Patel wrote: The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-18 Thread Anup Patel
On Mon, Dec 17, 2018 at 6:29 PM Nick Kossifidis wrote: > > Στις 2018-12-17 11:36, Anup Patel έγραψε: > > On Mon, Nov 26, 2018 at 11:42 AM Anup Patel > > wrote: > >> > >> The objcopy only emits loadable sections when creating flat kernel > >> Image. To have minimal possible size of flat kernel

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-17 Thread Nick Kossifidis
Στις 2018-12-17 11:36, Anup Patel έγραψε: On Mon, Nov 26, 2018 at 11:42 AM Anup Patel wrote: The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections.

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-12-17 Thread Anup Patel
On Mon, Nov 26, 2018 at 11:42 AM Anup Patel wrote: > > The objcopy only emits loadable sections when creating flat kernel > Image. To have minimal possible size of flat kernel Image, we should > have all non-loadable sections after loadable sections. > > Currently, execption table section

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-28 Thread Bin Meng
On Mon, Nov 26, 2018 at 2:12 PM Anup Patel wrote: > > The objcopy only emits loadable sections when creating flat kernel > Image. To have minimal possible size of flat kernel Image, we should > have all non-loadable sections after loadable sections. > > Currently, execption table section

Re: [PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-28 Thread Bin Meng
On Mon, Nov 26, 2018 at 2:12 PM Anup Patel wrote: > > The objcopy only emits loadable sections when creating flat kernel > Image. To have minimal possible size of flat kernel Image, we should > have all non-loadable sections after loadable sections. > > Currently, execption table section

[PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-25 Thread Anup Patel
The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currently, execption table section (loadable section) is after BSS section (non-loadable section) in the

[PATCH] RISC-V: Make BSS section as the last section in vmlinux.lds.S

2018-11-25 Thread Anup Patel
The objcopy only emits loadable sections when creating flat kernel Image. To have minimal possible size of flat kernel Image, we should have all non-loadable sections after loadable sections. Currently, execption table section (loadable section) is after BSS section (non-loadable section) in the