[U-Boot] [PATCH 1/8] UBSAN: run-time undefined behavior sanity checker

York Sun york.sun at nxp.com
Mon Aug 20 15:00:31 UTC 2018


On 08/19/2018 05:04 PM, Eugeniu Rosca wrote:
<snip>
> 
> The size increase of sanbox U-Boot (gcc 8.1.0):
> $ size u-boot.sandbox.*
>    text	   data	    bss	    dec	    hex	filename
> 1234958	  80048	 291472	1606478	 18834e	u-boot.sandbox.default
> 1422710	 272240	 291472	1986422	 1e4f76	u-boot.sandbox.ubsan
> +187752 +192192       0 +379944
> 
> The size increase of H3 Salvator-X U-Boot (aarch64-linux-gnu-gcc 7.2.1):
> $ size u-boot.r8a7795-salvator-x.*
>    text	   data	    bss	    dec	    hex	filename
>  589954	  23504	 263984	 877442	  d6382	u-boot.r8a7795-salvator-x.default
>  810968	 103304	 263984	1178256	 11fa90	u-boot.r8a7795-salvator-x.ubsan
> +221014  +79800       0 +300814
>
I wonder if SPL can take advantage of this. Size is sensitive for SPL.

York


More information about the U-Boot mailing list