diff options
| author | Vincent Mailhol <mailhol@kernel.org> | 2026-09-03 23:25:17 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-09-04 18:14:17 +0200 |
| commit | 2457ac9d44f3c2a33459eef39989f26d545fcece (patch) | |
| tree | 713c093c2f355f5471c3c5c185480d4326c399e7 /scripts/Makefile.thinlto | |
| parent | e57b05932a49b1ef54c6f116b9b044ce37db7dcc (diff) | |
| download | linux-next-2457ac9d44f3c2a33459eef39989f26d545fcece.tar.gz linux-next-2457ac9d44f3c2a33459eef39989f26d545fcece.zip | |
efi/libstub: factor shared static GUID variables
Some GUIDs are used several times in the same translation unit.
Factor the duplicated EFI_FILE_SYSTEM_GUID, EFI_RNG_PROTOCOL_GUID and
EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID objects at file scope within their
translation units. Leave the single-use GUID objects at function scope.
For an x86_64 build with gcc 15.3.0, bloat-o-meter reports:
add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-48 (-48)
Function old new delta
rng_proto 32 16 -16
graphics_output_guid 32 16 -16
fs_proto 32 16 -16
Total: Before=28471, After=28423, chg -0.17%
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
