We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66770f4 commit 567ef8bCopy full SHA for 567ef8b
src/runtime/sys_netbsd_arm64.s
@@ -152,19 +152,13 @@ ok:
152
153
// func pipe() (r, w int32, errno int32)
154
TEXT runtime·pipe(SB),NOSPLIT|NOFRAME,$0-12
155
- MOVW $0, R0
+ ADD $8, RSP, R0
156
+ MOVW $0, R1
157
SVC $SYS_pipe2
158
BCC pipeok
- MOVW $-1,R1
159
- MOVW R1, r+0(FP)
160
- MOVW R1, w+4(FP)
161
NEG R0, R0
162
- MOVW R0, errno+8(FP)
163
- RET
164
pipeok:
165
- MOVW R0, r+0(FP)
166
167
- MOVW ZR, errno+8(FP)
+ MOVW R0, errno+8(FP)
168
RET
169
170
// func pipe2(flags int32) (r, w int32, errno int32)
0 commit comments