Commit 3f6a8312 authored by David Benjamin's avatar David Benjamin Committed by Andy Polyakov
Browse files

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
6cf412c4.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
Reviewed-by: default avatarKurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/3694)
parent 3bded9cd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -172,8 +172,10 @@ $code.=<<___;
#include "arm_arch.h"

.text
#if defined(__thumb2__)
#if defined(__thumb2__) || defined(__clang__)
.syntax	unified
#endif
#if defined(__thumb2__)
.thumb
#else
.code	32