getaddrinfo: add EAI_NODATA error code to distinguish NODATA vs NxDomain
[musl] / src / thread / aarch64 / syscall_cp.s
index 30e677c..41db68a 100644 (file)
@@ -17,7 +17,7 @@
 __syscall_cp_asm:
 __cp_begin:
        ldr w0,[x0]
-       cbnz w0,1f
+       cbnz w0,__cp_cancel
        mov x8,x1
        mov x0,x2
        mov x1,x3
@@ -28,6 +28,5 @@ __cp_begin:
        svc 0
 __cp_end:
        ret
-
-       // cbnz might not be able to jump far enough
-1:     b __cancel
+__cp_cancel:
+       b __cancel