summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/chdir.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/chdir.S')
-rw-r--r--libc/arch-x86/syscalls/chdir.S9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S
index be88847..d40d099 100644
--- a/libc/arch-x86/syscalls/chdir.S
+++ b/libc/arch-x86/syscalls/chdir.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type chdir, @function
- .globl chdir
- .align 4
-
-chdir:
+ENTRY(chdir)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_chdir, %eax
@@ -21,3 +17,4 @@ chdir:
1:
popl %ebx
ret
+END(chdir)