]> git.ipfire.org Git - thirdparty/glibc.git/commit
Workaround for http://gcc.gnu.org/PR25240
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Dec 2005 10:55:59 +0000 (10:55 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 20 Dec 2005 10:55:59 +0000 (10:55 +0000)
commit24a640bf2a13a96aa3b582c13c767effcd946dbf
tree427bcf280f6c0454caed84b744cfdfaeec7eafc2
parent7d0bcd10a7e3455697985522580267c8470cfcb9
Workaround for http://gcc.gnu.org/PR25240
* include/libc-symbols.h (weak_extern): Define using weak attribute.
(_weak_extern): Remove.
(weak_tls_extern): Define.
* locale/uselocale.c (DEFINE_CATEGORY): Use weak_tls_extern for
_nl_current_##category.
* locale/setlocale.c (DEFINE_CATEGORY): Likewise.
ChangeLog
include/libc-symbols.h
locale/setlocale.c
locale/uselocale.c