glibc/sysdeps/unix/sysv/linux
Joseph Myers d4e157aaae Remove __libc_creat function name.
glibc has lots of __libc_* function names that no longer serve any
purpose (are not used for any calls or exported at a public symbol
version).  This patch removes __libc_creat.  It has the effect of
creat becoming a strong symbol instead of a weak symbol in various
cases, but that's fine; in shared libraries it doesn't matter at all,
while for static linking the only other symbol sometimes defined in
the same object is creat64, and whenever creat64 is a reserved name so
is creat.

Other such cases of unnecessary __libc_* symbols are expected to be
dealt with in separate patches over time.

Tested for x86_64 (testsuite, and that the disassembly of installed
shared libraries is unchanged by the patch).

	* include/fcntl.h (__libc_creat): Remove declaration.
	* io/creat.c (__libc_creat): Rename to creat.
	(creat): Do not define as alias.
	* sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
	of creat instead of __libc_creat.
	* sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
	to creat.
	(creat): Do not define as alias.
	[__WORDSIZE == 64] (creat64): Define as alias of creat instead of
	__libc_creat.
	* sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
	__libc_creat name.
	* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
	Likewise.
2014-10-30 19:44:31 +00:00
..
aarch64 Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
alpha Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
arm arm: Re-enable PI futex support for ARM kernels >= 3.14.3 2014-10-27 22:45:43 +00:00
bits fcntl-linux.h: add new definitions and manual updates for open file description locks 2014-07-29 23:27:21 -04:00
generic Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
hppa hppa: Make __SIGRTMIN 32 (ABI break). 2014-10-23 23:18:19 -04:00
i386 Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
ia64 Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
include/sys Don't use INTUSE with __adjtimex (bug 14132). 2014-10-08 23:19:32 +00:00
m68k Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
microblaze Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
mips MIPS: Avoid a dangling `vfork@GLIBC_2.0' reference 2014-10-22 15:20:37 +01:00
net
netash
netatalk
netax25
neteconet
netinet
netipx
netiucv
netpacket
netrom
netrose
nfs
powerpc Support and use mixed compat/non-compat aliases in syscalls.list. 2014-10-06 22:58:59 +00:00
s390 Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
scsi
sh Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
sparc Move setfsgid/setfsuid definitions to syscalls.list (bug 14138). 2014-10-27 12:24:42 +00:00
sys Fix prototype of eventfd. 2014-09-20 14:05:49 +02:00
tile tile: add clock_gettime support via vDSO 2014-10-06 11:22:14 -04:00
wordsize-64 Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
x86 Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
x86_64 pthread_once: Add fast path and remove x86 variants. 2014-10-20 20:28:08 +02:00
Implies
Makefile
Versions
_G_config.h
_exit.c
a.out.h
accept.S
accept4.c
adjtime.c Don't use INTUSE with __adjtimex (bug 14132). 2014-10-08 23:19:32 +00:00
aio_misc.h
aio_sigqueue.c
allocrtsig.c
arch-fork.h
bind.S
check_native.c
check_pf.c Fix infinite loop in check_pf (BZ #12926) 2014-10-14 21:05:33 +05:30
clock.c
clock_getcpuclockid.c
clock_getres.c
clock_gettime.c
clock_nanosleep.c
clock_settime.c
cmsg_nxthdr.c
configure Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
configure.ac Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
connect.S
device-nrs.h
dl-brk.c
dl-execstack.c
dl-fxstatat64.c
dl-getcwd.c
dl-librecon.h
dl-openat64.c
dl-opendir.c
dl-origin.c
dl-osinfo.h
dl-sbrk.c
dl-sysdep.c
dl-sysdep.h
dl-vdso.c
dl-vdso.h
dl-writev.h
epoll_pwait.c
errqueue.h
eventfd.c Fix prototype of eventfd. 2014-09-20 14:05:49 +02:00
eventfd_read.c
eventfd_write.c
exit-thread.h
faccessat.c
fallocate.c
fallocate64.c
fatal-prepare.h
fchmodat.c
fcntl.c
fd_to_filename.h
fexecve.c
fips-private.h
fpathconf.c
fstatfs64.c
fstatvfs.c
fstatvfs64.c
ftime.c
ftruncate64.c
futimens.c
futimes.c
futimesat.c
fxstat.c
fxstat64.c
fxstatat.c
fxstatat64.c
gai_sigqueue.c
getclktck.c
getcwd.c
getdents.c
getdents64.c
getdirentries.c
getdirentries64.c
getdtsz.c
gethostid.c
getipv4sourcefilter.c
getloadavg.c
getlogin.c
getlogin_r.c
getpagesize.c
getpeername.S
getpid.c
getpriority.c
getpt.c
getrlimit64.c
getsockname.S
getsockopt.S
getsourcefilter.c
getsysstats.c
grantpt.c
if_index.c
ifaddrs.c Handle zero prefix length in getifaddrs (BZ #17371) 2014-09-15 18:59:37 +02:00
ifreq.c
internal_accept4.S
internal_recvmmsg.S
internal_sendmmsg.S
internal_statvfs.c
internal_statvfs64.c
ipc_priv.h
kernel-features.h [PATCH 6/6] Split s390 out of main Linux kernel-features.h. 2014-07-17 17:55:44 +00:00
kernel-posix-cpu-timers.h
kernel-posix-timers.h
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldd-rewrite.sed
lddlibc4.c
ldsodefs.h
libc_fatal.c
linux_fsinfo.h
listen.S
llseek.c
local-setxid.h
lowlevellock-futex.h Separate Linuxisms from lowlevellock.h, make a generic one 2014-07-15 15:23:06 -07:00
lseek64.c
lutimes.c
lxstat.c
lxstat64.c
makedev.c
malloc-sysdep.h
mmap64.c
mq_close.c
mq_getattr.c
mq_notify.c
mq_open.c
mq_receive.c
mq_send.c
mq_unlink.c
msgctl.c
msgget.c
msgrcv.c
msgsnd.c
netlinkaccess.h
nice.c
not-cancel.h
nptl-signals.h Split nptl-signals.h out from pthreadP.h 2014-07-31 11:37:48 -07:00
nscd_setup_thread.c
ntp_gettime.c Don't use INTUSE with __adjtimex (bug 14132). 2014-10-08 23:19:32 +00:00
ntp_gettimex.c Don't use INTUSE with __adjtimex (bug 14132). 2014-10-08 23:19:32 +00:00
open64.c
openat.c
openat64.c
opendir.c
opensock.c
pathconf.c
pathconf.h
paths.h
posix_fadvise.c
posix_fadvise64.c
posix_fallocate.c
posix_fallocate64.c
posix_madvise.c
ppoll.c
pread.c
pread64.c
preadv.c
preadv64.c
prlimit.c
prof-freq.c
profil.c
pselect.c
pt-raise.c
pthread_getaffinity.c
pthread_getcpuclockid.c
pthread_getname.c
pthread_kill.c
pthread_setaffinity.c
pthread_setname.c
pthread_sigmask.c
pthread_sigqueue.c
ptrace.c
ptsname.c
pwrite.c
pwrite64.c
pwritev.c
pwritev64.c
raise.c
readahead.c
readdir64.c
readdir64_r.c
readonly-area.c
reboot.c
recv.S
recvfrom.S
recvmmsg.c Sync recvmmsg prototype with kernel usage. 2014-09-20 13:53:44 +02:00
recvmsg.S
remove.c
sa_len.c
safe-fatal.h Add __safe_fatal and use it in __pthread_unwind forwarder fallback. 2014-07-31 14:00:33 -07:00
sched_getaffinity.c
sched_getcpu.c
sched_setaffinity.c
segfault.c
semctl.c
semget.c
semop.c
semtimedop.c
send.S
sendmmsg.c
sendmsg.S
sendto.S
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
setipv4sourcefilter.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit64.c
setsockopt.S
setsourcefilter.c
setuid.c
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shm_open.c
shm_unlink.c
shmat.c
shmctl.c
shmdt.c
shmget.c
shutdown.S
sigaction.c
siglist.h
signal.c
signalfd.c
sigpending.c
sigprocmask.c
sigqueue.c
sigreturn.c
sigset-cvt-mask.h
sigstack.c
sigsuspend.c
sigtimedwait.c
sigwait.c
sigwaitinfo.c
sizes.h
sleep.c
socketcall.h
socketpair.S
speed.c
statfs64.c
statvfs.c
statvfs64.c
sync_file_range.c
syscalls.list Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
sysconf.c
sysctl.c
sysctl.mk
syslog.c
system.c
tcdrain.c
tcflow.c
tcflush.c
tcgetattr.c
tcgetpgrp.c
tcsendbrk.c
tcsetattr.c
tcsetpgrp.c
termio.h
testrtsig.h
time.c
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_routines.c
timer_settime.c
times.c
timespec_get.c
truncate64.c
tst-clone.c
tst-fanotify.c
tst-getcpu.c
tst-setgetname.c
ttyname.c
ttyname_r.c
ualarm.c
umount.S
umount2.S
unlockpt.c
updwtmp.c
usleep.c
ustat.c
utimensat.c
utimes.c
utmp_file.c
vfork.c
wait.c
wait3.c
waitid.c
waitpid.c
xmknod.c
xmknodat.c
xstat.c
xstat64.c
xstatconv.c
xstatconv.h