1570af302Sopenharmony_ci/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */ 2570af302Sopenharmony_ci.text 3570af302Sopenharmony_ci.global __unmapself 4570af302Sopenharmony_ci.type __unmapself,@function 5570af302Sopenharmony_ci__unmapself: 6570af302Sopenharmony_ci movl $0x4000000b,%eax /* SYS_munmap */ 7570af302Sopenharmony_ci syscall /* munmap(arg2,arg3) */ 8570af302Sopenharmony_ci xor %rdi,%rdi /* exit() args: always return success */ 9570af302Sopenharmony_ci movl $0x4000003c,%eax /* SYS_exit */ 10570af302Sopenharmony_ci syscall /* exit(0) */ 11