diff options
author | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-05-10 16:55:16 +0100 |
---|---|---|
committer | Alexei Fedorov <Alexei.Fedorov@arm.com> | 2019-05-13 09:50:27 +0100 |
commit | 02a85c1116369488784c5ed4d67f326c22455e94 (patch) | |
tree | 27b93c58b69eafafc140486760222bb24a805502 /lib/locks | |
parent | c33aa45f4400bc7c09fed1300bc59e0e70d36bd8 (diff) |
Remove .arch directives from spinlock.S
This patch removes .arch "arm8.1-a" and "armv8-a"
directives which overwrite ASFLAGS_aarch64 option based
on ARM_ARCH_MINOR passed to Makefile and cause
translation errors like
"selected processor does not support `bti jc'"
for armv8.5-a targets when BTI support is enabled.
Change-Id: Idca5b66ed1e5d86e2188b0c0f16c3819990957c4
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'lib/locks')
-rw-r--r-- | lib/locks/exclusive/aarch64/spinlock.S | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/locks/exclusive/aarch64/spinlock.S b/lib/locks/exclusive/aarch64/spinlock.S index e2f9eaa4..d0569f1c 100644 --- a/lib/locks/exclusive/aarch64/spinlock.S +++ b/lib/locks/exclusive/aarch64/spinlock.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -39,8 +39,6 @@ #if USE_CAS - .arch armv8.1-a - /* * Acquire lock using Compare and Swap instruction. * @@ -60,8 +58,6 @@ func spin_lock ret endfunc spin_lock - .arch armv8-a - #else /* !USE_CAS */ /* |