]> sourceware.org Git - glibc.git/log
glibc.git
7 years agoMinor improvements to new az_IR locale
Mike FABIAN [Thu, 27 Jul 2017 09:04:38 +0000 (11:04 +0200)]
Minor improvements to new az_IR locale

* 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.

7 years agoAdd new az_IR locale
Mousa Moradi [Thu, 27 Jul 2017 08:41:21 +0000 (10:41 +0200)]
Add new az_IR locale

[BZ #14172]
* locales/az_IR: New file.

7 years agoFix wrong monetary system used in ta_LK locale
Akhilesh Kumar [Thu, 27 Jul 2017 08:10:57 +0000 (10:10 +0200)]
Fix wrong monetary system used in ta_LK locale

[BZ #21839]
* locales/ta_LK (LC_MONETARY): copy "si_LK"

7 years agomanual: Refactor documentation of CHAR_BIT.
Rical Jasan [Tue, 20 Jun 2017 13:39:27 +0000 (06:39 -0700)]
manual: Refactor documentation of CHAR_BIT.

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.

7 years agomanual: Complete @standards in creature.texi.
Rical Jasan [Thu, 27 Jul 2017 10:16:46 +0000 (03:16 -0700)]
manual: Complete @standards in creature.texi.

* manual/creature.texi (_REENTRANT): Annotate as obsolete.
(_THREAD_SAFE): Likewise.

7 years agoFix country_name in nds_NL
Mike FABIAN [Thu, 27 Jul 2017 07:33:56 +0000 (09:33 +0200)]
Fix country_name in nds_NL

7 years agoFix Latin characters and month sequence in mai_IN
Akhilesh Kumar [Thu, 27 Jul 2017 03:18:04 +0000 (08:48 +0530)]
Fix Latin characters and month sequence in mai_IN

Fixes [BZ #21822] with commit id 832f8e048773da9aac99cd1ee57f2ccbd40860f6

[BZ #21844]
* locales/mai_IN (LC_TIME): Fix Latin characters and month sequence.

7 years agoRevert "Remove redundant data for LC_MONETARY for Indian locales"
Mike FABIAN [Wed, 26 Jul 2017 18:53:38 +0000 (20:53 +0200)]
Revert "Remove redundant data for LC_MONETARY for Indian locales"

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"

7 years agoRemove erroneous spaces from some strings in locale files
Mike FABIAN [Wed, 26 Jul 2017 14:46:26 +0000 (16:46 +0200)]
Remove erroneous spaces from some strings in locale files

* 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.

7 years agoRemove erroneous tabs from some strings in locale files
Mike FABIAN [Wed, 26 Jul 2017 12:47:18 +0000 (14:47 +0200)]
Remove erroneous tabs from some strings in locale files

* 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.

7 years agoFix inappropriate characters in LC_IDENTIFICATION in several locales
Mike FABIAN [Wed, 26 Jul 2017 12:30:08 +0000 (14:30 +0200)]
Fix inappropriate characters in LC_IDENTIFICATION in several locales

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.

7 years agoFix inappropriate escape sequences in LC_IDENTIFICATION in several locales
Mike FABIAN [Wed, 26 Jul 2017 11:37:17 +0000 (13:37 +0200)]
Fix inappropriate escape sequences in LC_IDENTIFICATION in several locales

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.

7 years agoIndian scripts: More fixes after the recent import.
Rafal Luzynski [Tue, 25 Jul 2017 23:44:02 +0000 (01:44 +0200)]
Indian scripts: More fixes after the recent import.

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.

7 years agoUpdate translations
Siddhesh Poyarekar [Wed, 26 Jul 2017 12:57:41 +0000 (18:27 +0530)]
Update translations

       * 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.

7 years agoUse POSIX Portable Character Set in the new mai_NP locale source file instead of...
Mike FABIAN [Wed, 26 Jul 2017 10:24:07 +0000 (12:24 +0200)]
Use POSIX Portable Character Set in the new  mai_NP locale source file instead of <Uxxxx>

* localedata/locales/mai_NP: Use POSIX Portable Character Set.

7 years agoAdded New Locale mai_NP
Akhilesh Kumar [Wed, 26 Jul 2017 03:51:32 +0000 (09:21 +0530)]
Added New Locale mai_NP

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.

7 years agoRemoved redundant data for the_NP locale
Akhilesh Kumar [Wed, 26 Jul 2017 08:13:59 +0000 (13:43 +0530)]
Removed redundant data for the_NP locale

[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"

7 years agoRemove redundant data for LC_MONETARY in sd_IN@devanagari
Mike FABIAN [Wed, 26 Jul 2017 09:09:13 +0000 (11:09 +0200)]
Remove redundant data for LC_MONETARY in sd_IN@devanagari

7 years agoRemove redundant data for LC_MONETARY for Indian locales
Akhilesh Kumar [Wed, 26 Jul 2017 07:49:14 +0000 (13:19 +0530)]
Remove redundant data for LC_MONETARY for Indian locales

[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"

7 years agoAdd [BZ #21828] to ChangeLog
Mike FABIAN [Wed, 26 Jul 2017 06:20:20 +0000 (08:20 +0200)]
Add [BZ #21828] to ChangeLog

7 years agoMention in NEWS that the Unicode 10.0.0 update causes user visible changes
Mike FABIAN [Wed, 26 Jul 2017 06:15:01 +0000 (08:15 +0200)]
Mention in NEWS that the Unicode 10.0.0 update causes user visible changes

7 years agosv: Update translation
Siddhesh Poyarekar [Wed, 26 Jul 2017 01:39:50 +0000 (07:09 +0530)]
sv: Update translation

7 years agoFix inconsistency in country_isbn and missing prefixes
Akhilesh Kumar [Thu, 20 Jul 2017 07:05:29 +0000 (12:35 +0530)]
Fix inconsistency in country_isbn and missing prefixes

[BZ #21797]
* locales/et_EE (LC_ADDRESS): Fix country_isbn.
* locales/hy_AM (LC_ADDRESS): Fix country_isbn.

7 years agoAdd country_name to several locales
Mike FABIAN [Mon, 24 Jul 2017 12:52:09 +0000 (14:52 +0200)]
Add country_name to several locales

* 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.

7 years agoFix name_mrs for mag_IN
Akhilesh Kumar [Mon, 24 Jul 2017 12:10:26 +0000 (17:40 +0530)]
Fix name_mrs for mag_IN

[BZ #21825]
* locales/mag_IN(LC_NAME): Fix name_mrs.

7 years agoAdded yesstr/nostr for sa_IN
Akhilesh Kumar [Mon, 24 Jul 2017 07:13:47 +0000 (12:43 +0530)]
Added yesstr/nostr for sa_IN

[BZ #21823]
* locales/sa_IN (LC_MESSAGES): Add yesstr,nostr

7 years agoFix LC_TIME for mai_IN
Akhilesh Kumar [Mon, 24 Jul 2017 06:56:11 +0000 (12:26 +0530)]
Fix LC_TIME for mai_IN

[BZ #21822]
* locales/mai_IN (LC_TIME): Fix abday, day, mon etc...

7 years agozic: Use PRIdMAX to print line numbers
Siddhesh Poyarekar [Tue, 25 Jul 2017 07:04:14 +0000 (12:34 +0530)]
zic: Use PRIdMAX to print line numbers

The PRIdLINENUM abstraction is unnecessary and breaks libc.pot
generation.

* timezone.zic (PRIdLINENO): Remove.
(verror): Use PRIdMAX.
* po/libc.pot: Regenerate.

7 years agotunables: Use direct syscall for access (BZ#21744)
Adhemerval Zanella [Mon, 17 Jul 2017 21:11:12 +0000 (18:11 -0300)]
tunables: Use direct syscall for access (BZ#21744)

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.

7 years agoAvoid accessing corrupted stack from __stack_chk_fail [BZ #21752]
H.J. Lu [Mon, 24 Jul 2017 13:06:08 +0000 (06:06 -0700)]
Avoid accessing corrupted stack from __stack_chk_fail [BZ #21752]

__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.

7 years agoRemove extra semicolons in struct pthread_mutex (bug 21804)
Andreas Schwab [Mon, 24 Jul 2017 09:06:19 +0000 (11:06 +0200)]
Remove extra semicolons in struct pthread_mutex (bug 21804)

7 years agoAdded country_name in mai_IN
Akhilesh Kumar [Mon, 24 Jul 2017 03:47:37 +0000 (09:17 +0530)]
Added country_name in mai_IN

[BZ #21821]
* locales/mai_IN (LC_ADDRESS): Add country_name.

7 years agoAdded country_isbn for Republic of Korea
Akhilesh Kumar [Fri, 21 Jul 2017 09:27:01 +0000 (14:57 +0530)]
Added country_isbn for Republic of Korea

[BZ #21796]
* locales/ko_KR (LC_ADDRESS): Add country_isbn.

7 years agoAdded country_isbn for Italy
Akhilesh Kumar [Fri, 21 Jul 2017 09:16:42 +0000 (14:46 +0530)]
Added country_isbn for Italy

[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.

7 years agoS390: fix sys/ptrace.h to make it includible again after asm/ptrace.h
Dmitry V. Levin [Sun, 23 Jul 2017 23:22:53 +0000 (23:22 +0000)]
S390: fix sys/ptrace.h to make it includible again after asm/ptrace.h

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.

7 years ago[BZ 19170]
John David Anglin [Sun, 23 Jul 2017 16:50:44 +0000 (12:50 -0400)]
[BZ 19170]
Revise comment in sysdeps/hppa/dl-trampoline.S

7 years agoCorrect nss/tst-nss-test5 configuration
DJ Delorie [Fri, 21 Jul 2017 23:50:21 +0000 (19:50 -0400)]
Correct nss/tst-nss-test5 configuration

The configuration was cloned from test4, but test5 does not
have data for a second module.

7 years agoFix localedata test builds with latest GCC
Steve Ellcey [Fri, 21 Jul 2017 17:33:30 +0000 (10:33 -0700)]
Fix localedata test builds with latest GCC

* 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.

7 years agoFix nss/nss_test1.c compile with latest GCC.
Steve Ellcey [Fri, 21 Jul 2017 16:56:13 +0000 (09:56 -0700)]
Fix nss/nss_test1.c compile with latest GCC.

* nss/nss_test1.c (default_npwd_data): Fix definition.

7 years agoFix cexpl when compiled with latest GCC
Steve Ellcey [Fri, 21 Jul 2017 16:47:57 +0000 (09:47 -0700)]
Fix cexpl when compiled with latest GCC

* sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
math_force_eval.

7 years agoFix misspelled yesexpr/day/abday/mon/abmon/date_fmt fields in sc_IT
Massimeddu Cireddu [Fri, 21 Jul 2017 09:01:51 +0000 (11:01 +0200)]
Fix misspelled yesexpr/day/abday/mon/abmon/date_fmt fields in sc_IT

[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.

7 years agolocaledata/locales/lg_UG: Fix some comments.
Rafal Luzynski [Fri, 21 Jul 2017 08:29:06 +0000 (10:29 +0200)]
localedata/locales/lg_UG: Fix some comments.

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.

7 years agoAdd/Fix country_isbn for France
Akhilesh Kumar [Thu, 20 Jul 2017 06:26:24 +0000 (11:56 +0530)]
Add/Fix country_isbn for France

[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.

7 years agoAdd country_name and country_post, and country_isbn for pap_AW and pap_CW
Akhilesh Kumar [Fri, 21 Jul 2017 07:09:55 +0000 (09:09 +0200)]
Add country_name and country_post, and country_isbn for pap_AW and pap_CW

[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.

7 years agoAdd int_select to many locales
Mike FABIAN [Thu, 20 Jul 2017 15:05:21 +0000 (17:05 +0200)]
Add int_select to many locales

* 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.

7 years agoAdded int_select international_call_prefixes
Akhilesh Kumar [Thu, 20 Jul 2017 09:34:31 +0000 (15:04 +0530)]
Added int_select international_call_prefixes

[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.

7 years agoFix int_select international_call_prefixes
Akhilesh Kumar [Thu, 20 Jul 2017 08:01:14 +0000 (13:31 +0530)]
Fix int_select international_call_prefixes

[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.

7 years agoUpdate sparc ulps
Adhemerval Zanella [Wed, 19 Jul 2017 18:56:02 +0000 (15:56 -0300)]
Update sparc ulps

* sysdeps/sparc/fpu/libm-test-ulps: Update.

7 years agoalpha: Fix clone exit syscall argument passing (BZ#21512)
Adhemerval Zanella [Wed, 19 Jul 2017 14:45:37 +0000 (11:45 -0300)]
alpha: Fix clone exit syscall argument passing (BZ#21512)

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.

7 years agoFix cast-after-dereference
DJ Delorie [Wed, 19 Jul 2017 17:14:34 +0000 (13:14 -0400)]
Fix cast-after-dereference

Original code was dereferencing a char*, then casting the value
to size_t.  Should cast the pointer to size_t* then deference.

7 years agoAdd country_name to iu_CA locale
Mike FABIAN [Wed, 19 Jul 2017 15:21:21 +0000 (17:21 +0200)]
Add country_name to iu_CA locale

* locales/iu_CA (LC_ADDRESS): Add country_name

7 years agoFix country_post "Country Postal Abbreviations"
Akhilesh Kumar [Wed, 19 Jul 2017 07:27:36 +0000 (12:57 +0530)]
Fix country_post "Country Postal Abbreviations"

[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.

7 years agoFix consistency in country_isbn in various locales and add comment to country_num...
Akhilesh Kumar [Wed, 19 Jul 2017 06:17:01 +0000 (11:47 +0530)]
Fix consistency in country_isbn in various locales and add comment to 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.

7 years agoi386: Test memmove_chk and memset_chk only in libc.so [BZ #21741]
H.J. Lu [Wed, 19 Jul 2017 15:39:18 +0000 (08:39 -0700)]
i386: Test memmove_chk and memset_chk only in libc.so [BZ #21741]

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.

7 years agoDon't add stack_chk_fail_local.o to libc.a [BZ #21740]
H.J. Lu [Wed, 19 Jul 2017 15:21:27 +0000 (08:21 -0700)]
Don't add stack_chk_fail_local.o to libc.a [BZ #21740]

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.

7 years ago[AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12
Szabolcs Nagy [Tue, 18 Jul 2017 10:15:12 +0000 (11:15 +0100)]
[AArch64] Update dl-procinfo for new HWCAP flags in Linux 4.12

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.

7 years agoFix or add int_select international_call_prefixes
Akhilesh Kumar [Tue, 18 Jul 2017 06:21:48 +0000 (11:51 +0530)]
Fix or add int_select international_call_prefixes

[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.

7 years ago[AArch64] Fix out of bound array access regression
Szabolcs Nagy [Mon, 17 Jul 2017 08:58:29 +0000 (09:58 +0100)]
[AArch64] Fix out of bound array access regression

Partially revert ea01a4da219011f4a4db97eef3c5bfc2f6e8fc6b
"aarch64: Add hwcap string routines" because _dl_procinfo cannot
be future proof and avoid oob access in _dl_hwcap_string.

7 years agopowerpc: Fix float128 IFUNC relocations [BZ #21707]
Tulio Magno Quites Machado Filho [Mon, 17 Jul 2017 20:48:59 +0000 (17:48 -0300)]
powerpc: Fix float128 IFUNC relocations [BZ #21707]

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.

7 years agoExtend NSS test suite
DJ Delorie [Mon, 17 Jul 2017 19:50:43 +0000 (15:50 -0400)]
Extend NSS test suite

* 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.

7 years agohppa: Fix clone exit syscall argument passing (BZ#21512)
Adhemerval Zanella [Mon, 17 Jul 2017 14:46:00 +0000 (11:46 -0300)]
hppa: Fix clone exit syscall argument passing (BZ#21512)

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.

7 years agoFix country_name in li_NL
Akhilesh Kumar [Mon, 17 Jul 2017 12:19:42 +0000 (14:19 +0200)]
Fix country_name in li_NL

[BZ #21770]
* locales/li_NL: Fix country_name.

7 years agoUse U+02BB MODIFIER LETTER TURNED COMMA instead of U+0027 APOSTROPHE in yesstr and...
Mike FABIAN [Mon, 17 Jul 2017 14:18:10 +0000 (16:18 +0200)]
Use U+02BB MODIFIER LETTER TURNED COMMA instead of U+0027 APOSTROPHE in yesstr and nostr for to_TO locale

Suggested by Rafał Lużyński.

* locales/to_TO (LC_MESSAGES): Use U+02BB instead of U+0027 in yesstr and nostr

7 years agoFix yesexpr in new agr_PE locale
Mike FABIAN [Mon, 17 Jul 2017 12:31:11 +0000 (14:31 +0200)]
Fix yesexpr in new agr_PE locale

yY should be added there as in (almost) all other locales
(Suggested by Rafał Lużyński).

* locales/agr_PE (LC_MESSAGES): Add yY to yesexpr.

7 years agoWrite "Latin" in title case in "title" in hif_FJ locale
Mike FABIAN [Mon, 17 Jul 2017 12:26:43 +0000 (14:26 +0200)]
Write "Latin" in title case in "title" in hif_FJ locale

* locales/hif_FJ: Write "Latin" in title case in "title"

7 years agoAdd HWCAP_ macros from Linux 4.12 to AArch64 bits/hwcap.h.
Szabolcs Nagy [Tue, 4 Jul 2017 10:54:51 +0000 (11:54 +0100)]
Add HWCAP_ macros from Linux 4.12 to AArch64 bits/hwcap.h.

This patch adds the HWCAP_JSCVT, HWCAP_FCMA and HWCAP_LRCPC macros
from Linux 4.12 to the AArch64 bits/hwcap.h.

* sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
(HWCAP_JSCVT, HWCAP_LRCPC): Likewise.

7 years agoReturn to caller if dl_fixup fails to resolve callee on hppa.
John David Anglin [Sun, 16 Jul 2017 16:59:00 +0000 (12:59 -0400)]
Return to caller if dl_fixup fails to resolve callee on hppa.

7 years agoAdd CFI annotation.
John David Anglin [Sun, 16 Jul 2017 16:46:50 +0000 (12:46 -0400)]
Add CFI annotation.

7 years agoFix stack offset for r19 load in __getcontext.
John David Anglin [Sun, 16 Jul 2017 16:24:30 +0000 (12:24 -0400)]
Fix stack offset for r19 load in __getcontext.

7 years agoFix __setcontext return value on hppa.
John David Anglin [Sun, 16 Jul 2017 16:13:14 +0000 (12:13 -0400)]
Fix __setcontext return value on hppa.

7 years agoFix syscall cancellation on hppa.
John David Anglin [Sun, 16 Jul 2017 15:58:01 +0000 (11:58 -0400)]
Fix syscall cancellation on hppa.

7 years agoRemove _exit entry from sysdeps/unix/sysv/linux/hppa/localplt.data.
John David Anglin [Sun, 16 Jul 2017 15:28:02 +0000 (11:28 -0400)]
Remove _exit entry from sysdeps/unix/sysv/linux/hppa/localplt.data.

7 years agoRemove extra braces from sysdeps/hppa/__longjmp.c.
John David Anglin [Sun, 16 Jul 2017 15:11:31 +0000 (11:11 -0400)]
Remove extra braces from sysdeps/hppa/__longjmp.c.

7 years agoFix [BZ 20098].
John David Anglin [Sun, 16 Jul 2017 14:51:13 +0000 (10:51 -0400)]
Fix [BZ 20098].

7 years agoRegenerate libc.pot
Siddhesh Poyarekar [Sun, 16 Jul 2017 10:00:27 +0000 (15:30 +0530)]
Regenerate libc.pot

7 years agoFix [BZ locale/19838].
John David Anglin [Sat, 15 Jul 2017 16:54:14 +0000 (12:54 -0400)]
Fix [BZ locale/19838].

7 years agoFix guard alignment in allocate_stack when stack grows up.
John David Anglin [Sat, 15 Jul 2017 16:40:13 +0000 (12:40 -0400)]
Fix guard alignment in allocate_stack when stack grows up.

7 years agoFix failing sNaN tests on hppa.
John David Anglin [Sat, 15 Jul 2017 16:18:03 +0000 (12:18 -0400)]
Fix failing sNaN tests on hppa.

7 years agoFix BZ #21654 - grp-merge.c alignment
DJ Delorie [Sat, 15 Jul 2017 01:46:42 +0000 (21:46 -0400)]
Fix BZ #21654 - grp-merge.c alignment

* grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
alignment not char alignment.
(__merge_grp): Likewise.

7 years agoDisable single thread optimization for open_memstream
Szabolcs Nagy [Wed, 12 Jul 2017 09:53:13 +0000 (10:53 +0100)]
Disable single thread optimization for open_memstream

Single thread optimization is valid if at thread creation time the
optimization can be disabled.  This is in principle true for all
stream objects that user code can access (and thus needs locking),
using the same internal list as fflush(0) uses.  However in glibc
open_memstream is not on that list (BZ 21735) so the optimization
has to be disabled.

* libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
* libio/wmemstream.c (open_wmemstream): Likewise.
* nptl/tst-memstream.c: New.

7 years agoFix country name in li_BE and encoding problem in abday in li_BE and li_NL
Mike FABIAN [Fri, 14 Jul 2017 07:24:50 +0000 (09:24 +0200)]
Fix country name in li_BE and encoding problem in abday in li_BE and li_NL

* locales/li_BE: Fix country name and encoding problem in abday.
* locales/li_NL: Fix encoding problem in abday.

7 years agoNew locale for bi_VU
Akhilesh Kumar [Thu, 13 Jul 2017 09:43:46 +0000 (15:13 +0530)]
New locale for bi_VU

[BZ #21767]
* locales/bi_VU: new file.
* localedata/SUPPORTED: Add bi_VU/UTF-8.

7 years agoAdded yesstr and nostr for aa_ET
Akhilesh Kumar [Thu, 13 Jul 2017 10:17:18 +0000 (15:47 +0530)]
Added yesstr and nostr for aa_ET

[BZ #21768]
* locales/aa_ET (LC_MESSAGES): Added yesstr and nostr.

7 years agoFix wrong bug number in localedata/ChangeLog
Mike FABIAN [Thu, 13 Jul 2017 13:59:10 +0000 (15:59 +0200)]
Fix wrong bug number in localedata/ChangeLog

The commit to add the Fiji Hindi locale mentioned

    Bug 21207 - ce_RU: update weekdays from CLDR

which was wrong, correct is:

    Bug 21694 - Current Glibc Locale Does Not Support Tok-Pisin and Fiji Hindi Locale

7 years ago[ARM] Fix ld.so crash when built using Binutils 2.29
Jiong Wang [Thu, 13 Jul 2017 14:48:41 +0000 (15:48 +0100)]
[ARM] Fix ld.so crash when built using Binutils 2.29

There is bug report that ld.so in GLIBC 2.24 built by Binutils 2.29 will crash
on arm-linux-gnueabihf.  This is confirmed, and the details is at:

   https://sourceware.org/bugzilla/show_bug.cgi?id=21725.

As analyzed in the PR, the old code was with the assumption that assembler
won't set bit0 of thumb function address if it comes from PC-relative
instructions and the calculation can be finished during assembling.  This
assumption however does not hold after PR gas/21458.

* sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
of pcrel_address under Thumb mode.

7 years agoAdded Tongan language locale for Tonga
Akhilesh Kumar [Wed, 12 Jul 2017 10:47:11 +0000 (16:17 +0530)]
Added Tongan language locale for Tonga

[BZ #21728]
* localedata/locales/to_TO: new file
* localedata/SUPPORTED: added to_TO/UTF-8

7 years agoAdded yesstr/nostr and fix yesexpr for pap_AW and pap_CW
Akhilesh Kumar [Wed, 12 Jul 2017 08:06:38 +0000 (13:36 +0530)]
Added yesstr/nostr and fix yesexpr for pap_AW and pap_CW

[BZ #21757]
* locales/pap_AW (LC_MESSAGES): add yesstr and nostr, fix yesexpr
* locales/pap_CW (LC_MESSAGES): add yesstr and nostr, fix yesexpr

7 years agoFix LC_MESSAGES and LC_ADDRESS for anp_IN
Akhilesh Kumar [Wed, 12 Jul 2017 13:38:15 +0000 (19:08 +0530)]
Fix LC_MESSAGES and LC_ADDRESS for anp_IN

[BZ #21760]
* locales/anp_IN (LC_MESSAGES): add yesstr and nostr.
* locales/anp_IN (LC_ADDRESS): add country_name

7 years agoAdded yesstr and nostr for Tigrinya
Akhilesh Kumar [Wed, 12 Jul 2017 11:51:25 +0000 (17:21 +0530)]
Added yesstr and nostr for Tigrinya

[BZ #21759]
* locales/ti_ER (LC_MESSAGES): Add yesstr and nostr.
* locales/ti_ET (LC_MESSAGES): Add yesstr and nostr.

7 years agolocales/om_ET (LC_MESSAGES): add yesstr and nostr.
Mike FABIAN [Wed, 12 Jul 2017 20:01:47 +0000 (22:01 +0200)]
locales/om_ET (LC_MESSAGES): add yesstr and nostr.

7 years agoAdded yesstr/nostr for nds_DE and nds_NL
Akhilesh Kumar [Wed, 12 Jul 2017 09:47:09 +0000 (15:17 +0530)]
Added yesstr/nostr for nds_DE and nds_NL

[BZ #21756]
* locales/nds_DE (LC_MESSAGES): Add yesstr and nostr.
* locales/nds_NL (LC_MESSAGES): Add yesstr and nostr.

7 years agoAdded Fiji Hindi language locale for Fiji
Akhilesh Kumar [Tue, 11 Jul 2017 08:55:43 +0000 (14:25 +0530)]
Added Fiji Hindi language locale for Fiji

[BZ #21207]
* locales/hif_FJ: New file.
* SUPPORTED: Add hif_FJ/UTF-8.
* locale/iso-639.def: Add Fiji Hindi (hif).

7 years agoFix type in sysdeps/hppa/dl-machine.h.
John David Anglin [Thu, 13 Jul 2017 00:02:45 +0000 (20:02 -0400)]
Fix type in sysdeps/hppa/dl-machine.h.

7 years agoCompile tst-ssp-1.c with -fstack-protector-all
H.J. Lu [Tue, 11 Jul 2017 20:40:56 +0000 (13:40 -0700)]
Compile tst-ssp-1.c with -fstack-protector-all

Compile tst-ssp-1.c with -fstack-protector-all in case the the stack
protector heuristics do not instrument a thirty-byte array.

* debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
-fstack-protector-all.

7 years agoNew locale for agr_PE.
Chris Leonard [Mon, 22 Aug 2016 23:26:41 +0000 (19:26 -0400)]
New locale for agr_PE.

[BZ #20496]
* locale/iso-639.def: Add Awajún / Aguaruna (agr).

[BZ #20496]
* SUPPORTED: Add agr_PE.
* locales/agr_PE: New file, Awajún / Aguaruna locale for Peru.

7 years agoAdded Samoan language locale for Samoa
Akhilesh Kumar [Tue, 11 Jul 2017 10:52:29 +0000 (16:22 +0530)]
Added Samoan language locale for Samoa

[BZ #21710]
* locales/sm_WS: New file.
* SUPPORTED: Add sm_WS/UTF-8.

7 years agopowerpc64le: Iterate over all object suffixes when appending -mfloat128
Gabriel F. T. Gomes [Tue, 27 Jun 2017 18:41:12 +0000 (15:41 -0300)]
powerpc64le: Iterate over all object suffixes when appending -mfloat128

On powerpc64le, the compilation of the files related to float128 support
requires the option -mfloat128 to be passed to gcc.  However, not all
possible object suffixes were covered in the Makefile.  This patch uses
$(all-object-suffixes) in all remaining rules.

Tested for powerpc64le.

* sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
to iterate over all possible object suffixes.  Add a comment
explaining the use of sysdep-CFLAGS instead of CFLAGS.

7 years agoAvoid backtrace from __stack_chk_fail [BZ #12189]
H.J. Lu [Tue, 11 Jul 2017 14:44:01 +0000 (07:44 -0700)]
Avoid backtrace from __stack_chk_fail [BZ #12189]

__stack_chk_fail is called on corrupted stack.  Stack backtrace is very
unreliable against corrupted stack.  __libc_message is changed to accept
enum __libc_message_action and call BEFORE_ABORT only if action includes
do_backtrace.  __fortify_fail_abort is added to avoid backtrace from
__stack_chk_fail.

[BZ #12189]
* debug/Makefile (CFLAGS-tst-ssp-1.c): New.
(tests): Add tst-ssp-1 if -fstack-protector works.
* debug/fortify_fail.c: Include <stdbool.h>.
(_fortify_fail_abort): New function.
(__fortify_fail): Call _fortify_fail_abort.
(__fortify_fail_abort): Add a hidden definition.
* debug/stack_chk_fail.c: Include <stdbool.h>.
(__stack_chk_fail): Call __fortify_fail_abort, instead of
__fortify_fail.
* debug/tst-ssp-1.c: New file.
* include/stdio.h (__libc_message_action): New enum.
(__libc_message): Replace int with enum __libc_message_action.
(__fortify_fail_abort): New hidden prototype.
* malloc/malloc.c (malloc_printerr): Update __libc_message calls.
* sysdeps/posix/libc_fatal.c (__libc_message): Replace int
with enum __libc_message_action.  Call BEFORE_ABORT only if
action includes do_backtrace.
(__libc_fatal): Update __libc_message call.

7 years agoposix: Add p{read,write}v2 RWF_NOWAIT flag (BZ#21738)
Adhemerval Zanella [Mon, 10 Jul 2017 18:53:32 +0000 (15:53 -0300)]
posix: Add p{read,write}v2 RWF_NOWAIT flag (BZ#21738)

Linux 4.12 (b745fafaf70c0a98a2e1e7ac8cb14542889ceb0e) adds a new
p{read,write}v2 flag RWF_NOWAIT.  This patch adds it for linux
uio-ext.h header.

Checked on x86_64-linux-gnu (on a 4.10 kernel).

[BZ #21738]
* manual/llio.texi (RWF_NOWAIT): New item.
* misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
Add RWF_NOWAIT check.
* sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.

7 years agoFixed abday for ar_JO/ar_LB/ar_SY
Akhilesh Kumar [Tue, 11 Jul 2017 08:19:17 +0000 (13:49 +0530)]
Fixed abday for ar_JO/ar_LB/ar_SY

[BZ #21749]
* locales/ar_JO (LC_TIME): Fix abday
* locales/ar_LB (LC_TIME): Fix abday
* locales/ar_SY (LC_TIME): Fix abday

This page took 0.080919 seconds and 5 git commands to generate.