about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-06-17 20:09:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-06-17 20:09:35 +0000
commita97e5e25576cb5e207b1e49f1eb4e52e6354daa7 (patch)
tree853cb644162a5554cd54157e724ecfbf20d25991 /ChangeLog
parent17c199ee92e4ca8a34a47c42924608a25a444eb2 (diff)
downloadglibc-a97e5e25576cb5e207b1e49f1eb4e52e6354daa7.tar.gz
glibc-a97e5e25576cb5e207b1e49f1eb4e52e6354daa7.tar.xz
glibc-a97e5e25576cb5e207b1e49f1eb4e52e6354daa7.zip
Fix vsyslog namespace (bug 18533).
syslog functions (in POSIX) bring in the strong symbol vsyslog (not in
POSIX).  This patch fixes this by changing this symbol from a strong
alias to a weak alias.

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).  (vsyslog becomes weak
in the static libraries, which is what's needed; the particular macro
sequence in use leaves it as strong in the shared libraries, hence
those libraries being completely unchanged, but it doesn't generally
matter whether symbols exported from the shared libraries are weak or
strong.)

	[BZ #18533]
	* misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
	not a strong alias.
	* conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
	Remove variable.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index bfd78a8970..3d03d20f7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #18533]
+	* misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
+	not a strong alias.
+	* conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
+	Remove variable.
+
 	[BZ #18532]
 	* inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
 	define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.