summaryrefslogtreecommitdiff
path: root/src/android/x86-ftruncate64.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/x86-ftruncate64.S')
-rw-r--r--src/android/x86-ftruncate64.S28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/android/x86-ftruncate64.S b/src/android/x86-ftruncate64.S
deleted file mode 100644
index 46dc5d84..00000000
--- a/src/android/x86-ftruncate64.S
+++ /dev/null
@@ -1,28 +0,0 @@
-/* autogenerated by gensyscalls.py */
-#include <linux/err.h>
-/* Android NDK R8e asm.h for x86 is broken. Use latest one from the repo */
-#include "android/x86-asm.h"
-#include <asm/unistd.h>
-
-ENTRY(ftruncate64)
- pushl %ebx
- pushl %ecx
- pushl %edx
- mov 16(%esp), %ebx
- mov 20(%esp), %ecx
- mov 24(%esp), %edx
- movl $__NR_ftruncate64, %eax
- int $0x80
- cmpl $-MAX_ERRNO, %eax
- jb 1f
- negl %eax
- pushl %eax
- call a2_set_errno
- addl $4, %esp
- orl $-1, %eax
-1:
- popl %edx
- popl %ecx
- popl %ebx
- ret
-END(ftruncate64)