Fix chacha-armv4.pl with clang -fno-integrated-as.
The __clang__-guarded #defines cause gas to complain if clang is passed -fno-integrated-as. Emitting .syntax unified when those are used fixes this. This matches the change made to ghash-armv4.pl in upstream's 6cf412c473d8145562b76219ce3da73b201b3255. See also https://github.com/openssl/openssl/pull/3694. This fixes the build with the latest Android NDK (use the NDK-supplied toolchain file) with the armeabi ABI. Bug: chromium:732066 Change-Id: Ic6ca633a58edbe8ae8c7d501bd9515c2476fd7c2 Reviewed-on: https://boringssl-review.googlesource.com/17404 Commit-Queue: Steven Valdez <svaldez@google.com> Reviewed-by: Steven Valdez <svaldez@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
d977eaa125
commit
3c9729212b
@ -172,8 +172,10 @@ $code.=<<___;
|
||||
#include <openssl/arm_arch.h>
|
||||
|
||||
.text
|
||||
#if defined(__thumb2__)
|
||||
#if defined(__thumb2__) || defined(__clang__)
|
||||
.syntax unified
|
||||
#endif
|
||||
#if defined(__thumb2__)
|
||||
.thumb
|
||||
#else
|
||||
.code 32
|
||||
|
Loading…
Reference in New Issue
Block a user