1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2019  Arm Limited
4 * Original author: Dave Martin <Dave.Martin@arm.com>
5 */
6
7#include "assembler.h"
8
9startfn bti_none_func
10	bti
11	ret
12endfn
13
14startfn bti_c_func
15	bti	c
16	ret
17endfn
18
19startfn bti_j_func
20	bti	j
21	ret
22endfn
23
24startfn bti_jc_func
25	bti	jc
26	ret
27endfn
28
29startfn paciasp_func
30	paciasp
31	autiasp
32	ret
33endfn
34
35startfn nohint_func
36	ret
37endfn
38
39emit_aarch64_feature_1_and
40