summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/dup.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-x86/syscalls/dup.S')
-rw-r--r--libc/arch-x86/syscalls/dup.S23
1 files changed, 0 insertions, 23 deletions
diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S
deleted file mode 100644
index 155de79..0000000
--- a/libc/arch-x86/syscalls/dup.S
+++ /dev/null
@@ -1,23 +0,0 @@
-/* autogenerated by gensyscalls.py */
-#include <sys/linux-syscalls.h>
-
- .text
- .type dup, @function
- .globl dup
- .align 4
-
-dup:
- pushl %ebx
- mov 8(%esp), %ebx
- movl $__NR_dup, %eax
- int $0x80
- cmpl $-129, %eax
- jb 1f
- negl %eax
- pushl %eax
- call __set_errno
- addl $4, %esp
- orl $-1, %eax
-1:
- popl %ebx
- ret