xref: /haiku/src/system/libroot/posix/arch/arm/siglongjmp.S (revision 9760dcae2038d47442f4658c2575844c6cf92c40)
1/*
2 * Copyright 2005, Ingo Weinhold <bonefish@cs.tu-berlin.de>. All rights
3 * reserved. Distributed under the terms of the Haiku License.
4 */
5
6#include <asm_defs.h>
7
8//#include "setjmp_internal.h"
9
10/* int __siglongjmp(jmp_buf buffer, int value) */
11FUNCTION(siglongjmp):
12FUNCTION(longjmp):
13FUNCTION(_longjmp):
14	str    r1,[r0]
15        ldmia  	r0,{r0-pc}^
16
17	bl	__longjmp_return
18FUNCTION_END(siglongjmp)
19FUNCTION_END(longjmp)
20FUNCTION_END(_longjmp)
21
22#pragma weak longjmp=siglongjmp
23