From d465eb4e76c24b1e782438a4c9e2c9abc20fe66c Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 19 Feb 2014 18:59:19 -0800 Subject: [PATCH] Remove the useless _C_LABEL from generated system calls. Change-Id: Id1d2fd39972652831ea825f6f9cf940b08f42b5c --- libc/arch-arm64/syscalls/__brk.S | 2 +- libc/arch-arm64/syscalls/__epoll_pwait.S | 2 +- libc/arch-arm64/syscalls/__exit.S | 2 +- libc/arch-arm64/syscalls/__getcpu.S | 2 +- libc/arch-arm64/syscalls/__getcwd.S | 2 +- libc/arch-arm64/syscalls/__getpriority.S | 2 +- libc/arch-arm64/syscalls/__ioctl.S | 2 +- libc/arch-arm64/syscalls/__openat.S | 2 +- libc/arch-arm64/syscalls/__ppoll.S | 2 +- libc/arch-arm64/syscalls/__pselect6.S | 2 +- libc/arch-arm64/syscalls/__ptrace.S | 2 +- libc/arch-arm64/syscalls/__reboot.S | 2 +- libc/arch-arm64/syscalls/__rt_sigaction.S | 2 +- libc/arch-arm64/syscalls/__rt_sigpending.S | 2 +- libc/arch-arm64/syscalls/__rt_sigprocmask.S | 2 +- libc/arch-arm64/syscalls/__rt_sigsuspend.S | 2 +- libc/arch-arm64/syscalls/__rt_sigtimedwait.S | 2 +- libc/arch-arm64/syscalls/__sched_getaffinity.S | 2 +- libc/arch-arm64/syscalls/__set_tid_address.S | 2 +- libc/arch-arm64/syscalls/__syslog.S | 2 +- libc/arch-arm64/syscalls/__timer_create.S | 2 +- libc/arch-arm64/syscalls/__timer_delete.S | 2 +- libc/arch-arm64/syscalls/__timer_getoverrun.S | 2 +- libc/arch-arm64/syscalls/__timer_gettime.S | 2 +- libc/arch-arm64/syscalls/__timer_settime.S | 2 +- libc/arch-arm64/syscalls/__waitid.S | 2 +- libc/arch-mips64/syscalls/__brk.S | 2 +- libc/arch-mips64/syscalls/__epoll_pwait.S | 2 +- libc/arch-mips64/syscalls/__exit.S | 2 +- libc/arch-mips64/syscalls/__getcpu.S | 2 +- libc/arch-mips64/syscalls/__getcwd.S | 2 +- libc/arch-mips64/syscalls/__getdents.S | 2 +- libc/arch-mips64/syscalls/__getdents64.S | 2 +- libc/arch-mips64/syscalls/__getpriority.S | 2 +- libc/arch-mips64/syscalls/__ioctl.S | 2 +- libc/arch-mips64/syscalls/__openat.S | 2 +- libc/arch-mips64/syscalls/__ppoll.S | 2 +- libc/arch-mips64/syscalls/__pselect6.S | 2 +- libc/arch-mips64/syscalls/__ptrace.S | 2 +- libc/arch-mips64/syscalls/__reboot.S | 2 +- libc/arch-mips64/syscalls/__rt_sigaction.S | 2 +- libc/arch-mips64/syscalls/__rt_sigpending.S | 2 +- libc/arch-mips64/syscalls/__rt_sigprocmask.S | 2 +- libc/arch-mips64/syscalls/__rt_sigsuspend.S | 2 +- libc/arch-mips64/syscalls/__rt_sigtimedwait.S | 2 +- libc/arch-mips64/syscalls/__sched_getaffinity.S | 2 +- libc/arch-mips64/syscalls/__set_thread_area.S | 2 +- libc/arch-mips64/syscalls/__set_tid_address.S | 2 +- libc/arch-mips64/syscalls/__syslog.S | 2 +- libc/arch-mips64/syscalls/__timer_create.S | 2 +- libc/arch-mips64/syscalls/__timer_delete.S | 2 +- libc/arch-mips64/syscalls/__timer_getoverrun.S | 2 +- libc/arch-mips64/syscalls/__timer_gettime.S | 2 +- libc/arch-mips64/syscalls/__timer_settime.S | 2 +- libc/arch-mips64/syscalls/__waitid.S | 2 +- libc/arch-x86_64/syscalls/__arch_prctl.S | 2 +- libc/arch-x86_64/syscalls/__brk.S | 2 +- libc/arch-x86_64/syscalls/__epoll_pwait.S | 2 +- libc/arch-x86_64/syscalls/__exit.S | 2 +- libc/arch-x86_64/syscalls/__getcpu.S | 2 +- libc/arch-x86_64/syscalls/__getcwd.S | 2 +- libc/arch-x86_64/syscalls/__getpriority.S | 2 +- libc/arch-x86_64/syscalls/__ioctl.S | 2 +- libc/arch-x86_64/syscalls/__openat.S | 2 +- libc/arch-x86_64/syscalls/__ppoll.S | 2 +- libc/arch-x86_64/syscalls/__pselect6.S | 2 +- libc/arch-x86_64/syscalls/__ptrace.S | 2 +- libc/arch-x86_64/syscalls/__reboot.S | 2 +- libc/arch-x86_64/syscalls/__rt_sigaction.S | 2 +- libc/arch-x86_64/syscalls/__rt_sigpending.S | 2 +- libc/arch-x86_64/syscalls/__rt_sigprocmask.S | 2 +- libc/arch-x86_64/syscalls/__rt_sigsuspend.S | 2 +- libc/arch-x86_64/syscalls/__rt_sigtimedwait.S | 2 +- libc/arch-x86_64/syscalls/__sched_getaffinity.S | 2 +- libc/arch-x86_64/syscalls/__set_tid_address.S | 2 +- libc/arch-x86_64/syscalls/__syslog.S | 2 +- libc/arch-x86_64/syscalls/__timer_create.S | 2 +- libc/arch-x86_64/syscalls/__timer_delete.S | 2 +- libc/arch-x86_64/syscalls/__timer_getoverrun.S | 2 +- libc/arch-x86_64/syscalls/__timer_gettime.S | 2 +- libc/arch-x86_64/syscalls/__timer_settime.S | 2 +- libc/arch-x86_64/syscalls/__waitid.S | 2 +- libc/tools/gensyscalls.py | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/libc/arch-arm64/syscalls/__brk.S b/libc/arch-arm64/syscalls/__brk.S index 98055cc87..918edf059 100644 --- a/libc/arch-arm64/syscalls/__brk.S +++ b/libc/arch-arm64/syscalls/__brk.S @@ -19,4 +19,4 @@ ENTRY(__brk) ret END(__brk) -.hidden _C_LABEL(__brk) +.hidden __brk diff --git a/libc/arch-arm64/syscalls/__epoll_pwait.S b/libc/arch-arm64/syscalls/__epoll_pwait.S index d512c7ce8..b48736092 100644 --- a/libc/arch-arm64/syscalls/__epoll_pwait.S +++ b/libc/arch-arm64/syscalls/__epoll_pwait.S @@ -19,4 +19,4 @@ ENTRY(__epoll_pwait) ret END(__epoll_pwait) -.hidden _C_LABEL(__epoll_pwait) +.hidden __epoll_pwait diff --git a/libc/arch-arm64/syscalls/__exit.S b/libc/arch-arm64/syscalls/__exit.S index 50cd45a5c..5e97928c9 100644 --- a/libc/arch-arm64/syscalls/__exit.S +++ b/libc/arch-arm64/syscalls/__exit.S @@ -19,4 +19,4 @@ ENTRY(__exit) ret END(__exit) -.hidden _C_LABEL(__exit) +.hidden __exit diff --git a/libc/arch-arm64/syscalls/__getcpu.S b/libc/arch-arm64/syscalls/__getcpu.S index 698e8ff25..a312188c8 100644 --- a/libc/arch-arm64/syscalls/__getcpu.S +++ b/libc/arch-arm64/syscalls/__getcpu.S @@ -19,4 +19,4 @@ ENTRY(__getcpu) ret END(__getcpu) -.hidden _C_LABEL(__getcpu) +.hidden __getcpu diff --git a/libc/arch-arm64/syscalls/__getcwd.S b/libc/arch-arm64/syscalls/__getcwd.S index f0543f010..4b27a9ce9 100644 --- a/libc/arch-arm64/syscalls/__getcwd.S +++ b/libc/arch-arm64/syscalls/__getcwd.S @@ -19,4 +19,4 @@ ENTRY(__getcwd) ret END(__getcwd) -.hidden _C_LABEL(__getcwd) +.hidden __getcwd diff --git a/libc/arch-arm64/syscalls/__getpriority.S b/libc/arch-arm64/syscalls/__getpriority.S index f7fd1b8a5..3ccd104d3 100644 --- a/libc/arch-arm64/syscalls/__getpriority.S +++ b/libc/arch-arm64/syscalls/__getpriority.S @@ -19,4 +19,4 @@ ENTRY(__getpriority) ret END(__getpriority) -.hidden _C_LABEL(__getpriority) +.hidden __getpriority diff --git a/libc/arch-arm64/syscalls/__ioctl.S b/libc/arch-arm64/syscalls/__ioctl.S index 2569fdfab..68d89bc33 100644 --- a/libc/arch-arm64/syscalls/__ioctl.S +++ b/libc/arch-arm64/syscalls/__ioctl.S @@ -19,4 +19,4 @@ ENTRY(__ioctl) ret END(__ioctl) -.hidden _C_LABEL(__ioctl) +.hidden __ioctl diff --git a/libc/arch-arm64/syscalls/__openat.S b/libc/arch-arm64/syscalls/__openat.S index cca66ce29..a49eaff12 100644 --- a/libc/arch-arm64/syscalls/__openat.S +++ b/libc/arch-arm64/syscalls/__openat.S @@ -19,4 +19,4 @@ ENTRY(__openat) ret END(__openat) -.hidden _C_LABEL(__openat) +.hidden __openat diff --git a/libc/arch-arm64/syscalls/__ppoll.S b/libc/arch-arm64/syscalls/__ppoll.S index 68efc09f0..370e7689a 100644 --- a/libc/arch-arm64/syscalls/__ppoll.S +++ b/libc/arch-arm64/syscalls/__ppoll.S @@ -19,4 +19,4 @@ ENTRY(__ppoll) ret END(__ppoll) -.hidden _C_LABEL(__ppoll) +.hidden __ppoll diff --git a/libc/arch-arm64/syscalls/__pselect6.S b/libc/arch-arm64/syscalls/__pselect6.S index 295b71a50..193e19f6d 100644 --- a/libc/arch-arm64/syscalls/__pselect6.S +++ b/libc/arch-arm64/syscalls/__pselect6.S @@ -19,4 +19,4 @@ ENTRY(__pselect6) ret END(__pselect6) -.hidden _C_LABEL(__pselect6) +.hidden __pselect6 diff --git a/libc/arch-arm64/syscalls/__ptrace.S b/libc/arch-arm64/syscalls/__ptrace.S index aa4107185..ee63cb0f9 100644 --- a/libc/arch-arm64/syscalls/__ptrace.S +++ b/libc/arch-arm64/syscalls/__ptrace.S @@ -19,4 +19,4 @@ ENTRY(__ptrace) ret END(__ptrace) -.hidden _C_LABEL(__ptrace) +.hidden __ptrace diff --git a/libc/arch-arm64/syscalls/__reboot.S b/libc/arch-arm64/syscalls/__reboot.S index 9680bdc99..10b33ad18 100644 --- a/libc/arch-arm64/syscalls/__reboot.S +++ b/libc/arch-arm64/syscalls/__reboot.S @@ -19,4 +19,4 @@ ENTRY(__reboot) ret END(__reboot) -.hidden _C_LABEL(__reboot) +.hidden __reboot diff --git a/libc/arch-arm64/syscalls/__rt_sigaction.S b/libc/arch-arm64/syscalls/__rt_sigaction.S index 77f83eae2..cea094149 100644 --- a/libc/arch-arm64/syscalls/__rt_sigaction.S +++ b/libc/arch-arm64/syscalls/__rt_sigaction.S @@ -19,4 +19,4 @@ ENTRY(__rt_sigaction) ret END(__rt_sigaction) -.hidden _C_LABEL(__rt_sigaction) +.hidden __rt_sigaction diff --git a/libc/arch-arm64/syscalls/__rt_sigpending.S b/libc/arch-arm64/syscalls/__rt_sigpending.S index 59a2e1e1a..97db3b984 100644 --- a/libc/arch-arm64/syscalls/__rt_sigpending.S +++ b/libc/arch-arm64/syscalls/__rt_sigpending.S @@ -19,4 +19,4 @@ ENTRY(__rt_sigpending) ret END(__rt_sigpending) -.hidden _C_LABEL(__rt_sigpending) +.hidden __rt_sigpending diff --git a/libc/arch-arm64/syscalls/__rt_sigprocmask.S b/libc/arch-arm64/syscalls/__rt_sigprocmask.S index c5a51ede3..97dabe10d 100644 --- a/libc/arch-arm64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-arm64/syscalls/__rt_sigprocmask.S @@ -19,4 +19,4 @@ ENTRY(__rt_sigprocmask) ret END(__rt_sigprocmask) -.hidden _C_LABEL(__rt_sigprocmask) +.hidden __rt_sigprocmask diff --git a/libc/arch-arm64/syscalls/__rt_sigsuspend.S b/libc/arch-arm64/syscalls/__rt_sigsuspend.S index 7a1c22e7b..d8eaa3e53 100644 --- a/libc/arch-arm64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-arm64/syscalls/__rt_sigsuspend.S @@ -19,4 +19,4 @@ ENTRY(__rt_sigsuspend) ret END(__rt_sigsuspend) -.hidden _C_LABEL(__rt_sigsuspend) +.hidden __rt_sigsuspend diff --git a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S index b3d950c8c..95f031a88 100644 --- a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S @@ -19,4 +19,4 @@ ENTRY(__rt_sigtimedwait) ret END(__rt_sigtimedwait) -.hidden _C_LABEL(__rt_sigtimedwait) +.hidden __rt_sigtimedwait diff --git a/libc/arch-arm64/syscalls/__sched_getaffinity.S b/libc/arch-arm64/syscalls/__sched_getaffinity.S index 9b785adcb..58715d0fd 100644 --- a/libc/arch-arm64/syscalls/__sched_getaffinity.S +++ b/libc/arch-arm64/syscalls/__sched_getaffinity.S @@ -19,4 +19,4 @@ ENTRY(__sched_getaffinity) ret END(__sched_getaffinity) -.hidden _C_LABEL(__sched_getaffinity) +.hidden __sched_getaffinity diff --git a/libc/arch-arm64/syscalls/__set_tid_address.S b/libc/arch-arm64/syscalls/__set_tid_address.S index b7541fcc9..3cc452cbc 100644 --- a/libc/arch-arm64/syscalls/__set_tid_address.S +++ b/libc/arch-arm64/syscalls/__set_tid_address.S @@ -19,4 +19,4 @@ ENTRY(__set_tid_address) ret END(__set_tid_address) -.hidden _C_LABEL(__set_tid_address) +.hidden __set_tid_address diff --git a/libc/arch-arm64/syscalls/__syslog.S b/libc/arch-arm64/syscalls/__syslog.S index 625a7eb49..2e1fb1dcc 100644 --- a/libc/arch-arm64/syscalls/__syslog.S +++ b/libc/arch-arm64/syscalls/__syslog.S @@ -19,4 +19,4 @@ ENTRY(__syslog) ret END(__syslog) -.hidden _C_LABEL(__syslog) +.hidden __syslog diff --git a/libc/arch-arm64/syscalls/__timer_create.S b/libc/arch-arm64/syscalls/__timer_create.S index bfce448fc..b551048bf 100644 --- a/libc/arch-arm64/syscalls/__timer_create.S +++ b/libc/arch-arm64/syscalls/__timer_create.S @@ -19,4 +19,4 @@ ENTRY(__timer_create) ret END(__timer_create) -.hidden _C_LABEL(__timer_create) +.hidden __timer_create diff --git a/libc/arch-arm64/syscalls/__timer_delete.S b/libc/arch-arm64/syscalls/__timer_delete.S index 03ed44e28..2aff54085 100644 --- a/libc/arch-arm64/syscalls/__timer_delete.S +++ b/libc/arch-arm64/syscalls/__timer_delete.S @@ -19,4 +19,4 @@ ENTRY(__timer_delete) ret END(__timer_delete) -.hidden _C_LABEL(__timer_delete) +.hidden __timer_delete diff --git a/libc/arch-arm64/syscalls/__timer_getoverrun.S b/libc/arch-arm64/syscalls/__timer_getoverrun.S index a45894139..b11e35620 100644 --- a/libc/arch-arm64/syscalls/__timer_getoverrun.S +++ b/libc/arch-arm64/syscalls/__timer_getoverrun.S @@ -19,4 +19,4 @@ ENTRY(__timer_getoverrun) ret END(__timer_getoverrun) -.hidden _C_LABEL(__timer_getoverrun) +.hidden __timer_getoverrun diff --git a/libc/arch-arm64/syscalls/__timer_gettime.S b/libc/arch-arm64/syscalls/__timer_gettime.S index b6ae29e44..c7c4d09bb 100644 --- a/libc/arch-arm64/syscalls/__timer_gettime.S +++ b/libc/arch-arm64/syscalls/__timer_gettime.S @@ -19,4 +19,4 @@ ENTRY(__timer_gettime) ret END(__timer_gettime) -.hidden _C_LABEL(__timer_gettime) +.hidden __timer_gettime diff --git a/libc/arch-arm64/syscalls/__timer_settime.S b/libc/arch-arm64/syscalls/__timer_settime.S index 3c44b5318..4f5f5fcf9 100644 --- a/libc/arch-arm64/syscalls/__timer_settime.S +++ b/libc/arch-arm64/syscalls/__timer_settime.S @@ -19,4 +19,4 @@ ENTRY(__timer_settime) ret END(__timer_settime) -.hidden _C_LABEL(__timer_settime) +.hidden __timer_settime diff --git a/libc/arch-arm64/syscalls/__waitid.S b/libc/arch-arm64/syscalls/__waitid.S index 42440184c..66e986a83 100644 --- a/libc/arch-arm64/syscalls/__waitid.S +++ b/libc/arch-arm64/syscalls/__waitid.S @@ -19,4 +19,4 @@ ENTRY(__waitid) ret END(__waitid) -.hidden _C_LABEL(__waitid) +.hidden __waitid diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S index c352c6903..99a108ac9 100644 --- a/libc/arch-mips64/syscalls/__brk.S +++ b/libc/arch-mips64/syscalls/__brk.S @@ -23,4 +23,4 @@ ENTRY(__brk) move ra, t0 .set pop END(__brk) -.hidden _C_LABEL(__brk) +.hidden __brk diff --git a/libc/arch-mips64/syscalls/__epoll_pwait.S b/libc/arch-mips64/syscalls/__epoll_pwait.S index 5ffd49af9..fc3867afb 100644 --- a/libc/arch-mips64/syscalls/__epoll_pwait.S +++ b/libc/arch-mips64/syscalls/__epoll_pwait.S @@ -23,4 +23,4 @@ ENTRY(__epoll_pwait) move ra, t0 .set pop END(__epoll_pwait) -.hidden _C_LABEL(__epoll_pwait) +.hidden __epoll_pwait diff --git a/libc/arch-mips64/syscalls/__exit.S b/libc/arch-mips64/syscalls/__exit.S index 5adcc5ba7..dac53b9f5 100644 --- a/libc/arch-mips64/syscalls/__exit.S +++ b/libc/arch-mips64/syscalls/__exit.S @@ -23,4 +23,4 @@ ENTRY(__exit) move ra, t0 .set pop END(__exit) -.hidden _C_LABEL(__exit) +.hidden __exit diff --git a/libc/arch-mips64/syscalls/__getcpu.S b/libc/arch-mips64/syscalls/__getcpu.S index ec2d87b46..9c08710be 100644 --- a/libc/arch-mips64/syscalls/__getcpu.S +++ b/libc/arch-mips64/syscalls/__getcpu.S @@ -23,4 +23,4 @@ ENTRY(__getcpu) move ra, t0 .set pop END(__getcpu) -.hidden _C_LABEL(__getcpu) +.hidden __getcpu diff --git a/libc/arch-mips64/syscalls/__getcwd.S b/libc/arch-mips64/syscalls/__getcwd.S index 29de0a7df..79fbca35f 100644 --- a/libc/arch-mips64/syscalls/__getcwd.S +++ b/libc/arch-mips64/syscalls/__getcwd.S @@ -23,4 +23,4 @@ ENTRY(__getcwd) move ra, t0 .set pop END(__getcwd) -.hidden _C_LABEL(__getcwd) +.hidden __getcwd diff --git a/libc/arch-mips64/syscalls/__getdents.S b/libc/arch-mips64/syscalls/__getdents.S index 862fe429d..0a70a720e 100644 --- a/libc/arch-mips64/syscalls/__getdents.S +++ b/libc/arch-mips64/syscalls/__getdents.S @@ -23,4 +23,4 @@ ENTRY(__getdents) move ra, t0 .set pop END(__getdents) -.hidden _C_LABEL(__getdents) +.hidden __getdents diff --git a/libc/arch-mips64/syscalls/__getdents64.S b/libc/arch-mips64/syscalls/__getdents64.S index 57d33c0c1..6df556a21 100644 --- a/libc/arch-mips64/syscalls/__getdents64.S +++ b/libc/arch-mips64/syscalls/__getdents64.S @@ -23,4 +23,4 @@ ENTRY(__getdents64) move ra, t0 .set pop END(__getdents64) -.hidden _C_LABEL(__getdents64) +.hidden __getdents64 diff --git a/libc/arch-mips64/syscalls/__getpriority.S b/libc/arch-mips64/syscalls/__getpriority.S index d17c2485c..6ca2e1f3a 100644 --- a/libc/arch-mips64/syscalls/__getpriority.S +++ b/libc/arch-mips64/syscalls/__getpriority.S @@ -23,4 +23,4 @@ ENTRY(__getpriority) move ra, t0 .set pop END(__getpriority) -.hidden _C_LABEL(__getpriority) +.hidden __getpriority diff --git a/libc/arch-mips64/syscalls/__ioctl.S b/libc/arch-mips64/syscalls/__ioctl.S index eca0f5d8d..013ce1836 100644 --- a/libc/arch-mips64/syscalls/__ioctl.S +++ b/libc/arch-mips64/syscalls/__ioctl.S @@ -23,4 +23,4 @@ ENTRY(__ioctl) move ra, t0 .set pop END(__ioctl) -.hidden _C_LABEL(__ioctl) +.hidden __ioctl diff --git a/libc/arch-mips64/syscalls/__openat.S b/libc/arch-mips64/syscalls/__openat.S index adbcdd2d8..1d46ef68a 100644 --- a/libc/arch-mips64/syscalls/__openat.S +++ b/libc/arch-mips64/syscalls/__openat.S @@ -23,4 +23,4 @@ ENTRY(__openat) move ra, t0 .set pop END(__openat) -.hidden _C_LABEL(__openat) +.hidden __openat diff --git a/libc/arch-mips64/syscalls/__ppoll.S b/libc/arch-mips64/syscalls/__ppoll.S index f0e7cac62..fb0e19a99 100644 --- a/libc/arch-mips64/syscalls/__ppoll.S +++ b/libc/arch-mips64/syscalls/__ppoll.S @@ -23,4 +23,4 @@ ENTRY(__ppoll) move ra, t0 .set pop END(__ppoll) -.hidden _C_LABEL(__ppoll) +.hidden __ppoll diff --git a/libc/arch-mips64/syscalls/__pselect6.S b/libc/arch-mips64/syscalls/__pselect6.S index 7398afbb3..3055b31a0 100644 --- a/libc/arch-mips64/syscalls/__pselect6.S +++ b/libc/arch-mips64/syscalls/__pselect6.S @@ -23,4 +23,4 @@ ENTRY(__pselect6) move ra, t0 .set pop END(__pselect6) -.hidden _C_LABEL(__pselect6) +.hidden __pselect6 diff --git a/libc/arch-mips64/syscalls/__ptrace.S b/libc/arch-mips64/syscalls/__ptrace.S index ae77fa4f4..bae77334d 100644 --- a/libc/arch-mips64/syscalls/__ptrace.S +++ b/libc/arch-mips64/syscalls/__ptrace.S @@ -23,4 +23,4 @@ ENTRY(__ptrace) move ra, t0 .set pop END(__ptrace) -.hidden _C_LABEL(__ptrace) +.hidden __ptrace diff --git a/libc/arch-mips64/syscalls/__reboot.S b/libc/arch-mips64/syscalls/__reboot.S index 6b34a4f5a..31a97e36a 100644 --- a/libc/arch-mips64/syscalls/__reboot.S +++ b/libc/arch-mips64/syscalls/__reboot.S @@ -23,4 +23,4 @@ ENTRY(__reboot) move ra, t0 .set pop END(__reboot) -.hidden _C_LABEL(__reboot) +.hidden __reboot diff --git a/libc/arch-mips64/syscalls/__rt_sigaction.S b/libc/arch-mips64/syscalls/__rt_sigaction.S index 2e8d588ee..3728c5870 100644 --- a/libc/arch-mips64/syscalls/__rt_sigaction.S +++ b/libc/arch-mips64/syscalls/__rt_sigaction.S @@ -23,4 +23,4 @@ ENTRY(__rt_sigaction) move ra, t0 .set pop END(__rt_sigaction) -.hidden _C_LABEL(__rt_sigaction) +.hidden __rt_sigaction diff --git a/libc/arch-mips64/syscalls/__rt_sigpending.S b/libc/arch-mips64/syscalls/__rt_sigpending.S index 93351ca91..e0d40ccaf 100644 --- a/libc/arch-mips64/syscalls/__rt_sigpending.S +++ b/libc/arch-mips64/syscalls/__rt_sigpending.S @@ -23,4 +23,4 @@ ENTRY(__rt_sigpending) move ra, t0 .set pop END(__rt_sigpending) -.hidden _C_LABEL(__rt_sigpending) +.hidden __rt_sigpending diff --git a/libc/arch-mips64/syscalls/__rt_sigprocmask.S b/libc/arch-mips64/syscalls/__rt_sigprocmask.S index 36cb21a87..d34a34b61 100644 --- a/libc/arch-mips64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips64/syscalls/__rt_sigprocmask.S @@ -23,4 +23,4 @@ ENTRY(__rt_sigprocmask) move ra, t0 .set pop END(__rt_sigprocmask) -.hidden _C_LABEL(__rt_sigprocmask) +.hidden __rt_sigprocmask diff --git a/libc/arch-mips64/syscalls/__rt_sigsuspend.S b/libc/arch-mips64/syscalls/__rt_sigsuspend.S index 943311fdb..f36e1c339 100644 --- a/libc/arch-mips64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips64/syscalls/__rt_sigsuspend.S @@ -23,4 +23,4 @@ ENTRY(__rt_sigsuspend) move ra, t0 .set pop END(__rt_sigsuspend) -.hidden _C_LABEL(__rt_sigsuspend) +.hidden __rt_sigsuspend diff --git a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S index 59c743b83..798d6f85e 100644 --- a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S @@ -23,4 +23,4 @@ ENTRY(__rt_sigtimedwait) move ra, t0 .set pop END(__rt_sigtimedwait) -.hidden _C_LABEL(__rt_sigtimedwait) +.hidden __rt_sigtimedwait diff --git a/libc/arch-mips64/syscalls/__sched_getaffinity.S b/libc/arch-mips64/syscalls/__sched_getaffinity.S index 08f6b3409..a28781575 100644 --- a/libc/arch-mips64/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips64/syscalls/__sched_getaffinity.S @@ -23,4 +23,4 @@ ENTRY(__sched_getaffinity) move ra, t0 .set pop END(__sched_getaffinity) -.hidden _C_LABEL(__sched_getaffinity) +.hidden __sched_getaffinity diff --git a/libc/arch-mips64/syscalls/__set_thread_area.S b/libc/arch-mips64/syscalls/__set_thread_area.S index 5ea945f82..c28ee4a84 100644 --- a/libc/arch-mips64/syscalls/__set_thread_area.S +++ b/libc/arch-mips64/syscalls/__set_thread_area.S @@ -23,4 +23,4 @@ ENTRY(__set_thread_area) move ra, t0 .set pop END(__set_thread_area) -.hidden _C_LABEL(__set_thread_area) +.hidden __set_thread_area diff --git a/libc/arch-mips64/syscalls/__set_tid_address.S b/libc/arch-mips64/syscalls/__set_tid_address.S index ce1fcf5d5..8757001e1 100644 --- a/libc/arch-mips64/syscalls/__set_tid_address.S +++ b/libc/arch-mips64/syscalls/__set_tid_address.S @@ -23,4 +23,4 @@ ENTRY(__set_tid_address) move ra, t0 .set pop END(__set_tid_address) -.hidden _C_LABEL(__set_tid_address) +.hidden __set_tid_address diff --git a/libc/arch-mips64/syscalls/__syslog.S b/libc/arch-mips64/syscalls/__syslog.S index 59b1f0d4d..70eed3a33 100644 --- a/libc/arch-mips64/syscalls/__syslog.S +++ b/libc/arch-mips64/syscalls/__syslog.S @@ -23,4 +23,4 @@ ENTRY(__syslog) move ra, t0 .set pop END(__syslog) -.hidden _C_LABEL(__syslog) +.hidden __syslog diff --git a/libc/arch-mips64/syscalls/__timer_create.S b/libc/arch-mips64/syscalls/__timer_create.S index 4e70cd339..5a4daac14 100644 --- a/libc/arch-mips64/syscalls/__timer_create.S +++ b/libc/arch-mips64/syscalls/__timer_create.S @@ -23,4 +23,4 @@ ENTRY(__timer_create) move ra, t0 .set pop END(__timer_create) -.hidden _C_LABEL(__timer_create) +.hidden __timer_create diff --git a/libc/arch-mips64/syscalls/__timer_delete.S b/libc/arch-mips64/syscalls/__timer_delete.S index c61b34cfc..8bbbdb78a 100644 --- a/libc/arch-mips64/syscalls/__timer_delete.S +++ b/libc/arch-mips64/syscalls/__timer_delete.S @@ -23,4 +23,4 @@ ENTRY(__timer_delete) move ra, t0 .set pop END(__timer_delete) -.hidden _C_LABEL(__timer_delete) +.hidden __timer_delete diff --git a/libc/arch-mips64/syscalls/__timer_getoverrun.S b/libc/arch-mips64/syscalls/__timer_getoverrun.S index 7e36e35be..3bf06ccb4 100644 --- a/libc/arch-mips64/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips64/syscalls/__timer_getoverrun.S @@ -23,4 +23,4 @@ ENTRY(__timer_getoverrun) move ra, t0 .set pop END(__timer_getoverrun) -.hidden _C_LABEL(__timer_getoverrun) +.hidden __timer_getoverrun diff --git a/libc/arch-mips64/syscalls/__timer_gettime.S b/libc/arch-mips64/syscalls/__timer_gettime.S index aef5391cc..a15ec1770 100644 --- a/libc/arch-mips64/syscalls/__timer_gettime.S +++ b/libc/arch-mips64/syscalls/__timer_gettime.S @@ -23,4 +23,4 @@ ENTRY(__timer_gettime) move ra, t0 .set pop END(__timer_gettime) -.hidden _C_LABEL(__timer_gettime) +.hidden __timer_gettime diff --git a/libc/arch-mips64/syscalls/__timer_settime.S b/libc/arch-mips64/syscalls/__timer_settime.S index dc945e7ba..10e2ca8c4 100644 --- a/libc/arch-mips64/syscalls/__timer_settime.S +++ b/libc/arch-mips64/syscalls/__timer_settime.S @@ -23,4 +23,4 @@ ENTRY(__timer_settime) move ra, t0 .set pop END(__timer_settime) -.hidden _C_LABEL(__timer_settime) +.hidden __timer_settime diff --git a/libc/arch-mips64/syscalls/__waitid.S b/libc/arch-mips64/syscalls/__waitid.S index e395a34bd..4d971e617 100644 --- a/libc/arch-mips64/syscalls/__waitid.S +++ b/libc/arch-mips64/syscalls/__waitid.S @@ -23,4 +23,4 @@ ENTRY(__waitid) move ra, t0 .set pop END(__waitid) -.hidden _C_LABEL(__waitid) +.hidden __waitid diff --git a/libc/arch-x86_64/syscalls/__arch_prctl.S b/libc/arch-x86_64/syscalls/__arch_prctl.S index e8786795d..ac5d96e4d 100644 --- a/libc/arch-x86_64/syscalls/__arch_prctl.S +++ b/libc/arch-x86_64/syscalls/__arch_prctl.S @@ -14,4 +14,4 @@ ENTRY(__arch_prctl) 1: ret END(__arch_prctl) -.hidden _C_LABEL(__arch_prctl) +.hidden __arch_prctl diff --git a/libc/arch-x86_64/syscalls/__brk.S b/libc/arch-x86_64/syscalls/__brk.S index 18c29970c..a69f404d2 100644 --- a/libc/arch-x86_64/syscalls/__brk.S +++ b/libc/arch-x86_64/syscalls/__brk.S @@ -14,4 +14,4 @@ ENTRY(__brk) 1: ret END(__brk) -.hidden _C_LABEL(__brk) +.hidden __brk diff --git a/libc/arch-x86_64/syscalls/__epoll_pwait.S b/libc/arch-x86_64/syscalls/__epoll_pwait.S index ed913b02a..306e12e36 100644 --- a/libc/arch-x86_64/syscalls/__epoll_pwait.S +++ b/libc/arch-x86_64/syscalls/__epoll_pwait.S @@ -15,4 +15,4 @@ ENTRY(__epoll_pwait) 1: ret END(__epoll_pwait) -.hidden _C_LABEL(__epoll_pwait) +.hidden __epoll_pwait diff --git a/libc/arch-x86_64/syscalls/__exit.S b/libc/arch-x86_64/syscalls/__exit.S index da1f9f8b3..af3ada470 100644 --- a/libc/arch-x86_64/syscalls/__exit.S +++ b/libc/arch-x86_64/syscalls/__exit.S @@ -14,4 +14,4 @@ ENTRY(__exit) 1: ret END(__exit) -.hidden _C_LABEL(__exit) +.hidden __exit diff --git a/libc/arch-x86_64/syscalls/__getcpu.S b/libc/arch-x86_64/syscalls/__getcpu.S index 5a184940a..8650db449 100644 --- a/libc/arch-x86_64/syscalls/__getcpu.S +++ b/libc/arch-x86_64/syscalls/__getcpu.S @@ -14,4 +14,4 @@ ENTRY(__getcpu) 1: ret END(__getcpu) -.hidden _C_LABEL(__getcpu) +.hidden __getcpu diff --git a/libc/arch-x86_64/syscalls/__getcwd.S b/libc/arch-x86_64/syscalls/__getcwd.S index c9e99422f..c76280479 100644 --- a/libc/arch-x86_64/syscalls/__getcwd.S +++ b/libc/arch-x86_64/syscalls/__getcwd.S @@ -14,4 +14,4 @@ ENTRY(__getcwd) 1: ret END(__getcwd) -.hidden _C_LABEL(__getcwd) +.hidden __getcwd diff --git a/libc/arch-x86_64/syscalls/__getpriority.S b/libc/arch-x86_64/syscalls/__getpriority.S index f5230e16b..8aaae8f3d 100644 --- a/libc/arch-x86_64/syscalls/__getpriority.S +++ b/libc/arch-x86_64/syscalls/__getpriority.S @@ -14,4 +14,4 @@ ENTRY(__getpriority) 1: ret END(__getpriority) -.hidden _C_LABEL(__getpriority) +.hidden __getpriority diff --git a/libc/arch-x86_64/syscalls/__ioctl.S b/libc/arch-x86_64/syscalls/__ioctl.S index 8f30eb6a9..646d8198e 100644 --- a/libc/arch-x86_64/syscalls/__ioctl.S +++ b/libc/arch-x86_64/syscalls/__ioctl.S @@ -14,4 +14,4 @@ ENTRY(__ioctl) 1: ret END(__ioctl) -.hidden _C_LABEL(__ioctl) +.hidden __ioctl diff --git a/libc/arch-x86_64/syscalls/__openat.S b/libc/arch-x86_64/syscalls/__openat.S index cd6a07fe6..e065cca57 100644 --- a/libc/arch-x86_64/syscalls/__openat.S +++ b/libc/arch-x86_64/syscalls/__openat.S @@ -15,4 +15,4 @@ ENTRY(__openat) 1: ret END(__openat) -.hidden _C_LABEL(__openat) +.hidden __openat diff --git a/libc/arch-x86_64/syscalls/__ppoll.S b/libc/arch-x86_64/syscalls/__ppoll.S index dd639ae6a..6edaa3627 100644 --- a/libc/arch-x86_64/syscalls/__ppoll.S +++ b/libc/arch-x86_64/syscalls/__ppoll.S @@ -15,4 +15,4 @@ ENTRY(__ppoll) 1: ret END(__ppoll) -.hidden _C_LABEL(__ppoll) +.hidden __ppoll diff --git a/libc/arch-x86_64/syscalls/__pselect6.S b/libc/arch-x86_64/syscalls/__pselect6.S index c37483a79..a2aec7a5e 100644 --- a/libc/arch-x86_64/syscalls/__pselect6.S +++ b/libc/arch-x86_64/syscalls/__pselect6.S @@ -15,4 +15,4 @@ ENTRY(__pselect6) 1: ret END(__pselect6) -.hidden _C_LABEL(__pselect6) +.hidden __pselect6 diff --git a/libc/arch-x86_64/syscalls/__ptrace.S b/libc/arch-x86_64/syscalls/__ptrace.S index be42b91a6..8ec8ac11d 100644 --- a/libc/arch-x86_64/syscalls/__ptrace.S +++ b/libc/arch-x86_64/syscalls/__ptrace.S @@ -15,4 +15,4 @@ ENTRY(__ptrace) 1: ret END(__ptrace) -.hidden _C_LABEL(__ptrace) +.hidden __ptrace diff --git a/libc/arch-x86_64/syscalls/__reboot.S b/libc/arch-x86_64/syscalls/__reboot.S index fc8e58d3e..9b8ef70fb 100644 --- a/libc/arch-x86_64/syscalls/__reboot.S +++ b/libc/arch-x86_64/syscalls/__reboot.S @@ -15,4 +15,4 @@ ENTRY(__reboot) 1: ret END(__reboot) -.hidden _C_LABEL(__reboot) +.hidden __reboot diff --git a/libc/arch-x86_64/syscalls/__rt_sigaction.S b/libc/arch-x86_64/syscalls/__rt_sigaction.S index 70602dfe8..b038f6e7c 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigaction.S +++ b/libc/arch-x86_64/syscalls/__rt_sigaction.S @@ -15,4 +15,4 @@ ENTRY(__rt_sigaction) 1: ret END(__rt_sigaction) -.hidden _C_LABEL(__rt_sigaction) +.hidden __rt_sigaction diff --git a/libc/arch-x86_64/syscalls/__rt_sigpending.S b/libc/arch-x86_64/syscalls/__rt_sigpending.S index 1caf13161..e0c50c1b9 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigpending.S +++ b/libc/arch-x86_64/syscalls/__rt_sigpending.S @@ -14,4 +14,4 @@ ENTRY(__rt_sigpending) 1: ret END(__rt_sigpending) -.hidden _C_LABEL(__rt_sigpending) +.hidden __rt_sigpending diff --git a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S index d7e44a7fa..2a0ab5e0e 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S @@ -15,4 +15,4 @@ ENTRY(__rt_sigprocmask) 1: ret END(__rt_sigprocmask) -.hidden _C_LABEL(__rt_sigprocmask) +.hidden __rt_sigprocmask diff --git a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S index 851b93e52..6fa656525 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S @@ -14,4 +14,4 @@ ENTRY(__rt_sigsuspend) 1: ret END(__rt_sigsuspend) -.hidden _C_LABEL(__rt_sigsuspend) +.hidden __rt_sigsuspend diff --git a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S index 6962d4a31..46ee04bd3 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S @@ -15,4 +15,4 @@ ENTRY(__rt_sigtimedwait) 1: ret END(__rt_sigtimedwait) -.hidden _C_LABEL(__rt_sigtimedwait) +.hidden __rt_sigtimedwait diff --git a/libc/arch-x86_64/syscalls/__sched_getaffinity.S b/libc/arch-x86_64/syscalls/__sched_getaffinity.S index 861f06bac..3707226e5 100644 --- a/libc/arch-x86_64/syscalls/__sched_getaffinity.S +++ b/libc/arch-x86_64/syscalls/__sched_getaffinity.S @@ -14,4 +14,4 @@ ENTRY(__sched_getaffinity) 1: ret END(__sched_getaffinity) -.hidden _C_LABEL(__sched_getaffinity) +.hidden __sched_getaffinity diff --git a/libc/arch-x86_64/syscalls/__set_tid_address.S b/libc/arch-x86_64/syscalls/__set_tid_address.S index fe7260f0d..4a8f1535a 100644 --- a/libc/arch-x86_64/syscalls/__set_tid_address.S +++ b/libc/arch-x86_64/syscalls/__set_tid_address.S @@ -14,4 +14,4 @@ ENTRY(__set_tid_address) 1: ret END(__set_tid_address) -.hidden _C_LABEL(__set_tid_address) +.hidden __set_tid_address diff --git a/libc/arch-x86_64/syscalls/__syslog.S b/libc/arch-x86_64/syscalls/__syslog.S index 4e41149ab..f71002570 100644 --- a/libc/arch-x86_64/syscalls/__syslog.S +++ b/libc/arch-x86_64/syscalls/__syslog.S @@ -14,4 +14,4 @@ ENTRY(__syslog) 1: ret END(__syslog) -.hidden _C_LABEL(__syslog) +.hidden __syslog diff --git a/libc/arch-x86_64/syscalls/__timer_create.S b/libc/arch-x86_64/syscalls/__timer_create.S index 1c5c68e8f..2f41c8872 100644 --- a/libc/arch-x86_64/syscalls/__timer_create.S +++ b/libc/arch-x86_64/syscalls/__timer_create.S @@ -14,4 +14,4 @@ ENTRY(__timer_create) 1: ret END(__timer_create) -.hidden _C_LABEL(__timer_create) +.hidden __timer_create diff --git a/libc/arch-x86_64/syscalls/__timer_delete.S b/libc/arch-x86_64/syscalls/__timer_delete.S index c8267578c..200991677 100644 --- a/libc/arch-x86_64/syscalls/__timer_delete.S +++ b/libc/arch-x86_64/syscalls/__timer_delete.S @@ -14,4 +14,4 @@ ENTRY(__timer_delete) 1: ret END(__timer_delete) -.hidden _C_LABEL(__timer_delete) +.hidden __timer_delete diff --git a/libc/arch-x86_64/syscalls/__timer_getoverrun.S b/libc/arch-x86_64/syscalls/__timer_getoverrun.S index 772b05ef2..fe71efe3d 100644 --- a/libc/arch-x86_64/syscalls/__timer_getoverrun.S +++ b/libc/arch-x86_64/syscalls/__timer_getoverrun.S @@ -14,4 +14,4 @@ ENTRY(__timer_getoverrun) 1: ret END(__timer_getoverrun) -.hidden _C_LABEL(__timer_getoverrun) +.hidden __timer_getoverrun diff --git a/libc/arch-x86_64/syscalls/__timer_gettime.S b/libc/arch-x86_64/syscalls/__timer_gettime.S index 181069ba0..44fe2ffc3 100644 --- a/libc/arch-x86_64/syscalls/__timer_gettime.S +++ b/libc/arch-x86_64/syscalls/__timer_gettime.S @@ -14,4 +14,4 @@ ENTRY(__timer_gettime) 1: ret END(__timer_gettime) -.hidden _C_LABEL(__timer_gettime) +.hidden __timer_gettime diff --git a/libc/arch-x86_64/syscalls/__timer_settime.S b/libc/arch-x86_64/syscalls/__timer_settime.S index 11fe04e43..1240aa196 100644 --- a/libc/arch-x86_64/syscalls/__timer_settime.S +++ b/libc/arch-x86_64/syscalls/__timer_settime.S @@ -15,4 +15,4 @@ ENTRY(__timer_settime) 1: ret END(__timer_settime) -.hidden _C_LABEL(__timer_settime) +.hidden __timer_settime diff --git a/libc/arch-x86_64/syscalls/__waitid.S b/libc/arch-x86_64/syscalls/__waitid.S index 4317d785a..0d4fc58d2 100644 --- a/libc/arch-x86_64/syscalls/__waitid.S +++ b/libc/arch-x86_64/syscalls/__waitid.S @@ -15,4 +15,4 @@ ENTRY(__waitid) 1: ret END(__waitid) -.hidden _C_LABEL(__waitid) +.hidden __waitid diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index da30da2a6..8a5f3d2e0 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -288,7 +288,7 @@ def add_footer(pointer_length, stub, syscall): # Use hidden visibility for any functions beginning with underscores. if pointer_length == 64 and syscall["func"].startswith("__"): - stub += '.hidden _C_LABEL(' + syscall["func"] + ')\n' + stub += '.hidden ' + syscall["func"] + '\n' return stub