From: Tom Rini Date: Wed, 9 Aug 2017 22:28:56 -0400 Subject: [U-Boot] [PATCH 1/5] Kconfig: add option to build with -fshort-wchar In-Reply-To: <20170809231441.22691-2-robdclark@gmail.com> References: <20170809231441.22691-1-robdclark@gmail.com> <20170809231441.22691-2-robdclark@gmail.com> Message-ID: <20170810022856.GK5837@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: