+2015-06-12 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #18520]
+ * inet/herrno.c (h_errno): Rename to __h_errno.
+ (__libc_h_errno): Define as alias of __h_errno not h_errno.
+ * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
+ to __h_errno instead of h_errno.
+ * nptl/herrno.c (h_errno): Rename to __h_errno.
+ (__h_errno_location): Refer to __h_errno not h_errno.
+ * resolv/Versions (h_errno): Rename to __h_errno.
+ * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
+ Remove variable.
+ (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
+
2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
* configure.ac: More strict check for AVX512 assembler support.
18111, 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210,
18211, 18217, 18220, 18221, 18234, 18244, 18247, 18287, 18319, 18324,
18333, 18346, 18397, 18409, 18410, 18412, 18418, 18422, 18434, 18444,
- 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498, 18507.
+ 18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498, 18507,
+ 18520.
* Cache information can be queried via sysconf() function on s390 e.g. with
_SC_LEVEL1_ICACHE_SIZE as argument.
test-xfail-POSIX2008/netdb.h/linknamespace = yes
test-xfail-POSIX2008/semaphore.h/linknamespace = yes
test-xfail-XOPEN2K8/fmtmsg.h/linknamespace = yes
-test-xfail-XOPEN2K8/grp.h/linknamespace = yes
test-xfail-XOPEN2K8/netdb.h/linknamespace = yes
-test-xfail-XOPEN2K8/pwd.h/linknamespace = yes
test-xfail-XOPEN2K8/syslog.h/linknamespace = yes
# if IS_IN (libc)
# define h_errno __libc_h_errno
# else
-# define h_errno h_errno /* For #ifndef h_errno tests. */
+# define h_errno __h_errno
# endif
extern __thread int h_errno attribute_tls_model_ie;
# endif /* IS_IN_LIB */
/* We need to have the error status variable of the resolver
accessible in the libc. */
-__thread int h_errno;
-extern __thread int __libc_h_errno __attribute__ ((alias ("h_errno")))
+__thread int __h_errno;
+extern __thread int __libc_h_errno __attribute__ ((alias ("__h_errno")))
attribute_hidden;
#define h_errno __libc_h_errno
/* We need to have the error status variable of the resolver
accessible in the libc. */
-extern __thread int h_errno;
+extern __thread int __h_errno;
/* When threaded, h_errno may be a per-thread variable. */
int *
__h_errno_location (void)
{
- return &h_errno;
+ return &__h_errno;
}
GLIBC_PRIVATE {
__gai_sigqueue;
- h_errno; __resp;
+ __h_errno; __resp;
__res_maybe_init; __res_iclose;
}