projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add clang-compatible thread-pointer code for mips
[musl]
/
src
/
thread
/
i386
/
__unmapself.s
diff --git
a/src/thread/i386/__unmapself.s
b/src/thread/i386/__unmapself.s
index
5c67496
..
d656959
100644
(file)
--- a/
src/thread/i386/__unmapself.s
+++ b/
src/thread/i386/__unmapself.s
@@
-1,16
+1,7
@@
.text
.global __unmapself
.text
.global __unmapself
-.type __unmapself,
%
function
+.type __unmapself,
@
function
__unmapself:
__unmapself:
- call 1f
- .long -1
- .long -1
-1: popl %ecx
- xorl %ebx,%ebx
- xorl %edx,%edx
- movl $8,%esi
- movl $175,%eax
- int $128
movl $91,%eax
movl 4(%esp),%ebx
movl 8(%esp),%ecx
movl $91,%eax
movl 4(%esp),%ebx
movl 8(%esp),%ecx
@@
-18,5
+9,3
@@
__unmapself:
xorl %ebx,%ebx
movl $1,%eax
int $128
xorl %ebx,%ebx
movl $1,%eax
int $128
-
-.size __unmapself,.-__unmapself