summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Revert “Fix yesexpr in en_DK locale”Mike FABIAN2017-08-032-1/+21
| | | | | | | | | | This reverts commit 8f75515080ee099030547ba5bcae59e800a2cc08 Revert “Fix yesexpr in en_DK locale”. * locales/en_DK (LC_MESSAGES): Restore original yesexpr, noexpr, yesstr, nostr. Convert them to ASCII and add a comment why we want to have them like this.
* getaddrinfo: Release resolver context on error in gethosts [BZ #21885]Florian Weimer2017-08-032-0/+8
|
* drop redundant ([eE][sS])? and [oO]? from yesexpr and noexpr in km_KH localeMike FABIAN2017-08-032-2/+7
| | | | | * locales/km_KH (LC_MESSAGES): drop redundant ([eE][sS])? and [oO]? from yesexpr and noexpr
* Drop redundant .* from yesexpr and noexpr in agr_PE localeMike FABIAN2017-08-032-8/+8
| | | | | | | And make the expressions more readable by using the POSIX portable character set instead of Unicode code points. * locales/agr_PE (LC_MESSAGES): drop .* from yesexpr and noexpr
* Added new Locale bho_NPAkhilesh Kumar2017-08-033-0/+99
| | | | | | | | | | | | Bhojpuri is one of the most common languages in Nepal and India. http://codefornepal.org/en/2014/02/top-10-languages-spoken-as-mother-tongues-in-nepal/ https://en.wikipedia.org/wiki/Bhojpuri_language Added "bho_NP" locale and Reference is taken form "bho_IN". [BZ #21845] * locales/bho_NP: New file, Bhojpuri locale for Nepal. * SUPPORTED: Add bho_NP/UTF-8
* Fix yesexpr in en_DK localeAkhilesh Kumar2017-08-032-4/+6
| | | | | [BZ #21867] * locales/en_DK (LC_MESSAGES): Fix yesexpr
* Fix abday in zh_SGAkhilesh Kumar2017-08-032-4/+6
| | | | | | | Make it the same as in zh_CN and zh_TW which agrees with "narrow" in CLDR. [BZ #21853] * locales/zh_SG (LC_TIME): Fix abday
* tst-tlsopt-powerpc as a shared libAlan Modra2017-08-035-48/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the __tls_get_addr_opt test run as a shared library, and so actually test that DTPMOD64/DTPREL64 pairs are processed by ld.so to support the __tls_get_adfr_opt call stub fast return. After a 2017-01-24 patch (binutils f0158f4416) ld.bfd no longer emitted unnecessary dynamic relocations against local thread variables, instead setting up the __tls_index GOT entries for the call stub fast return. This meant tst-tlsopt-powerpc passed but did not check ld.so relocation support. After a 2017-07-16 patch (binutils 676ee2b5fa) ld.bfd no longer set up the __tls_index GOT entries for the call stub fast return, and tst-tlsopt-powerpc failed. Compiling mod-tlsopt-powerpc.c with -DSHARED exposed a bug in powerpc64/tls-macros.h, which defines a __TLS_GET_ADDR macro that clashes with one defined in dl-tls.h. The tls-macros.h version is only used in that file, so delete it and expand. * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from tst-tlsopt-powerpc.c with function name change and no test harness. * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test. Call tls_get_addr_opt_test. * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define. (modules-names): Add mod-tlsopt-powerpc. (mod-tlsopt-powerpc.so-no-z-defs): Define. (tst-tlsopt-powerpc): Depend on .so. * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't define. Expand use in TLS_GD and TLS_LD.
* Add missing include for pthread_setcancelstateSamuel Thibault2017-08-032-0/+2
| | | | * sysdeps/posix/shm_open.c: Include <pthread.h>.
* [hurd]: Add __libc_init_secure stubSamuel Thibault2017-08-022-0/+12
| | | | | | | | csu/libc-start.c now insists on calling __libc_init_secure, while the Hurd port already implements it "very early" in dl-sysdep.c and init-first.c * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define function.
* Fix tgmath.h for __int128 (bug 21686).Joseph Myers2017-08-023-13/+24
| | | | | | | | | | | | | | | | | | | | | | | | When a tgmath.h macro is passed a double argument and an argument of type __int128, it generates a call to a long double function (although the result still gets converted to type double). __int128 is similar enough to integer types that it should be handled consistently like them, so always like double for these macros rather than sometimes like double and sometimes like long double. This patch fixes the logic accordingly and makes gen-tgmath-tests.py generate tests for __int128. Tested for x86_64 and x86. [BZ #21686] * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before comparing size with that of double. (__TGMATH_BINARY_REAL_STD_ONLY): Likewise. (__TGMATH_BINARY_REAL_RET_ONLY): Likewise. (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. (__TGMATH_TERNARY_REAL_ONLY): Likewise. (__TGMATH_BINARY_REAL_IMAG): Likewise. * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and unsigned __int128 types.
* Remove CFLAG settings that turn off warning (no longer needed).Steve Ellcey2017-08-022-16/+8
| | | | | | | | | | 2017-08-02 Steve Ellcey <sellcey@cavium.com> * 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): Remove.
* x86-64: Check PIC instead of SHARED in start.SH.J. Lu2017-08-022-1/+5
| | | | | | | Since start.o may be compiled as PIC, we should check PIC instead of SHARED. * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
* i386: Check PIC to enable PIC setups in multiarch functionsH.J. Lu2017-08-029-34/+46
| | | | | | | | | | | | | | Check PIC, instead of SHARED, to enable PIC setups. * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead of SHARED. * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise. * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise. * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise. * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise. * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
* Fix tgmath.h for bit-fields (bug 21685).Joseph Myers2017-08-023-60/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tgmath.h macros produce errors for bit-field arguments, because they apply sizeof and typeof to the arguments. This patch fixes them to use unary + systematically before using sizeof or typeof on arguments that might be bit-fields (note that __real__ of a bit-field is still a bit-field for this purpose, since it's an lvalue). gen-tgmath-tests.py is extended to add tests for this case. Tested for x86_64. [BZ #21685] * math/tgmath.h (__tgmath_real_type): Use unary + on potentially bit-field expressions passed to sizeof or typeof. [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (__TGMATH_F128): Likewise. [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (__TGMATH_CF128): Likewise. (__TGMATH_UNARY_REAL_ONLY): Likewise. (__TGMATH_UNARY_REAL_RET_ONLY): Likewise. (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise. (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise. (__TGMATH_BINARY_REAL_ONLY): Likewise. (__TGMATH_BINARY_REAL_STD_ONLY): Likewise. (__TGMATH_BINARY_REAL_RET_ONLY): Likewise. (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise. (__TGMATH_TERNARY_REAL_ONLY): Likewise. (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise. (__TGMATH_UNARY_REAL_IMAG): Likewise. (__TGMATH_UNARY_IMAG): Likewise. (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise. (__TGMATH_BINARY_REAL_IMAG): Likewise. * math/gen-tgmath-tests.py (Type.init_types): Create bit_field type. (define_vars_for_type): Handle bit_field type specially. (Tests.__init__): Declare structure with bit-field element.
* i386: Don't define multiarch __memmove_chk in libc.a [BZ #21791]H.J. Lu2017-08-024-3/+12
| | | | | | | | | | | | | There is no need to define multiarch __memmove_chk in libc.a since they aren't used at all. [BZ #21791] * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S (MEMCPY_CHK): Define only if SHARED is defined. * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK): Likewise. * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK): Likewise.
* Rotate ChangeLog correctlySiddhesh Poyarekar2017-08-0219-232770/+232772
| | | | | | I incorrectly assumed that the ChangeLog numbers (.1, .2, etc.) are in order. They're not and the latest non-current ChangeLog is the one with the highest number. Fixed.
* Rotate ChangeLogSiddhesh Poyarekar2017-08-0219-236092/+236092
|
* Open master for development glibc-2.26.9000Siddhesh Poyarekar2017-08-023-2/+30
|
* Update for 2.26 release glibc-2.26Siddhesh Poyarekar2017-08-023-3/+7
|
* Update contributors and latest gcc and binutils versionsSiddhesh Poyarekar2017-08-024-4/+37
|
* Fix up ChangeLog formattingSiddhesh Poyarekar2017-08-021-9/+9
|
* Add list of bugs fixed in 2.26Siddhesh Poyarekar2017-08-022-2/+227
|
* Update translationsSiddhesh Poyarekar2017-08-022-574/+616
|
* Update NEWSSiddhesh Poyarekar2017-08-022-1/+15
|
* Update translationsSiddhesh Poyarekar2017-07-315-2742/+2792
|
* mutex: Fix robust mutex lock acquire (Bug 21778)Carlos O'Donell2017-07-296-22/+73
| | | | | | | | | | | | | 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.
* microblaze: Resolve non-relocatable branch in pt-vfork.S (BZ#21779)Nathan Rossi2017-07-282-1/+4
| | | | | | | | | | | | | | | | | 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.
* Update Microblaze libm-test-ulpsNathan Rossi2017-07-282-50/+119
| | | | * sysdeps/microblaze/libm-test-ulps: Update.
* Update Nios II ULPs file.Chung-Lin Tang2017-07-282-8/+16
|
* rwlock: Fix explicit hand-over (bug 21298)Carlos O'Donell2017-07-2812-239/+555
| | | | | | | 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.
* Update Alpha libm-test-ulpsAdhemerval Zanella2017-07-272-80/+92
| | | | * sysdeps/alpha/fpu/libm-test-ulps: Update.
* Fix country name in title of mai_NP localeAkhilesh Kumar2017-07-272-1/+6
| | | | | [BZ #21848] * locales/mai_NP (LC_IDENTIFICATION): Fix country name in title.
* Improve country_name in be_BY@latinIhar Hrachyshka2017-07-272-1/+5
|
* Minor improvements to new az_IR localeMike FABIAN2017-07-274-8/+23
| | | | | | | | * 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.
* Add new az_IR localeMousa Moradi2017-07-273-0/+297
| | | | | [BZ #14172] * locales/az_IR: New file.
* Fix wrong monetary system used in ta_LK localeAkhilesh Kumar2017-07-272-1/+6
| | | | | [BZ #21839] * locales/ta_LK (LC_MONETARY): copy "si_LK"
* manual: Refactor documentation of CHAR_BIT.Rical Jasan2017-07-272-6/+11
| | | | | | | | | | | | | | | | | 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.
* manual: Complete @standards in creature.texi.Rical Jasan2017-07-272-1/+6
| | | | | * manual/creature.texi (_REENTRANT): Annotate as obsolete. (_THREAD_SAFE): Likewise.
* Fix country_name in nds_NLMike FABIAN2017-07-272-2/+6
|
* Fix Latin characters and month sequence in mai_INAkhilesh Kumar2017-07-272-6/+11
| | | | | | | Fixes [BZ #21822] with commit id 832f8e048773da9aac99cd1ee57f2ccbd40860f6 [BZ #21844] * locales/mai_IN (LC_TIME): Fix Latin characters and month sequence.
* Revert "Remove redundant data for LC_MONETARY for Indian locales"Mike FABIAN2017-07-2620-21/+365
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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"
* Remove erroneous spaces from some strings in locale filesMike FABIAN2017-07-264-9/+10
| | | | | | * 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.
* Remove erroneous tabs from some strings in locale filesMike FABIAN2017-07-263-11/+9
| | | | | | * 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.
* Fix inappropriate characters in LC_IDENTIFICATION in several localesMike FABIAN2017-07-2610-11/+23
| | | | | | | | | | | | | | 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.
* 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.