summaryrefslogtreecommitdiffhomepage
path: root/src/internal/nt64/syscall.s
blob: 50e3eb13bbde3f4f21ba8a60ca8689735f07df98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
############################################################################
##  mmglue: midipix architecture- and target-specific bits for musl libc  ##
##  Copyright (C) 2013--2023  SysDeer Technologies, LLC                   ##
##  Released under GPLv2 and GPLv3; see COPYING.MMGLUE.                   ##
############################################################################

.text
.global	__syscall
.def	__syscall; .scl 2; .type 32; .endef

__syscall:
	jmp	__syscall_disp

	.section .got$__syscall,"r"
	.global __imp___syscall
__imp___syscall:
	.quad	__syscall
	.linkonce discard