glibc/sysdeps/unix/sysv/linux/generic
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
..
bits
wordsize-32 Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
____longjmp_chk.c
access.c
brk.c
chmod.c
chown.c
creat.c Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
dl-origin.c
dup2.c
epoll_create.c
epoll_wait.c
futimesat.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
getdents64.c
getdents.c
inotify_init.c
kernel_stat.h
lchown.c
link.c
lxstat.c
Makefile
mkdir.c
open64.c
open.c
pause.c
pipe.c
poll.c Remove stray includes of kernel-features.h. 2014-06-25 18:09:01 +00:00
readlink_chk.c
readlink.c
recv.c
rename.c
rmdir.c
select.c
send.c
symlink.c
syscalls.list
sysctl.c
sysdep.h
umount.c
unlink.c
ustat.c
utimes.c
xmknod.c
xstat.c