[LLVMdev] test-suite wrongly using big-endian results

Renato Golin
Wed, 26 Feb 2014 13:06:58 -0000

On 24 February 2014 18:32, Daniel Dunbar <daniel at zuster.org>
wrote:
> $(error "ENDIAN is $ENDIAN"), before and after the include of
> Makefile.config and Makefile.singlesrc (which includes Makefile.programs).

Hi Daniel,

Thanks, that did the trick! ;)

In TargetConfig.mk.in:

#ifdef __LITTLE_ENDIAN__
ENDIAN := little
#else
ENDIAN := big
#endif

Seems like it should be __ORDER_LITTLE_ENDIAN__ to be cross-platform.

Attaching the patch that adds aarch64 (which is identical to the one
applied in LLVM a few days ago) to the config plus change the
TargetConfig.mk.

Shouldn't cause too much disturbance. ;)

cheers,
--renato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test-suite-aarch64.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20140226/e777ffdc/attachment.bin>