glibc/conform
Joseph Myers 498c1f6a7c Fix ecvt_r, fcvt_r namespace (bug 18522).
The functions ecvt, fcvt and gcvt, in some standards, bring in
references to ecvt_r and fcvt_r, which aren't in any of those
standards.  The calls are correctly to __ecvt_r and __fcvt_r, but then
the names ecvt_r and fcvt_r are defined as strong aliases; this patch
changes them to weak aliases.

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

	[BZ #18522]
	* misc/efgcvt_r.c
	[LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
	(cvt_symbol): Use weak_alias instead of strong_alias.
	[LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
	* conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
	Remove variable.
	(test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
	(test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2015-06-12 10:11:35 +00:00
..
data struct stat is not posix conform 2015-05-26 22:27:24 +05:30
check-header-lists.sh Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
conformtest.pl Add tests for namespace for static linking. 2014-11-12 22:45:25 +00:00
GlibcConform.pm conformtest: use proper _POSIX_C_SOURCE value for POSIX. 2015-05-20 23:14:53 +00:00
linknamespace.pl linknamespace: whitelist re_syntax_options. 2015-05-21 16:24:24 +00:00
list-header-symbols.pl Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Makefile Fix ecvt_r, fcvt_r namespace (bug 18522). 2015-06-12 10:11:35 +00:00