1/* SPDX-License-Identifier: BSD-2-Clause */
2/*
3 * Copyright (c) 2019, Linaro Limited
4 */
5
6#include <asm.S>
7
8/*
9 * This function is the bottom of the user call stack. Mark it as such so that
10 * the unwinding code won't try to go further down.
11 * We need an assembly wrapper because Clang does not accept asm(".cantunwind")
12 * in a C function:
13 *
14 *  user_ta_header.c:44:6: error: .fnstart must precede .cantunwind directive
15 *          asm(".cantunwind");
16 *              ^
17 */
18FUNC __ta_entry, :
19UNWIND(	.cantunwind)
20	bl	__ta_entry_c
21END_FUNC __ta_entry
22