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