Re: [PATCH v2 13/28] kbuild: lto: merge module sections

2020-09-08 Thread Sami Tolvanen
On Tue, Sep 08, 2020 at 12:25:54AM +0900, Masahiro Yamada wrote: > On Fri, Sep 4, 2020 at 5:31 AM Sami Tolvanen wrote: > > > > LLD always splits sections with LTO, which increases module sizes. This > > change adds a linker script that merges the split sections in the final > > module. > > > > Sug

Re: [PATCH v2 13/28] kbuild: lto: merge module sections

2020-09-07 Thread Masahiro Yamada
On Fri, Sep 4, 2020 at 5:31 AM Sami Tolvanen wrote: > > LLD always splits sections with LTO, which increases module sizes. This > change adds a linker script that merges the split sections in the final > module. > > Suggested-by: Nick Desaulniers > Signed-off-by: Sami Tolvanen > --- > Makefile

Re: [PATCH v2 13/28] kbuild: lto: merge module sections

2020-09-03 Thread Kees Cook
On Thu, Sep 03, 2020 at 01:30:38PM -0700, Sami Tolvanen wrote: > LLD always splits sections with LTO, which increases module sizes. This > change adds a linker script that merges the split sections in the final > module. > > Suggested-by: Nick Desaulniers > Signed-off-by: Sami Tolvanen We'll li

[PATCH v2 13/28] kbuild: lto: merge module sections

2020-09-03 Thread Sami Tolvanen
LLD always splits sections with LTO, which increases module sizes. This change adds a linker script that merges the split sections in the final module. Suggested-by: Nick Desaulniers Signed-off-by: Sami Tolvanen --- Makefile | 2 ++ scripts/module-lto.lds | 26 +++