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