Re: [PATCH 07/22] kbuild: lto: merge module sections

2020-06-24 Thread Sami Tolvanen
On Wed, Jun 24, 2020 at 02:01:59PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > On Wed, Jun 24, 2020 at 1:33 PM 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 fi

Re: [PATCH 07/22] kbuild: lto: merge module sections

2020-06-24 Thread Nick Desaulniers
On Wed, Jun 24, 2020 at 1:33 PM 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 and discards the .eh_frame section that LLD may generate. For discarding .eh_frame, K