Commit 02a85c11 authored by Alexei Fedorov's avatar Alexei Fedorov
Browse files

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: default avatarAlexei Fedorov <Alexei.Fedorov@arm.com>
parent c33aa45f
Showing with 1 addition and 5 deletions
+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 */
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment