glibc/sysdeps
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 Call libc_fetestexcept_aarch64 from math_private.h rather than duplicating functionality. 2014-10-24 13:23:12 +00:00
alpha soft-fp: Refactor exception handling for comparisons. 2014-10-09 01:03:56 +00:00
arm ARM: Use movw/movt more when available 2014-10-22 14:20:35 -07:00
generic Don't use INTDEF/INTUSE in unwind-dw2-fde.c (bug 14132). 2014-10-28 17:12:57 +00:00
gnu Add new Linux 3.16 constants to netinet/udp.h. 2014-09-12 12:13:08 +00:00
hppa Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
i386 Fix misdetected Slow_SSE4_2 cpu feature bit (bug 17501) 2014-10-27 10:44:28 +01:00
ia64 NPTL: Clean up THREAD_SYSINFO macros. 2014-10-17 15:03:00 -07:00
ieee754 Fix missing <math_private.h> in ldbl-96 fma 2014-08-04 10:20:20 +02:00
init_array Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
m68k Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
mach Don't use INTVARDEF/INTUSE with __libc_enable_secure (bug 14132). 2014-10-10 11:13:11 +00:00
microblaze Move architecture shlib-versions files to Linux-specific directories. 2014-07-17 14:31:12 +00:00
mips Remove extra whitespace from end of line. 2014-10-01 13:46:51 -07:00
nptl Make internal lock-init macros return void. 2014-10-20 14:13:14 -07:00
posix Remove _POSIX_REGEX_VERSION 2014-09-15 10:16:14 +05:30
powerpc Don't use INTDEF for powerpc32 compat symbols (bug 14132). 2014-10-23 21:43:41 +00:00
pthread Restore subdir conditional for tst-timer dependency. 2014-07-03 18:52:51 -07:00
s390 Require autoconf 2.69 2014-09-29 07:53:36 -07:00
sh Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
sparc soft-fp: Refactor exception handling for comparisons. 2014-10-09 01:03:56 +00:00
tile tile: fix copyright header blocks in just-committed files 2014-10-06 13:47:02 -04:00
unix Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
wordsize-32 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
wordsize-64 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
x86 Run tst-ld-sse-use.sh with bash. 2014-09-29 23:24:37 +00:00
x86_64 Fix misdetected Slow_SSE4_2 cpu feature bit (bug 17501) 2014-10-27 10:44:28 +01:00