summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-21 18:07:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-21 18:07:05 +0000
commitc1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5 (patch)
tree5721a9d70c44d69edba76775e71cca12070021b1 /libc/arch-x86
parentdaf6912838dd27e3c064c4e7df98b6165549af82 (diff)
parent46a55a4478db9e335bdc7f73ee2cf3a66fe673fd (diff)
downloadbionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.zip
bionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.tar.gz
bionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.tar.bz2
Merge "Remove __syslog; we have the public klogctl API."
Diffstat (limited to 'libc/arch-x86')
-rw-r--r--libc/arch-x86/syscalls/__syslog.S30
1 files changed, 0 insertions, 30 deletions
diff --git a/libc/arch-x86/syscalls/__syslog.S b/libc/arch-x86/syscalls/__syslog.S
deleted file mode 100644
index 1da01be..0000000
--- a/libc/arch-x86/syscalls/__syslog.S
+++ /dev/null
@@ -1,30 +0,0 @@
-/* Generated by gensyscalls.py. Do not edit. */
-
-#include <private/bionic_asm.h>
-
-ENTRY(__syslog)
- pushl %ebx
- pushl %ecx
- pushl %edx
- .cfi_def_cfa_offset 12
- .cfi_rel_offset ebx, 0
- .cfi_rel_offset ecx, 4
- .cfi_rel_offset edx, 8
- mov 16(%esp), %ebx
- mov 20(%esp), %ecx
- mov 24(%esp), %edx
- movl $__NR_syslog, %eax
- int $0x80
- cmpl $-MAX_ERRNO, %eax
- jb 1f
- negl %eax
- pushl %eax
- call __set_errno
- addl $4, %esp
- orl $-1, %eax
-1:
- popl %edx
- popl %ecx
- popl %ebx
- ret
-END(__syslog)