glibc/conform
Joseph Myers 84dbedb608 Fix linknamespace h_errno handling.
Some linknamespace tests were failing because of references to
h_errno.  References to this symbol should be allowed for XPG4, UNIX98
and XOPEN2K; this patch adds it to the list of allowed data symbols
for those standards.  (h_errno was removed in the 2008 edition of
POSIX, so POSIX2008 and XOPEN2K8 references to it are genuine bugs;
fortunately it's not a public data symbol - __h_errno_location is
public, TLS h_errno is GLIBC_PRIVATE - so the symbol can simply be
renamed to __h_errno to fix those bugs without the ABI complications
normally associated with namespace issues for data symbols.)

Tested for x86_64.

	* conform/list-header-symbols.pl (%extra_syms): Add h_errno for
	XPG4, UNIX98 and XOPEN2K.
	* conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
	Remove variable.
	(test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2014-12-04 17:12:46 +00:00
..
data conformtest: clean up POSIX expections for sys/utsname.h, sys/wait.h. 2014-10-14 17:00:11 +00:00
check-header-lists.sh conformtest: split up running of tests from makefile. 2014-03-07 03:23:34 +00:00
conformtest.pl Add tests for namespace for static linking. 2014-11-12 22:45:25 +00:00
GlibcConform.pm Add tests for namespace for static linking. 2014-11-12 22:45:25 +00:00
linknamespace.pl Make linknamespace tests check only relevant libraries. 2014-11-29 01:46:56 +00:00
list-header-symbols.pl Fix linknamespace h_errno handling. 2014-12-04 17:12:46 +00:00
Makefile Fix linknamespace h_errno handling. 2014-12-04 17:12:46 +00:00