summaryrefslogtreecommitdiff
path: root/sys/compat/linux/arch/m68k/linux_sig_machdep.S
blob: 6a80200bbe4de7e112a70ac7b0e439fb5e65cf89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*	$NetBSD: linux_sig_machdep.S,v 1.3 1999/11/11 01:27:59 thorpej Exp $	*/

/*
 * Written by ITOH Yasufumi.
 * Public domain.
 */

#include <m68k/asm.h>
#include <compat/linux/linux_syscall.h>

/*
 * Signal "trampoline" code for Linux emulation.
 * The sigtramp for Linux/m68k is on the stack frame, and this is a dummy.
 */
	.align	2
GLOBAL(linux_sigcode)
	moveq	#LINUX_SYS_exit,%d0	| _exit(?)
	trap	#0
	.align	2
GLOBAL(linux_esigcode)