
7 Mar
2016
7 Mar
'16
3:38 a.m.
On 5 March 2016 at 12:07, Tom Rini trini@konsulko.com wrote:
- The macro __BIGGEST_ALIGNMENT__ is gcc-specific. If it is not defined we'll just assume 16. This is correct for at least the common cases and LLVM does not provide an equivalent macro.
- When linking U-Boot we're passing -T to the linker, and while gcc will just pass this along with LLVM we need to be specific.
Cc: Simon Glass sjg@chromium.org Signed-off-by: Tom Rini trini@konsulko.com
I've tested this with both test/fs/fs-test.sh (and a quick kludge to force it to use LLVM) and test/pytest/test.py with a pre-built sandbox and both pass as much as with gcc does for me.
arch/sandbox/config.mk | 2 +- arch/sandbox/include/asm/cache.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org