[U-Boot] [PATCH 1/5] Kconfig: add option to build with -fshort-wchar

Tom Rini trini at konsulko.com
Thu Aug 10 02:28:56 UTC 2017


On Wed, Aug 09, 2017 at 07:14:31PM -0400, Rob Clark wrote:

> UEFI expects strings to be UTF-16.  So add an option so that when
> EFI_LOADER is enabled, we can use the expected unicode string size.
> 
> Signed-off-by: Rob Clark <robdclark at gmail.com>

So, I kludged this to just globally pass -fshort-wchar and I see no size
changes in a world build
(https://gist.github.com/trini/60c4e58c662553ca902b4e878a9a8dc5).  I
feel we should explain why, and enable this along with the stdc-2011
change.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170809/61191905/attachment.sig>


More information about the U-Boot mailing list