fix dirname to handle input of form "foo/" correctly
[musl] / src / setjmp / i386 / setjmp.s
index 6c078b1..586d439 100644 (file)
@@ -1,23 +1,20 @@
 .global __setjmp
 .global _setjmp
 .global setjmp
-.type __setjmp,%function
-.type _setjmp,%function
-.type setjmp,%function
+.type __setjmp,@function
+.type _setjmp,@function
+.type setjmp,@function
 __setjmp:
 _setjmp:
 setjmp:
-       movl 4(%esp), %eax
-       movl    %ebx, (%eax)
-       movl    %esi, 4(%eax)
-       movl    %edi, 8(%eax)
-       movl    %ebp, 12(%eax)
-       leal 4(%esp), %ecx
-       movl    %ecx, 16(%eax)
-       movl  (%esp), %ecx
-       movl    %ecx, 20(%eax)
-       xorl    %eax, %eax
+       mov 4(%esp), %eax
+       mov    %ebx, (%eax)
+       mov    %esi, 4(%eax)
+       mov    %edi, 8(%eax)
+       mov    %ebp, 12(%eax)
+       lea 4(%esp), %ecx
+       mov    %ecx, 16(%eax)
+       mov  (%esp), %ecx
+       mov    %ecx, 20(%eax)
+       xor    %eax, %eax
        ret
-.size __setjmp,.-__setjmp
-.size _setjmp,.-_setjmp
-.size setjmp,.-setjmp