aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_s390x.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/sys_linux_s390x.s')
-rw-r--r--src/runtime/sys_linux_s390x.s24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/runtime/sys_linux_s390x.s b/src/runtime/sys_linux_s390x.s
index 886add8b54..03ec7f03fd 100644
--- a/src/runtime/sys_linux_s390x.s
+++ b/src/runtime/sys_linux_s390x.s
@@ -16,7 +16,6 @@
#define SYS_close 6
#define SYS_getpid 20
#define SYS_kill 37
-#define SYS_pipe 42
#define SYS_brk 45
#define SYS_fcntl 55
#define SYS_mmap 90
@@ -103,14 +102,6 @@ TEXT runtime·read(SB),NOSPLIT|NOFRAME,$0-28
MOVW R2, ret+24(FP)
RET
-// func pipe() (r, w int32, errno int32)
-TEXT runtime·pipe(SB),NOSPLIT|NOFRAME,$0-12
- MOVD $r+0(FP), R2
- MOVW $SYS_pipe, R1
- SYSCALL
- MOVW R2, errno+8(FP)
- RET
-
// func pipe2() (r, w int32, errno int32)
TEXT runtime·pipe2(SB),NOSPLIT|NOFRAME,$0-20
MOVD $r+8(FP), R2
@@ -497,21 +488,6 @@ TEXT runtime·closeonexec(SB),NOSPLIT|NOFRAME,$0
SYSCALL
RET
-// func runtime·setNonblock(int32 fd)
-TEXT runtime·setNonblock(SB),NOSPLIT|NOFRAME,$0-4
- MOVW fd+0(FP), R2 // fd
- MOVD $3, R3 // F_GETFL
- XOR R4, R4
- MOVW $SYS_fcntl, R1
- SYSCALL
- MOVD $0x800, R4 // O_NONBLOCK
- OR R2, R4
- MOVW fd+0(FP), R2 // fd
- MOVD $4, R3 // F_SETFL
- MOVW $SYS_fcntl, R1
- SYSCALL
- RET
-
// func sbrk0() uintptr
TEXT runtime·sbrk0(SB),NOSPLIT|NOFRAME,$0-8
// Implemented as brk(NULL).