summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/kvx/bsd-setjmp.S
blob: d79f603d5a707ee01b9df7f80b14565843f7a3d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * This file is subject to the terms and conditions of the LGPL V2.1
 * License.  See the file "COPYING" in the main directory of this archive
 * for more details.
 *
 * Copyright (C) 2018 Kalray Inc.
 */

#include <sysdep.h>

ENTRY(setjmp)
	/* Set second argument to 1 */
	make $r1 = 1
	;;
	goto HIDDEN_JUMPTARGET(__sigsetjmp)
	;;
END(setjmp)