about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-12-04 17:12:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-12-04 17:12:46 +0000
commit84dbedb6081f655bdfc4bf93a6e0e7f46234a8a7 (patch)
treedf548acb0c1b68f54e169b3ca3602a75cdaf4907 /ChangeLog
parentaf50dfc10ae33437d044fa040e3088452fa364a0 (diff)
downloadglibc-84dbedb6081f655bdfc4bf93a6e0e7f46234a8a7.tar.gz
glibc-84dbedb6081f655bdfc4bf93a6e0e7f46234a8a7.tar.xz
glibc-84dbedb6081f655bdfc4bf93a6e0e7f46234a8a7.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a6663377e6..5134d116c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-12-04  Joseph Myers  <joseph@codesourcery.com>
+
+	* 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  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* libio/fileops.c: Use ISO C style for function definitions.