Re: [PATCH 1/2] x86/efi: Optimize away setup_gop32/64 if unused

2016-09-05 Thread Lukas Wunner
On Mon, Sep 05, 2016 at 01:37:25PM +0100, Matt Fleming wrote: > On Mon, 22 Aug, at 12:01:21PM, Lukas Wunner wrote: > > Eliminate the 64 bit code path when compiling for x86_32, and vice-versa > > the 32 bit code path when compiling for x86_64 with mixed mode disabled. > > > > Size of gop.o text se

Re: [PATCH 1/2] x86/efi: Optimize away setup_gop32/64 if unused

2016-09-05 Thread Matt Fleming
On Mon, 22 Aug, at 12:01:21PM, Lukas Wunner wrote: > Eliminate the 64 bit code path when compiling for x86_32, and vice-versa > the 32 bit code path when compiling for x86_64 with mixed mode disabled. > > Size of gop.o text section: > CONFIG_X86_32: 1758 before, 1299 after

[PATCH 1/2] x86/efi: Optimize away setup_gop32/64 if unused

2016-08-22 Thread Lukas Wunner
Eliminate the 64 bit code path when compiling for x86_32, and vice-versa the 32 bit code path when compiling for x86_64 with mixed mode disabled. Size of gop.o text section: CONFIG_X86_32: 1758 before, 1299 after CONFIG_X86_64 && !CONFIG_EFI_MIXED:2201 before, 1406 afte