about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix inappropriate escape sequences in LC_IDENTIFICATION in several localesMike FABIAN2017-07-2622-25/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | Found using the script check-localedef.py by Zack Weinberg. * locales/aa_DJ (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/aa_ER (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/aa_ET (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/ak_GH (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/bn_BD (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/de_IT (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/es_CU (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/gd_GB (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/gl_ES (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/he_IL (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/hr_HR (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/ht_HT (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/hy_AM (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/lg_UG (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/mai_IN (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/mg_MG (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/pl_PL (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/quz_PE (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/se_NO (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/sl_SI (LC_IDENTIFICATION): Fix inappropriate escape sequence. * locales/ta_LK (LC_IDENTIFICATION): Fix inappropriate escape sequence.
* Indian scripts: More fixes after the recent import.Rafal Luzynski2017-07-2615-111/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | After the recent import of month names from CLDRv31 (bug 21217, commit c853f14) an import of abbreviated month names is also needed to make sure they match the full forms. In case of kok_IN CLDR does not provide the abbreviated month names explicitly but uses full month names in such cases so abmon section has been copied from mon. * localedata/locales/as_IN (abmon): Update from CLDR. * localedata/locales/bn_BD (abmon): Likewise. * localedata/locales/bn_IN (abmon): Likewise. * localedata/locales/gu_IN (abmon): Likewise. * localedata/locales/hi_IN (abmon): Likewise. * localedata/locales/kn_IN (abmon): Likewise. * localedata/locales/ml_IN (abmon): Likewise. * localedata/locales/mr_IN (abmon): Likewise. * localedata/locales/ne_NP (abmon): Likewise. * localedata/locales/or_IN (abmon): Likewise. * localedata/locales/pa_IN (abmon): Likewise. * localedata/locales/ta_IN (abmon): Likewise. * localedata/locales/te_IN (abmon): Likewise. * localedata/locales/kok_IN (abmon): Likewise but copied from mon.
* Update translationsSiddhesh Poyarekar2017-07-267-3475/+3594
| | | | | | | | | * po/bg.po: Update translations. * po/cs.po: Likewise. * po/de.po: Likewise. * po/pl.po: Likewise. * po/uk.po: Likewise. * po/vi.po: Likewise.
* Use POSIX Portable Character Set in the new mai_NP locale source file ↵Mike FABIAN2017-07-262-17/+10
| | | | | | instead of <Uxxxx> * localedata/locales/mai_NP: Use POSIX Portable Character Set.
* Added New Locale mai_NPAkhilesh Kumar2017-07-263-0/+110
| | | | | | | | | | Maithili which is an official language not only in India but in Nepal as well. https://en.wikipedia.org/wiki/Maithili_language Reference is taken form mai_IN. [BZ #21835] * localedata/locales/mai_NP: New file. * localedata/SUPPORTED: Add mai_NP/UTF-8.
* Removed redundant data for the_NP localeAkhilesh Kumar2017-07-262-33/+12
| | | | | | | | [BZ #21838] * locales/the_NP (LC_CTYPE): copy "ne_NP" * locales/the_NP (LC_COLLATE): copy "ne_NP" * locales/the_NP (LC_MONETARY): copy "ne_NP" * locales/the_NP (LC_TELEPHONE): copy "ne_NP"
* Remove redundant data for LC_MONETARY in sd_IN@devanagariMike FABIAN2017-07-262-22/+5
|
* Remove redundant data for LC_MONETARY for Indian localesAkhilesh Kumar2017-07-2620-336/+45
| | | | | | | | | | | | | | | | | | | | | | | [BZ #21836] * locales/ar_IN (LC_MONETARY): copy "hi_IN" * locales/as_IN (LC_MONETARY): copy "hi_IN" * locales/bhb_IN (LC_MONETARY): copy "hi_IN" * locales/bn_IN (LC_MONETARY): copy "hi_IN" * locales/en_IN (LC_MONETARY): copy "hi_IN" * locales/gu_IN (LC_MONETARY): copy "hi_IN" * locales/kn_IN (LC_MONETARY): copy "hi_IN" * locales/kok_IN (LC_MONETARY): copy "hi_IN" * locales/ks_IN (LC_MONETARY): copy "hi_IN" * locales/ml_IN (LC_MONETARY): copy "hi_IN" * locales/mr_IN (LC_MONETARY): copy "hi_IN" * locales/or_IN (LC_MONETARY): copy "hi_IN" * locales/pa_IN (LC_MONETARY): copy "hi_IN" * locales/sa_IN (LC_MONETARY): copy "hi_IN" * locales/sd_IN (LC_MONETARY): copy "hi_IN" * locales/ta_IN (LC_MONETARY): copy "hi_IN" * locales/tcy_IN (LC_MONETARY): copy "hi_IN" * locales/te_IN (LC_MONETARY): copy "hi_IN" * locales/ur_IN (LC_MONETARY): copy "hi_IN"
* Add [BZ #21828] to ChangeLogMike FABIAN2017-07-261-0/+1
|
* Mention in NEWS that the Unicode 10.0.0 update causes user visible changesMike FABIAN2017-07-262-0/+8
|
* sv: Update translationSiddhesh Poyarekar2017-07-262-26/+30
|
* Fix inconsistency in country_isbn and missing prefixesAkhilesh Kumar2017-07-253-2/+8
| | | | | | [BZ #21797] * locales/et_EE (LC_ADDRESS): Fix country_isbn. * locales/hy_AM (LC_ADDRESS): Fix country_isbn.
* Add country_name to several localesMike FABIAN2017-07-2521-1/+68
| | | | | | | | | | | | | | | | | | | | | | | | * locales/an_ES (LC_ADDRESS): Add country_name. * locales/ayc_PE (LC_ADDRESS): Add country_name. * locales/be_BY@latin (LC_ADDRESS): Add country_name. * locales/dv_MV (LC_ADDRESS): Add country_name, country_ab2, and country_ab3 * locales/ia_FR (LC_ADDRESS): Add country_name. * locales/ik_CA (LC_ADDRESS): Add country_name. * locales/lij_IT (LC_ADDRESS): Add country_name. * locales/mi_NZ (LC_ADDRESS): Add country_name. * locales/nds_DE (LC_ADDRESS): Add country_name. * locales/nds_NL (LC_ADDRESS): Add country_name. * locales/oc_FR (LC_ADDRESS): Add country_name. * locales/sa_IN (LC_ADDRESS): Add country_name. * locales/sc_IT (LC_ADDRESS): Add country_name. * locales/sd_IN (LC_ADDRESS): Add country_name. * locales/tcy_IN (LC_ADDRESS): Add country_name. * locales/tg_TJ (LC_ADDRESS): Add country_name. * locales/tl_PH (LC_ADDRESS): Add country_name. * locales/tt_RU (LC_ADDRESS): Add country_name. * locales/wo_SN (LC_ADDRESS): Add country_name. * locales/zh_SG (LC_ADDRESS): Add country_name.
* Fix name_mrs for mag_INAkhilesh Kumar2017-07-252-4/+9
| | | | | [BZ #21825] * locales/mag_IN(LC_NAME): Fix name_mrs.
* Added yesstr/nostr for sa_INAkhilesh Kumar2017-07-252-0/+7
| | | | | [BZ #21823] * locales/sa_IN (LC_MESSAGES): Add yesstr,nostr
* Fix LC_TIME for mai_INAkhilesh Kumar2017-07-252-4/+83
| | | | | [BZ #21822] * locales/mai_IN (LC_TIME): Fix abday, day, mon etc...
* zic: Use PRIdMAX to print line numbersSiddhesh Poyarekar2017-07-253-107/+118
| | | | | | | | | The PRIdLINENUM abstraction is unnecessary and breaks libc.pot generation. * timezone.zic (PRIdLINENO): Remove. (verror): Use PRIdMAX. * po/libc.pot: Regenerate.
* tunables: Use direct syscall for access (BZ#21744)Adhemerval Zanella2017-07-246-22/+66
| | | | | | | | | | | | | | | | | | | | | | | The function maybe_enable_malloc_check, which is called by __tunables_init, calls __access_noerrno. It isn't problem when symbol is is in ld.so, which has a special version of __access_noerrno without stack protector. But when glibc is built with stack protector, maybe_enable_malloc_check in libc.a can't call the regular version of __access_noerrno with stack protector. This patch changes how Linux defines the __access_noerrno to be an inline call instead and thus preventing defining different build rules for ld/static and shared. H.J. Lu <hongjiu.lu@intel.com> Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #21744] * elf/dl-tunables.c: Include not-errno.h header. * include/unistd.h (__access_noerrno): Remove definition. * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise. * sysdeps/generic/not-errno.h: New file. * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
* Avoid accessing corrupted stack from __stack_chk_fail [BZ #21752]H.J. Lu2017-07-243-9/+27
| | | | | | | | | | | | | | | | | __libc_argv[0] points to address on stack and __libc_secure_getenv accesses environment variables which are on stack. We should avoid accessing stack when stack is corrupted. This patch also renames function argument in __fortify_fail_abort from do_backtrace to need_backtrace to avoid confusion with do_backtrace from enum __libc_message_action. [BZ #21752] * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down __libc_argv[0] if we aren't doing backtrace. Rename do_backtrace to need_backtrace. * sysdeps/posix/libc_fatal.c (__libc_message): Don't call __libc_secure_getenv if we aren't doing backtrace.
* Remove extra semicolons in struct pthread_mutex (bug 21804)Andreas Schwab2017-07-243-5/+17
|
* Added country_name in mai_INAkhilesh Kumar2017-07-242-1/+6
| | | | | [BZ #21821] * locales/mai_IN (LC_ADDRESS): Add country_name.
* Added country_isbn for Republic of KoreaAkhilesh Kumar2017-07-242-0/+6
| | | | | [BZ #21796] * locales/ko_KR (LC_ADDRESS): Add country_isbn.
* Added country_isbn for ItalyAkhilesh Kumar2017-07-247-0/+16
| | | | | | | | | | [BZ #21794] * locales/ca_IT (LC_ADDRESS): Add country_isbn. * locales/de_IT (LC_ADDRESS): Add country_isbn. * locales/fur_IT (LC_ADDRESS): Add country_isbn. * locales/it_IT (LC_ADDRESS): Add country_isbn. * locales/lij_IT (LC_ADDRESS): Add country_isbn. * locales/sc_IT (LC_ADDRESS): Add country_isbn.
* S390: fix sys/ptrace.h to make it includible again after asm/ptrace.hDmitry V. Levin2017-07-232-16/+59
| | | | | | | | | | | | | sys/ptrace.h on S390 used to be includible both before and after asm/ptrace.h, until commit b08a6a0dea63742313ed3d9577c1e2d83436b196 among other changes introduced PTRACE_SINGLEBLOCK enum constant which is also defined in asm/ptrace.h as a macro, making sys/ptrace.h fail to compile when included after asm/ptrace.h. * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H || _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER, and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
* [BZ 19170]John David Anglin2017-07-232-3/+18
| | | | Revise comment in sysdeps/hppa/dl-trampoline.S
* Correct nss/tst-nss-test5 configurationDJ Delorie2017-07-212-1/+5
| | | | | The configuration was cloned from test4, but test5 does not have data for a second module.
* Fix localedata test builds with latest GCCSteve Ellcey2017-07-212-0/+23
| | | | | | | | * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c, CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c, CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c, CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
* Fix nss/nss_test1.c compile with latest GCC.Steve Ellcey2017-07-212-1/+6
| | | | * nss/nss_test1.c (default_npwd_data): Fix definition.
* Fix cexpl when compiled with latest GCCSteve Ellcey2017-07-212-0/+6
| | | | | * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call math_force_eval.
* Fix misspelled yesexpr/day/abday/mon/abmon/date_fmt fields in sc_ITMassimeddu Cireddu2017-07-212-24/+38
| | | | | | | [BZ #12068] * locales/sc_IT (LC_MESSAGES): Fix yesexpr and add yesstr and nostr. * locales/sc_IT (LC_TIME): Fix mispelled day/abday/mon/abmon and fix date_fmt.
* localedata/locales/lg_UG: Fix some comments.Rafal Luzynski2017-07-212-10/+16
| | | | | | | | | | After the recent update of int_select the comment needed an update, too. While at this, all comments in LC_TELEPHONE were moved above their respective values because this looks better. Some minor typos fixed. [BZ #21783] * localedata/locales/lg_UG (LC_TELEPHONE): Move all comments above the values, correct some of them.
* Add/Fix country_isbn for FranceAkhilesh Kumar2017-07-216-2/+14
| | | | | | | | | [BZ #21795] * locales/br_FR (LC_ADDRESS): Add country_isbn. * locales/ca_FR (LC_ADDRESS): Add country_isbn. * locales/fr_FR (LC_ADDRESS): Add country_isbn. * locales/ia_FR (LC_ADDRESS): Fix country_isbn. * locales/oc_FR (LC_ADDRESS): Fix country_isbn.
* Add country_name and country_post, and country_isbn for pap_AW and pap_CWAkhilesh Kumar2017-07-213-5/+16
| | | | | | | | [BZ #21807] [BZ #21808] * locales/pap_AW (LC_ADDRESS): Add country_name and country_post. * locales/pap_CW (LC_ADDRESS): Add country_name, country_post, and country_isbn.
* Add int_select to many localesMike FABIAN2017-07-2053-15/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * locales/ar_JO (LC_TELEPHONE): Add int_select. * locales/ar_LB (LC_TELEPHONE): Add int_select. * locales/ar_MA (LC_TELEPHONE): Add int_select. * locales/ar_OM (LC_TELEPHONE): Add int_select. * locales/ber_DZ (LC_TELEPHONE): Add int_select. * locales/ber_MA (LC_TELEPHONE): Add int_select. * locales/ca_ES (LC_TELEPHONE): Add int_select. * locales/crh_UA (LC_TELEPHONE): Add int_select. * locales/de_CH (LC_TELEPHONE): Add int_select. * locales/de_LI (LC_TELEPHONE): Add int_select. * locales/de_LU (LC_TELEPHONE): Add int_select. * locales/dz_BT (LC_TELEPHONE): Add int_select. * locales/en_HK (LC_TELEPHONE): Add int_select. * locales/en_IE (LC_TELEPHONE): Add int_select. * locales/en_NZ (LC_TELEPHONE): Add int_select. * locales/en_PH (LC_TELEPHONE): Add int_select. * locales/en_SG (LC_TELEPHONE): Add int_select. * locales/es_ES (LC_TELEPHONE): Add int_select. * locales/es_PA (LC_TELEPHONE): Add int_select. * locales/es_US (LC_TELEPHONE): Add int_select. * locales/es_UY (LC_TELEPHONE): Add int_select. * locales/eu_ES (LC_TELEPHONE): Add int_select. * locales/he_IL (LC_TELEPHONE): Add int_select. * locales/id_ID (LC_TELEPHONE): Add int_select. * locales/it_CH (LC_TELEPHONE): Add int_select. * locales/it_CH (LC_TELEPHONE): Add int_select. * locales/it_IT (LC_TELEPHONE): Add int_select. * locales/kl_GL (LC_TELEPHONE): Add int_select. * locales/ko_KR (LC_TELEPHONE): Add int_select. * locales/kw_GB (LC_TELEPHONE): Add int_select. * locales/ky_KG (LC_TELEPHONE): Add int_select. * locales/lij_IT (LC_TELEPHONE): Add int_select. * locales/lt_LT (LC_TELEPHONE): Add int_select. * locales/lv_LV (LC_TELEPHONE): Add int_select. * locales/mi_NZ (LC_TELEPHONE): Add int_select. * locales/ms_MY (LC_TELEPHONE): Add int_select. * locales/mt_MT (LC_TELEPHONE): Add int_select. * locales/ne_NP (LC_TELEPHONE): Add int_select. * locales/niu_NU (LC_TELEPHONE): Add int_select. * locales/nl_NL (LC_TELEPHONE): Add int_select. * locales/pl_PL (LC_TELEPHONE): Add int_select. * locales/ro_RO (LC_TELEPHONE): Add int_select. * locales/ru_UA (LC_TELEPHONE): Add int_select. * locales/rw_RW (LC_TELEPHONE): Add int_select. * locales/sk_SK (LC_TELEPHONE): Add int_select. * locales/sl_SI (LC_TELEPHONE): Add int_select. * locales/so_SO (LC_TELEPHONE): Add int_select. * locales/the_NP (LC_TELEPHONE): Add int_select. * locales/tk_TM (LC_TELEPHONE): Add int_select. * locales/uz_UZ (LC_TELEPHONE): Add int_select. * locales/uz_UZ@cyrillic (LC_TELEPHONE): Add int_select. * locales/zh_SG (LC_TELEPHONE): Add int_select.
* Added int_select international_call_prefixesAkhilesh Kumar2017-07-2012-0/+36
| | | | | | | | | | | | | | | [BZ # 21801] * locales/es_NI (LC_TELEPHONE): Add int_select. * locales/es_PE (LC_TELEPHONE): Add int_select. * locales/es_PR (LC_TELEPHONE): Add int_select. * locales/es_PY (LC_TELEPHONE): Add int_select. * locales/es_VE (LC_TELEPHONE): Add int_select. * locales/fo_FO (LC_TELEPHONE): Add int_select. * locales/fr_CH (LC_TELEPHONE): Add int_select. * locales/fr_LU (LC_TELEPHONE): Add int_select. * locales/ga_IE (LC_TELEPHONE): Add int_select. * locales/gl_ES (LC_TELEPHONE): Add int_select. * locales/gv_GB (LC_TELEPHONE): Add int_select.
* Fix int_select international_call_prefixesAkhilesh Kumar2017-07-2012-8/+36
| | | | | | | | | | | | | | [BZ #21799] * locales/ar_KW (LC_TELEPHONE): Add int_select. * locales/ar_LY (LC_TELEPHONE): Add int_select. * locales/ar_QA (LC_TELEPHONE): Add int_select. * locales/ar_SA (LC_TELEPHONE): Add int_select. * locales/ar_SS (LC_TELEPHONE): Add int_select. * locales/ar_SY (LC_TELEPHONE): Add int_select. * locales/ar_TN (LC_TELEPHONE): Add int_select. * locales/ar_YE (LC_TELEPHONE): Add int_select. * locales/ca_AD (LC_TELEPHONE): Add int_select. * locales/es_MX (LC_TELEPHONE): Add int_select.
* Update sparc ulpsAdhemerval Zanella2017-07-192-80/+90
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* alpha: Fix clone exit syscall argument passing (BZ#21512)Adhemerval Zanella2017-07-192-0/+6
| | | | | | | | | | | | This patch fixes the argument passing for exit syscall after the clone function returns on hppa. This fixes misc/tst-clone2 on alpha-linux-gnu. Checked misc/tst-clone2 on alpha-linux-gnu. [BZ #21512] * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument passing to syscall exit.
* Fix cast-after-dereferenceDJ Delorie2017-07-192-1/+5
| | | | | Original code was dereferencing a char*, then casting the value to size_t. Should cast the pointer to size_t* then deference.
* Add country_name to iu_CA localeMike FABIAN2017-07-192-1/+6
| | | | * locales/iu_CA (LC_ADDRESS): Add country_name
* Fix country_post "Country Postal Abbreviations"Akhilesh Kumar2017-07-199-9/+20
| | | | | | | | | | | | [BZ #21788] * locales/cy_GB (LC_ADDRESS): Add country_post. * locales/hy_AM (LC_ADDRESS): Add country_post. * locales/iu_CA (LC_ADDRESS): Add country_post. * locales/nan_TW@latin (LC_ADDRESS): Add country_post. * locales/ps_AF (LC_ADDRESS): Add country_post. * locales/sr_RS (LC_ADDRESS): Fix country_post. * locales/sr_RS@latin (LC_ADDRESS): Fix country_post. * locales/zh_TW (LC_ADDRESS): Fix country_post.
* Fix consistency in country_isbn in various locales and add comment to ↵Akhilesh Kumar2017-07-1911-11/+25
| | | | | | | | | | | | | | | | country_num in nr_ZA [BZ #21784] * locales/bo_CN (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/fa_IR (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/nan_TW@latin (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/nr_ZA (LC_ADDRESS): Add country_num. * locales/sr_RS (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/sr_RS@latin (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/ug_CN (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/yue_HK (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/zh_CN (LC_ADDRESS): Fix inconsistency in country_isbn. * locales/zh_TW (LC_ADDRESS): Fix inconsistency in country_isbn.
* i386: Test memmove_chk and memset_chk only in libc.so [BZ #21741]H.J. Lu2017-07-192-0/+11
| | | | | | | | | | Since there are no multiarch versions of memmove_chk and memset_chk, test multiarch versions of memmove_chk and memset_chk only in libc.so. [BZ #21741] * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only in libc.so.
* Don't add stack_chk_fail_local.o to libc.a [BZ #21740]H.J. Lu2017-07-192-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 524a8ef2ad76af8ac049293d993a1856b0d888fb Author: Nick Alcock <nick.alcock@oracle.com> Date: Mon Dec 26 10:08:57 2016 +0100 PLT avoidance for __stack_chk_fail [BZ #7065] Add a hidden __stack_chk_fail_local alias to libc.so, and make sure that on targets which use __stack_chk_fail, this does not introduce a local PLT reference into libc.so. which unconditionally added strong_alias (__stack_chk_fail, __stack_chk_fail_local) defines __stack_chk_fail_local as an alias of __stack_chk_fail in libc.a. There is no need to add stack_chk_fail_local.o to libc.a. We only need to add stack_chk_fail_local.oS to libc_nonshared.a. Tested on x86-64: [hjl@gnu-skl-1 build-x86_64-linux]$ nm libc.a | grep __stack_chk_fail 0000000000000000 T __stack_chk_fail 0000000000000000 T __stack_chk_fail_local [hjl@gnu-skl-1 build-x86_64-linux]$ nm libc_nonshared.a | grep __stack_chk_fail_local 0000000000000000 T __stack_chk_fail_local [hjl@gnu-skl-1 build-x86_64-linux]$ [BZ #21740] * debug/Makefile (elide-routines.o): New.
* [AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12Szabolcs Nagy2017-07-193-4/+13
| | | | | | | | | Follow up to commit 512d245bc30cca893db6979f42f058e734f345c3. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: (_dl_aarch64_cap_flags): Update. * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
* Fix or add int_select international_call_prefixesAkhilesh Kumar2017-07-1910-11/+30
| | | | | | | | | | | | | [BZ #21783 ] * locales/ar_AE (LC_TELEPHONE): Add int_select. * locales/ar_BH (LC_TELEPHONE): Fix int_select. * locales/ar_IQ (LC_TELEPHONE): Add int_select. * locales/es_CU (LC_TELEPHONE): Add int_select. * locales/ja_JP (LC_TELEPHONE): Add int_select. * locales/lg_UG (LC_TELEPHONE): Fix int_select. * locales/mn_MN (LC_TELEPHONE): Fix int_select. * locales/om_KE (LC_TELEPHONE): Add int_select. * locales/sm_WS (LC_TELEPHONE): Fix int_select.
* [AArch64] Fix out of bound array access regressionSzabolcs Nagy2017-07-182-30/+13
| | | | | | Partially revert ea01a4da219011f4a4db97eef3c5bfc2f6e8fc6b "aarch64: Add hwcap string routines" because _dl_procinfo cannot be future proof and avoid oob access in _dl_hwcap_string.
* powerpc: Fix float128 IFUNC relocations [BZ #21707]Tulio Magno Quites Machado Filho2017-07-179-4/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch proposed by Peter Bergner [1] to libgcc in order to fix [BZ #21707] adds a dependency on a symbol provided by the loader, forcing the loader to be linked to tests after libgcc was linked. It also requires to read the thread pointer during IRELA relocations. Tested on powerpc, powerpc64, powerpc64le, s390x and x86_64. [1] https://sourceware.org/ml/libc-alpha/2017-06/msg01383.html [BZ #21707] * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A} relocations before or after initializing the TCB on statically linked executables. That's a per-architecture definition. * elf/rtld.c (dl_main): Add a comment about thread-local variables initialization. * sysdeps/generic/libc-start.h: New file. Define ARCH_APPLY_IREL and ARCH_SETUP_IREL. * sysdeps/powerpc/Makefile: [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add tst-tlsifunc-static. [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes] (tests-internal): Add tst-tlsifunc. * sysdeps/powerpc/tst-tlsifunc.c: New file. * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise. * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New variable. [$(subdir) = math] (test-float128% test-ifloat128%): Force linking to the loader after linking to libgcc. [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2) (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom) (tst-strfrom-locale strfrom-skeleton): Likewise. * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file. Define ARCH_APPLY_IREL and ARCH_SETUP_IREL.
* Extend NSS test suiteDJ Delorie2017-07-1712-92/+1201
| | | | | | | | | | | | | | | * nss/nss_test.h: New. * nss/nss_test1.h: Rewrite to use test-provided data. Add group tests. Parameterize to allow multiple instances. * nss/nss_test2.h: New. Second instance. * nss/nss_test.ver: New. * nss/nss_test1.c: Update to use new framework. * nss/nss_test2.c: New. * nss/nss_test3.c: New. * nss/nss_test4.c: New. * nss/nss_test5.c: New. * nss/Makefile: Build new tests. * shlib-versions: Add libnss_test2.
* hppa: Fix clone exit syscall argument passing (BZ#21512)Adhemerval Zanella2017-07-172-1/+7
| | | | | | | | | | | | This patch fixes the argument passing for exit syscall after the clone function returns on hppa. This fixes misc/tst-clone2 on hppa-linux-gnu. Checked misc/tst-clone2 on hppa-linux-gnu. [BZ #21512] * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument passing to syscall exit.