[PATCH] XCore target: add support to build MultiSource/Benchmarks/MiBench/security-sha

robert lytton robert at xmos.com
Thu Feb 13 11:45:31 PST 2014


add missing define

http://llvm-reviews.chandlerc.com/D2783

Files:
  MultiSource/Benchmarks/MiBench/security-sha/sha.c

Index: MultiSource/Benchmarks/MiBench/security-sha/sha.c
===================================================================
--- MultiSource/Benchmarks/MiBench/security-sha/sha.c
+++ MultiSource/Benchmarks/MiBench/security-sha/sha.c
@@ -11,6 +11,10 @@
 #include <string.h>
 #include "sha.h"
 
+#if !defined(LITTLE_ENDIAN) && defined(__LITTLE_ENDIAN__)
+#define LITTLE_ENDIAN
+#endif
+
 /* SHA f()-functions */
 
 #define f1(x,y,z)	((x & y) | (~x & z))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2783.1.patch
Type: text/x-patch
Size: 452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/0b4682f7/attachment.bin>


More information about the llvm-commits mailing list