aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-02Compile tst-prelink.c without PIE [BZ #21815]hjl/pr21815/masterH.J. Lu
tst-prelink.c checks for conflict with GLOB_DAT relocation against stdout. On i386, there is no GLOB_DAT relocation against stdout with PIE. Compile tst-prelink.c without PIE to generate GLOB_DAT relocation. [BZ #21815] * elf/Makefile (CFLAGS-tst-prelink.c): New. (LDFLAGS-tst-prelink): Likewise.
2017-08-02Open master for developmentglibc-2.26.9000Siddhesh Poyarekar
2017-08-02Update for 2.26 releaseglibc-2.26Siddhesh Poyarekar
2017-08-02Update contributors and latest gcc and binutils versionsSiddhesh Poyarekar
2017-08-02Fix up ChangeLog formattingSiddhesh Poyarekar
2017-08-02Add list of bugs fixed in 2.26Siddhesh Poyarekar
2017-08-02Update translationsSiddhesh Poyarekar
2017-08-02Update NEWSSiddhesh Poyarekar
2017-07-31Update translationsSiddhesh Poyarekar
2017-07-29mutex: Fix robust mutex lock acquire (Bug 21778)Carlos O'Donell
65810f0ef05e8c9e333f17a44e77808b163ca298 fixed a robust mutex bug but introduced BZ 21778: if the CAS used to try to acquire a lock fails, the expected value is not updated, which breaks other cases in the loce acquisition loop. The fix is to simply update the expected value with the value returned by the CAS, which ensures that behavior is as if the first case with the CAS never happened (if the CAS fails). This is a regression introduced in the last release. Tested on x86_64, i686, ppc64, ppc64le, s390x, aarch64, armv7hl.
2017-07-28microblaze: Resolve non-relocatable branch in pt-vfork.S (BZ#21779)Nathan Rossi
The relative branch directly to __libc_vfork results in an relocation that cannot be resolved. Specifically a R_MICROBLAZE_64_PCREL relocation is created for this branch, however for MicroBlaze R_MICROBLAZE_64_PCREL type relocations symbols are not resolved. Additionally due to the branch being located in the .text section the instruction cannot be rewritten as the section is not writable, and causes a segfault at runtime when loading libpthread. To resolve this issue, ensure the branch is done using PLT. This removes the need to modify the instruction and trades the R_MICROBLAZE_64_PCREL for a more common R_MICROBLAZE_JUMP via the PLT. [BZ #21779] * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
2017-07-28Update Microblaze libm-test-ulpsNathan Rossi
* sysdeps/microblaze/libm-test-ulps: Update.
2017-07-28Update Nios II ULPs file.Chung-Lin Tang
2017-07-28rwlock: Fix explicit hand-over (bug 21298)Carlos O'Donell
Without this fix, the rwlock can fail to execute the explicit hand-over in certain cases (e.g., empty critical sections that switch quickly between read and write phases). This can then lead to errors in how __wrphase_futex is accessed, which in turn can lead to deadlocks.
2017-07-27Update Alpha libm-test-ulpsAdhemerval Zanella
* sysdeps/alpha/fpu/libm-test-ulps: Update.
2017-07-27Fix country name in title of mai_NP localeAkhilesh Kumar
[BZ #21848] * locales/mai_NP (LC_IDENTIFICATION): Fix country name in title.
2017-07-27Improve country_name in be_BY@latinIhar Hrachyshka
2017-07-27Minor improvements to new az_IR localeMike FABIAN
* locales/az_IR (LC_MESSAGES): Improve yesexpr and noexpr. * locales/az_IR (LC_ADDRESS): Fix typo in comment and use the individual iso-639-3 code for South Azerbaijani "azb" in lang_term. * locales/az_IR (LC_NAME): Improve readability of name_fmt in source.
2017-07-27Add new az_IR localeMousa Moradi
[BZ #14172] * locales/az_IR: New file.
2017-07-27Fix wrong monetary system used in ta_LK localeAkhilesh Kumar
[BZ #21839] * locales/ta_LK (LC_MONETARY): copy "si_LK"
2017-07-27manual: Refactor documentation of CHAR_BIT.Rical Jasan
This single-@item @table is better defined with @deftypevr, since the CHAR_BIT macro has @standards (being declared in a header), and @items in @tables are not considered annotatable. Using @deftypevr automatically includes the macro in the Variable and Constant Macro Index and ensures its inclusion the Summary of Library Facilities. @deftypevr is used to record the type of the macro so that it also appears in the Summary. The description is updated to mention a later POSIX requirement that this macro have the value 8. * manual/lang.texi (CHAR_BIT): Convert from an @table to an @deftypevr. Change standard from ISO to C90. Mention the POSIX.1-2001 requirement of the value 8.
2017-07-27manual: Complete @standards in creature.texi.Rical Jasan
* manual/creature.texi (_REENTRANT): Annotate as obsolete. (_THREAD_SAFE): Likewise.
2017-07-27Fix country_name in nds_NLMike FABIAN
2017-07-27Fix Latin characters and month sequence in mai_INAkhilesh Kumar
Fixes [BZ #21822] with commit id 832f8e048773da9aac99cd1ee57f2ccbd40860f6 [BZ #21844] * locales/mai_IN (LC_TIME): Fix Latin characters and month sequence.
2017-07-26Revert "Remove redundant data for LC_MONETARY for Indian locales"Mike FABIAN
This reverts commit 480af555f35201a646531cfd7c68a58905edba90. Revert: 2017-07-26 Akhilesh Kumar <akhilesh.k@samsung.com> Remove redundant data for LC_MONETARY [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"
2017-07-26Remove erroneous spaces from some strings in locale filesMike FABIAN
* locales/hif_FJ (LC_TIME): Remove erroneous spaces from d_t_fmt. * locales/km_KH (LC_TIME): Remove erroneous space from d_t_fmt. * locales/sm_WS (LC_TIME): Remove erroneous spaces from day.
2017-07-26Remove erroneous tabs from some strings in locale filesMike FABIAN
* locales/et_EE (LC_ADDRESS): Remove tabs in postal_fmt. * locales/hif_FJ (LC_TIME): Remove tabs in t_fmt_ampm. * locales/hif_FJ (LC_NAME): Remove tabs in name_fmt.
2017-07-26Fix inappropriate characters in LC_IDENTIFICATION in several localesMike FABIAN
Found using the script check-localedef.py by Zack Weinberg. * locales/agr_PE (LC_IDENTIFICATION): Fix inappropriate character. * locales/an_ES (LC_IDENTIFICATION): Fix inappropriate character. * locales/gv_GB (LC_IDENTIFICATION): Fix inappropriate character. * locales/kw_GB (LC_IDENTIFICATION): Fix inappropriate character. * locales/ln_CD (LC_IDENTIFICATION): Fix inappropriate character. * locales/nb_NO (LC_IDENTIFICATION): Fix inappropriate character. * locales/pap_CW (LC_IDENTIFICATION): Fix inappropriate character. * locales/se_NO (LC_IDENTIFICATION): Fix inappropriate character. * locales/sgs_LT (LC_IDENTIFICATION): Fix inappropriate character.
2017-07-26Fix inappropriate escape sequences in LC_IDENTIFICATION in several localesMike FABIAN
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.
2017-07-26Indian scripts: More fixes after the recent import.Rafal Luzynski
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.
2017-07-26Update translationsSiddhesh Poyarekar
* 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.
2017-07-26Use POSIX Portable Character Set in the new mai_NP locale source file ↵Mike FABIAN
instead of <Uxxxx> * localedata/locales/mai_NP: Use POSIX Portable Character Set.
2017-07-26Added New Locale mai_NPAkhilesh Kumar
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.
2017-07-26Removed redundant data for the_NP localeAkhilesh Kumar
[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"
2017-07-26Remove redundant data for LC_MONETARY in sd_IN@devanagariMike FABIAN
2017-07-26Remove redundant data for LC_MONETARY for Indian localesAkhilesh Kumar
[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"
2017-07-26Add [BZ #21828] to ChangeLogMike FABIAN
2017-07-26Mention in NEWS that the Unicode 10.0.0 update causes user visible changesMike FABIAN
2017-07-26sv: Update translationSiddhesh Poyarekar
2017-07-25Fix inconsistency in country_isbn and missing prefixesAkhilesh Kumar
[BZ #21797] * locales/et_EE (LC_ADDRESS): Fix country_isbn. * locales/hy_AM (LC_ADDRESS): Fix country_isbn.
2017-07-25Add country_name to several localesMike FABIAN
* 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.
2017-07-25Fix name_mrs for mag_INAkhilesh Kumar
[BZ #21825] * locales/mag_IN(LC_NAME): Fix name_mrs.
2017-07-25Added yesstr/nostr for sa_INAkhilesh Kumar
[BZ #21823] * locales/sa_IN (LC_MESSAGES): Add yesstr,nostr
2017-07-25Fix LC_TIME for mai_INAkhilesh Kumar
[BZ #21822] * locales/mai_IN (LC_TIME): Fix abday, day, mon etc...
2017-07-25zic: Use PRIdMAX to print line numbersSiddhesh Poyarekar
The PRIdLINENUM abstraction is unnecessary and breaks libc.pot generation. * timezone.zic (PRIdLINENO): Remove. (verror): Use PRIdMAX. * po/libc.pot: Regenerate.
2017-07-24tunables: Use direct syscall for access (BZ#21744)Adhemerval Zanella
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.
2017-07-24Avoid accessing corrupted stack from __stack_chk_fail [BZ #21752]H.J. Lu
__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.
2017-07-24Remove extra semicolons in struct pthread_mutex (bug 21804)Andreas Schwab
2017-07-24Added country_name in mai_INAkhilesh Kumar
[BZ #21821] * locales/mai_IN (LC_ADDRESS): Add country_name.
2017-07-24Added country_isbn for Republic of KoreaAkhilesh Kumar
[BZ #21796] * locales/ko_KR (LC_ADDRESS): Add country_isbn.