X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fx86_64%2F__unmapself.s;h=e2689e65052ce76b4639324c3bcf239f97c36eee;hb=be48e22b424b6f858da0151a0b3b68bdb96b41ca;hp=0b04d99caa9b4b2e97bc4075438df6d3202c0bc6;hpb=c2cd25bff89c3581780e7eb267262cb8c4da0d38;p=musl diff --git a/src/thread/x86_64/__unmapself.s b/src/thread/x86_64/__unmapself.s index 0b04d99c..e2689e65 100644 --- a/src/thread/x86_64/__unmapself.s +++ b/src/thread/x86_64/__unmapself.s @@ -1,11 +1,10 @@ -/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */ +/* Copyright 2011-2012 Nicholas J. Kain, licensed under standard MIT license */ .text .global __unmapself -.type __unmapself,%function +.type __unmapself,@function __unmapself: movl $11,%eax /* SYS_munmap */ syscall /* munmap(arg2,arg3) */ xor %rdi,%rdi /* exit() args: always return success */ movl $60,%eax /* SYS_exit */ syscall /* exit(0) */ -.size __unmapself,.-__unmapself