xref: /aosp_15_r20/external/musl/src/thread/x32/__unmapself.s (revision c9945492fdd68bbe62686c5b452b4dc1be3f8453)
1/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */
2.text
3.global __unmapself
4.type   __unmapself,@function
5__unmapself:
6	movl $0x4000000b,%eax   /* SYS_munmap */
7	syscall         /* munmap(arg2,arg3) */
8	xor %rdi,%rdi   /* exit() args: always return success */
9	movl $0x4000003c,%eax   /* SYS_exit */
10	syscall         /* exit(0) */
11