diff options
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch b/meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch index 47b83a5896..2270962a6f 100644 --- a/meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch +++ b/meta/recipes-connectivity/openssl/openssl/0001-Fix-build-with-clang-using-external-assembler.patch | |||
@@ -29,18 +29,14 @@ diff --git a/crypto/modes/asm/ghash-armv4.pl b/crypto/modes/asm/ghash-armv4.pl | |||
29 | index 8ccc963ef..442fed4da 100644 | 29 | index 8ccc963ef..442fed4da 100644 |
30 | --- a/crypto/modes/asm/ghash-armv4.pl | 30 | --- a/crypto/modes/asm/ghash-armv4.pl |
31 | +++ b/crypto/modes/asm/ghash-armv4.pl | 31 | +++ b/crypto/modes/asm/ghash-armv4.pl |
32 | @@ -124,7 +124,14 @@ $code=<<___; | 32 | @@ -124,7 +124,10 @@ $code=<<___; |
33 | #include "arm_arch.h" | 33 | #include "arm_arch.h" |
34 | 34 | ||
35 | .text | 35 | .text |
36 | +#if defined(__thumb2__) || defined(__clang__) | 36 | +#if defined(__thumb2__) || defined(__clang__) |
37 | +.syntax unified | 37 | +.syntax unified |
38 | +#endif | 38 | +#endif |
39 | +#if defined(__thumb2__) | ||
40 | +.thumb | ||
41 | +#else | ||
42 | .code 32 | 39 | .code 32 |
43 | +#endif | ||
44 | 40 | ||
45 | #ifdef __clang__ | 41 | #ifdef __clang__ |
46 | #define ldrplb ldrbpl | 42 | #define ldrplb ldrbpl |