diff options
author | Elliott Hughes <enh@google.com> | 2014-05-21 18:07:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-21 18:07:05 +0000 |
commit | c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5 (patch) | |
tree | 5721a9d70c44d69edba76775e71cca12070021b1 /libc | |
parent | daf6912838dd27e3c064c4e7df98b6165549af82 (diff) | |
parent | 46a55a4478db9e335bdc7f73ee2cf3a66fe673fd (diff) | |
download | bionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.zip bionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.tar.gz bionic-c1b7f44c13fbcbab3faaa8e11d3a459ebc11bfe5.tar.bz2 |
Merge "Remove __syslog; we have the public klogctl API."
Diffstat (limited to 'libc')
-rw-r--r-- | libc/SYSCALLS.TXT | 1 | ||||
-rw-r--r-- | libc/arch-arm/syscalls/__syslog.S | 14 | ||||
-rw-r--r-- | libc/arch-arm64/syscalls/__syslog.S | 22 | ||||
-rw-r--r-- | libc/arch-mips/syscalls/__syslog.S | 19 | ||||
-rw-r--r-- | libc/arch-mips64/syscalls/__syslog.S | 26 | ||||
-rw-r--r-- | libc/arch-x86/syscalls/__syslog.S | 30 | ||||
-rw-r--r-- | libc/arch-x86_64/syscalls/__syslog.S | 17 |
7 files changed, 0 insertions, 129 deletions
diff --git a/libc/SYSCALLS.TXT b/libc/SYSCALLS.TXT index 694b8ae..71d76e3 100644 --- a/libc/SYSCALLS.TXT +++ b/libc/SYSCALLS.TXT @@ -291,7 +291,6 @@ int ioprio_get(int which, int who) all int uname(struct utsname*) all mode_t umask(mode_t) all int __reboot:reboot(int, int, int, void*) all -int __syslog:syslog(int, char*, int) all int init_module(void*, unsigned long, const char*) all int delete_module(const char*, unsigned int) all int klogctl:syslog(int, char*, int) all diff --git a/libc/arch-arm/syscalls/__syslog.S b/libc/arch-arm/syscalls/__syslog.S deleted file mode 100644 index 66e761a..0000000 --- a/libc/arch-arm/syscalls/__syslog.S +++ /dev/null @@ -1,14 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - mov ip, r7 - ldr r7, =__NR_syslog - swi #0 - mov r7, ip - cmn r0, #(MAX_ERRNO + 1) - bxls lr - neg r0, r0 - b __set_errno -END(__syslog) diff --git a/libc/arch-arm64/syscalls/__syslog.S b/libc/arch-arm64/syscalls/__syslog.S deleted file mode 100644 index 2e1fb1d..0000000 --- a/libc/arch-arm64/syscalls/__syslog.S +++ /dev/null @@ -1,22 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - stp x29, x30, [sp, #-16]! - mov x29, sp - str x8, [sp, #-16]! - - mov x8, __NR_syslog - svc #0 - - ldr x8, [sp], #16 - ldp x29, x30, [sp], #16 - - cmn x0, #(MAX_ERRNO + 1) - cneg x0, x0, hi - b.hi __set_errno - - ret -END(__syslog) -.hidden __syslog diff --git a/libc/arch-mips/syscalls/__syslog.S b/libc/arch-mips/syscalls/__syslog.S deleted file mode 100644 index ace69c7..0000000 --- a/libc/arch-mips/syscalls/__syslog.S +++ /dev/null @@ -1,19 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - .set noreorder - .cpload t9 - li v0, __NR_syslog - syscall - bnez a3, 1f - move a0, v0 - j ra - nop -1: - la t9,__set_errno - j t9 - nop - .set reorder -END(__syslog) diff --git a/libc/arch-mips64/syscalls/__syslog.S b/libc/arch-mips64/syscalls/__syslog.S deleted file mode 100644 index 70eed3a..0000000 --- a/libc/arch-mips64/syscalls/__syslog.S +++ /dev/null @@ -1,26 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - .set push - .set noreorder - li v0, __NR_syslog - syscall - bnez a3, 1f - move a0, v0 - j ra - nop -1: - move t0, ra - bal 2f - nop -2: - .cpsetup ra, t1, 2b - LA t9,__set_errno - .cpreturn - j t9 - move ra, t0 - .set pop -END(__syslog) -.hidden __syslog 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) diff --git a/libc/arch-x86_64/syscalls/__syslog.S b/libc/arch-x86_64/syscalls/__syslog.S deleted file mode 100644 index f710025..0000000 --- a/libc/arch-x86_64/syscalls/__syslog.S +++ /dev/null @@ -1,17 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include <private/bionic_asm.h> - -ENTRY(__syslog) - movl $__NR_syslog, %eax - syscall - cmpq $-MAX_ERRNO, %rax - jb 1f - negl %eax - movl %eax, %edi - call __set_errno - orq $-1, %rax -1: - ret -END(__syslog) -.hidden __syslog |