OS - ChromeOs
Version affected - 1.0.2d

Hi, clang fails to build this version. 'ldrplb' and 'ldrneb' are pre-UAL
format, could I suggest to replaced those with UAL-format 'ldrbpl' and
'ldrbne' respectively? (GCC recognizes both)

A patch attached.

Thanks,
Han

diff -U5 -r crypto/modes/asm/ghash-armv4.pl openssl-1.0.2a.new/crypto/modes/asm/ghash-armv4.pl
--- crypto/modes/asm/ghash-armv4.pl	2015-03-19 06:30:36.000000000 -0700
+++ crypto/modes/asm/ghash-armv4.pl	2015-06-18 17:08:11.251185168 -0700
@@ -124,10 +124,15 @@
 #include "arm_arch.h"
 
 .text
 .code	32
 
+#ifdef  __clang__
+#define ldrplb  ldrbpl
+#define ldrneb  ldrbne
+#endif
+
 .type	rem_4bit,%object
 .align	5
 rem_4bit:
 .short	0x0000,0x1C20,0x3840,0x2460
 .short	0x7080,0x6CA0,0x48C0,0x54E0
_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-...@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to