X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fthread%2Fx86_64%2F__unmapself.s;h=99c1b7c168efde0dfae9745f31805ef95ab3028a;hb=e7655ed37bc9c2d79d921af4f287ee5cf2788661;hp=d36257d0d67a894f37ee02401b88d50be71cf039;hpb=19eb13b9a4cf2f787f60b6e2a6d26a6cd7d3ffd2;p=musl diff --git a/src/thread/x86_64/__unmapself.s b/src/thread/x86_64/__unmapself.s index d36257d0..99c1b7c1 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 */ .text .global __unmapself -.type __unmapself,%function +.type __unmapself,@function __unmapself: - movl $11,%eax /* __NR_munmap */ + movl $11,%eax /* SYS_munmap */ syscall /* munmap(arg2,arg3) */ xor %rdi,%rdi /* exit() args: always return success */ - movl $60,%eax /* __NR_exit */ + movl $60,%eax /* SYS_exit */ syscall /* exit(0) */ -.size __unmapself,.-__unmapself