glibc/locale
Aurelien Jarno ae75a883f2 fix nl_langinfo with static linking (BZ #16915)
For static linking the locale code avoids linking code and data for
unused categories. However for nl_langinfo we know only at runtime which
categories are used, so direct reference to every nl_current_CATEGORY
symbol should be done.

This was broken by commit bc3e1c1273 where
nl_langinfo_l and nl_langinfo have been merged and some code has been
lost in the process.

In order to detect locales issues with static linking, compile a version
of tst-langinfo with static linking.

Note: this is Debian bug#747103 reported by Raphael <raphael.astier@eliot-sa.com>
2014-05-20 18:43:14 +02:00
..
bits Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
programs Update remaining copyright dates 2014-01-01 22:02:55 +10:00
broken_cur_max.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C_name.c
C-address.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-collate.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-ctype.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-identification.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-measurement.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-messages.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-monetary.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-name.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-numeric.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-paper.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-telephone.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-time.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
C-translit.h Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
C-translit.h.in Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
categories.def Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
coll-lookup.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
coll-lookup.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
duplocale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
elem-hash.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
findlocale.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
freelocale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
gen-translit.pl Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h. 2013-06-05 12:01:50 -05:00
global-locale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
hashval.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
indigits.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
indigitswc.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
iso-639.def Rename Oriya locale to Odia (bug 15601) 2013-11-20 17:47:41 +05:30
iso-3166.def Fix typos in 3166.def. 2013-10-04 18:51:42 -04:00
iso-4217.def Revert incorrect removal of the XDR currency from locale/iso-4217.def 2014-05-03 23:45:15 -06:00
langinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-address.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-collate.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-ctype.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-identification.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-measurement.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-messages.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-monetary.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-name.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-numeric.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-paper.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-telephone.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
lc-time.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
loadarchive.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
loadlocale.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
locale.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
localeconv.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
localeinfo.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
localename.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
locarchive.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
mb_cur_max.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
newlocale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
nl_langinfo_l.c fix nl_langinfo with static linking (BZ #16915) 2014-05-20 18:43:14 +02:00
nl_langinfo.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
outdigits.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
outdigitswc.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
setlocale.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
strlen-hash.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
SYS_libc.c [BZ #284, BZ #721] 2005-02-17 01:19:55 +00:00
tst-C-locale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-duplocale.c Add missing test files. 2009-11-17 16:23:57 -08:00
tst-locname.c Add missing test files. 2009-11-17 16:23:57 -08:00
uselocale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. 2003-03-03 09:45:25 +00:00
weight.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
weightwc.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
xlocale.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
xlocale.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00