diff options
| author | 2026-09-06 13:15:12 +0200 | |
|---|---|---|
| committer | 2026-10-04 21:53:56 +0200 | |
| commit | 1fe625b5df3d28f504677f067ab0be5d4bde10f3 (patch) | |
| tree | 7b5941b24220128b3fe731018c78d33bbbf6dd4c /scripts/Makefile.thinlto | |
| parent | efi/libstub: Use ucs2_string library for UTF-16 to UTF-8 conversion (diff) | |
efi/libstub: Avoid efi_puts() for compile time constant strings
efi_puts() performs a UTF-8 to UTF-16 conversion on its input, as the
EFI console's native character set is UTF-16.
This is pointless for compile time constant strings, since we can
simply define those as UTF-16 to begin with. This takes slightly more
space, but removes any runtime handling of those strings, simplifying
the code.
Note that efi_puts() also performs LF to CR-LF conversion, so this needs
to be taken into account as well.
Reviewed-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
