diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-06-22 16:17:12 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-06-22 22:17:15 +0530 |
commit | 36c4dc63c96fb0962d3825c19b22a166db0f3e4f (patch) | |
tree | 546e4d6196c370671733526bcf11c5e01f25bc62 /dynamic-layers | |
parent | cd7b2f8c90962bef4e8b272ce6863a57b73f20fc (diff) | |
download | meta-clang-36c4dc63c96fb0962d3825c19b22a166db0f3e4f.tar.gz |
compiler-rt: backport a patch fixing ARMv5 cross-compile
Compiler-rt cross-compile for ARMv5 fails because D99282 made it an error if DMB
is used for any pre-ARMv6 targets. More specifically, the "#error only supported
on ARMv6+" added in D99282 will cause compilation to fail when any source file
which includes assembly.h are compiled for pre-ARMv6 targets. Since the only
place where DMB is used is syn-ops.h (which is only included by
arm/sync_fetch_and_* and these files are excluded from being built for older
targets), this patch moves the definition there to avoid the issues described
above.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Diffstat (limited to 'dynamic-layers')
0 files changed, 0 insertions, 0 deletions