With GCC 6.2 compiler, more C undefined behaviour is being flagged as warnings, which result in build errors in ARM TF build. The specific issue that this patch resolves is the use of (1 << 31), which is predominantly used in case statements, where 1 is represented as a signed int. When shifted to msb the behaviour is undefined. The resolution is to specify 1 as an unsigned int using a convenience macro ULL(). A duplicate macro MAKE_ULL() is replaced. Fixes ARM-software/tf-issues#438 Change-Id: I08e3053bbcf4c022ee2be33a75bd0056da4073e1 Signed-off-by: David Cunado <david.cunado@arm.com> |
||
---|---|---|
.. | ||
aarch32 | ||
aarch64 | ||
drivers/pwrc | ||
include | ||
sp_min | ||
tsp | ||
fvp_bl1_setup.c | ||
fvp_bl2_setup.c | ||
fvp_bl2u_setup.c | ||
fvp_bl31_setup.c | ||
fvp_common.c | ||
fvp_def.h | ||
fvp_err.c | ||
fvp_io_storage.c | ||
fvp_pm.c | ||
fvp_private.h | ||
fvp_security.c | ||
fvp_topology.c | ||
fvp_trusted_boot.c | ||
platform.mk |