Re: [PATCH] efi: make const array 'apple' static

2018-03-02 Thread Ard Biesheuvel
On 2 March 2018 at 14:35, Colin King wrote: > From: Colin Ian King > > Don't populate the const read-only array 'buf' on the stack but instead > make it static. Makes the object code smaller by 64 bytes: > > Before: >textdata bss dec hex filename >9264 1 169

[PATCH] efi: make const array 'apple' static

2018-03-02 Thread Colin King
From: Colin Ian King Don't populate the const read-only array 'buf' on the stack but instead make it static. Makes the object code smaller by 64 bytes: Before: textdata bss dec hex filename 9264 1 1692812441 arch/x86/boot/compressed/eboot.o After: tex