]> Git Repo - linux.git/commit
efi/libstub: Optimize for size instead of speed
authorArvind Sankar <[email protected]>
Mon, 18 May 2020 19:06:57 +0000 (15:06 -0400)
committerArd Biesheuvel <[email protected]>
Tue, 19 May 2020 08:30:52 +0000 (10:30 +0200)
commitbbf8e8b0fe0401e1952c77088692fd273a9635a1
treecbec01ae963346a9a6317beccae6fbfac5416a80
parent2c7d1e30e5884dc6f6727ecd9417491c9f321b59
efi/libstub: Optimize for size instead of speed

Reclaim the bloat from the addition of printf by optimizing the stub for
size. With gcc 9, the text size of the stub is:

ARCH    before  +printf    -Os
arm      35197    37889  34638
arm64    34883    38159  34479
i386     18571    21657  17025
x86_64   25677    29328  22144

Signed-off-by: Arvind Sankar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ard Biesheuvel <[email protected]>
drivers/firmware/efi/libstub/Makefile
This page took 0.04469 seconds and 4 git commands to generate.