x32 port (diff against vanilla x86_64)
[musl] / src / thread / x32 / __unmapself.s
index e2689e6..d925460 100644 (file)
@@ -3,8 +3,8 @@
 .global __unmapself
 .type   __unmapself,@function
 __unmapself:
-       movl $11,%eax   /* SYS_munmap */
+       movl $0x4000000b,%eax   /* SYS_munmap */
        syscall         /* munmap(arg2,arg3) */
        xor %rdi,%rdi   /* exit() args: always return success */
-       movl $60,%eax   /* SYS_exit */
+       movl $0x4000003c,%eax   /* SYS_exit */
        syscall         /* exit(0) */