Fix compilation for Cortex-A53 (#934)

When cross-compiling with clang and flags "--target=armv7-linux-gnueabihf -mcpu=cortex-a53"
compilation failed on instructions, used coprocessor.
This commit is contained in:
Vyacheslav Chigrin 2025-08-21 11:36:06 +03:00 committed by GitHub
parent c3a2b65748
commit 170bab47c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,11 +120,9 @@
#endif
#ifndef __clang__
/* We require interworking on LDM, which implies ARMv5T,
which implies the existance of BLX. */
.arch armv5t
#endif
/* Note that we use STC and LDC to encode VFP instructions,
so that we do not need ".fpu vfp", nor get that added to