diff options
27 files changed, 4886 insertions, 4112 deletions
@@ -1,3 +1,68 @@ +2009-05-09 Ulrich Drepper <drepper@redhat.com> + + * version.h (VERSION): Bump for 2.10 release. + * include/features.h (__GLIBC_MINOR__): Bump to 10. + +2009-05-05 Aurelien Jarno <aurelien@aurel32.net> + + [BZ #10128] + * resolv/res_query.c (__libc_res_nquery): If one query returns NOTIMP + or FORMERR and the other NOERROR, don't raise an error. + +2009-05-06 Ryan S. Arnold <rsa@us.ibm.com> + + [BZ #10118] + * Makeconfig (+asflags): New variable based upon ASFLAG or + asflags-cpu. + (ASFLAGS): Add override to set ASFLAGS to +asflags. + * config.make.in (asflags-cpu): Add variable based upon + @libc_cv_cc_submachine@ to propagate -mcpu=CPU from --with-cpu=CPU to + the assembler. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S: + Remove unneeded file now that the assembler emits _ARCH_PWR6 and + recognizes power6 instruction set due to passing -mcpu=power6 from + --with-cpu=power6 when compiling .S files. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S: + Likewise. + +2009-05-09 Jakub Jelinek <jakub@redhat.com> + + * string/stratcliff.c (do_test): Test for zero length + STRNLEN, MEMCHR, STRNCPY, STPNCPY, MEMCPY, MEMPCPY and memccpy + at the end of the page. + +2009-05-08 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_RANDOM. + + * sysdeps/x86_64/memchr.S: Handle invalid buffer pointers when + count is zero. + + * po/da.po: Update from translation team. + +2009-05-05 Jakub Jelinek <jakub@redhat.com> + + * io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64, + guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU. + +2009-05-05 Ulrich Drepper <drepper@redhat.com> + + * sysdeps/unix/sysv/linux/sys/personality.h: Add ADDR_COMPAT_LAYOUT + and READ_IMPLIES_EXEC. + +2009-05-04 Ulrich Drepper <drepper@redhat.com> + + * po/da.po: Update from translation team. + +2009-04-29 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/unix/sysv/linux/ifaddrs.c: Revert unintended 2008-08-12 + comment change. + 2009-04-27 Jakub Jelinek <jakub@redhat.com> * locale/programs/locarchive.c (create_archive): Add MAP_PRIVATE diff --git a/Makeconfig b/Makeconfig index 64886aee26..985c683f6e 100644 --- a/Makeconfig +++ b/Makeconfig @@ -649,6 +649,16 @@ endif # $(+cflags) == "" # Don't duplicate options if we inherited variables from the parent. +cflags := $(sort $(+cflags)) +# These are the flags given to the compiler to tell it what sort of +# optimization and/or debugging output to do for .S files. +ifndef +asflags +# If `ASFLAGS' was defined, use that. +ifdef ASFLAGS ++asflags := $(ASFLAGS) +endif #ASFLAGS +endif # +asflags + ++asflags += $(asflags-cpu) # These are flags given to the C compiler to tell it to look for # include files (including ones given in angle brackets) in the parent @@ -681,6 +691,8 @@ override CXXFLAGS = $(c++-sysincludes) \ $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \ $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F)) +override ASFLAGS = $(+asflags) + # If everything is compiled with -fPIC (implicitly) we must tell this by # defining the PIC symbol. ifeq (yes,$(build-pic-default)) diff --git a/config.make.in b/config.make.in index 73faa77b6f..e48ea2658d 100644 --- a/config.make.in +++ b/config.make.in @@ -32,6 +32,7 @@ config-vendor = @host_vendor@ config-os = @host_os@ config-sysdirs = @sysnames@ cflags-cpu = @libc_cv_cc_submachine@ +asflags-cpu = @libc_cv_cc_submachine@ defines = @DEFINES@ sysincludes = @SYSINCLUDES@ diff --git a/fedora/branch.mk b/fedora/branch.mk index 4b9a36165e..2390d52c2e 100644 --- a/fedora/branch.mk +++ b/fedora/branch.mk @@ -3,5 +3,5 @@ glibc-branch := fedora glibc-base := HEAD DIST_BRANCH := devel COLLECTION := dist-f8 -fedora-sync-date := 2009-04-27 14:19 UTC -fedora-sync-tag := fedora-glibc-20090427T1419 +fedora-sync-date := 2009-05-09 18:28 UTC +fedora-sync-tag := fedora-glibc-20090509T1828 diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in index 0235202969..64288dc60e 100644 --- a/fedora/glibc.spec.in +++ b/fedora/glibc.spec.in @@ -19,7 +19,7 @@ Summary: The GNU libc libraries Name: glibc Version: @glibcversion@ -Release: 22 +Release: 1 # GPLv2+ is used in a bunch of programs, LGPLv2+ is used for libraries. # Things that are linked directly into dynamically linked programs # and shared libraries (e.g. crt files, lib*_nonshared.a) have an additional @@ -1009,6 +1009,11 @@ rm -f *.filelist* %endif %changelog +* Sat May 9 2009 Jakub Jelinek <jakub@redhat.com> 2.10-1 +- update from trunk + - glibc 2.10 release + - fix memchr on x86_64 (#499689) + * Mon Apr 27 2009 Jakub Jelinek <jakub@redhat.com> 2.9.90-22 - update from trunk - further localedef fixes diff --git a/include/features.h b/include/features.h index a653e4d46b..fc1a5b5200 100644 --- a/include/features.h +++ b/include/features.h @@ -333,7 +333,7 @@ /* Major and minor version number of the GNU C library package. Use these macros to test for features in specific releases. */ #define __GLIBC__ 2 -#define __GLIBC_MINOR__ 9 +#define __GLIBC_MINOR__ 10 #define __GLIBC_PREREQ(maj, min) \ ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) diff --git a/io/sys/stat.h b/io/sys/stat.h index 7d769052a1..c21801d6a9 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -249,9 +249,11 @@ extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__restrict __file, # endif # endif +# ifdef __USE_LARGEFILE64 extern int fstatat64 (int __fd, __const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) __THROW __nonnull ((2, 3)); +# endif #endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K @@ -516,7 +518,7 @@ __NTH (fstat64 (int __fd, struct stat64 *__statbuf)) return __fxstat64 (_STAT_VER, __fd, __statbuf); } -# ifdef __USE_GNU +# ifdef __USE_ATFILE __extern_inline int __NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)) diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 332918f0e7..b3db0766b2 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,10 @@ +2009-05-04 Ulrich Drepper <drepper@redhat.com> + + * localedata/locales/bn_BD: Remove comment about missing collation + rules. + * localedata/locales/iso14651_t1_common: Add Bengali collation rules. + Patch by Pravin Satpute <psatpute@redhat.com>. + 2009-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org> * locales/cs.CZ: Change week[2] to 19971130, change first_weekday and diff --git a/localedata/locales/bn_BD b/localedata/locales/bn_BD index a2c0f5c5bd..8b46636b25 100644 --- a/localedata/locales/bn_BD +++ b/localedata/locales/bn_BD @@ -32,7 +32,6 @@ category "bn_BD:2001";LC_NAME END LC_IDENTIFICATION LC_COLLATE -% TODO: Bengali sorting should be added copy "iso14651_t1" END LC_COLLATE diff --git a/localedata/locales/iso14651_t1_common b/localedata/locales/iso14651_t1_common index 6bdc795f4a..e8cabe7e27 100644 --- a/localedata/locales/iso14651_t1_common +++ b/localedata/locales/iso14651_t1_common @@ -67,6 +67,7 @@ script <GURUMUKHI> script <KANNADA> script <SINHALA> script <MALAYALAM> +script <BENGALI> # Déclaration des symboles internes / Declaration of internal symbols # @@ -1034,6 +1035,85 @@ collating-symbol <mlvs-o> collating-symbol <mlvs-au> collating-symbol <ml-visarga> collating-symbol <ml-virama> +# +# <BENGALI> +# +# bvd- denotes bengali vowel modifier +# bm- denotes bengali matras +# bnw- denotes bengali vowels +# +# defning symbols +collating-symbol <U_09F8> +collating-symbol <U_09F9> +collating-symbol <U_09FA> +collating-symbol <bnw-a> +collating-symbol <bnw-aa> +collating-symbol <bnw-i> +collating-symbol <bnw-ii> +collating-symbol <bnw-u> +collating-symbol <bnw-uu> +collating-symbol <bnw-vocalicr> +collating-symbol <bnw-vocalicrr> +collating-symbol <bnw-vocalicl> +collating-symbol <bnw-vocalicll> +collating-symbol <bnw-e> +collating-symbol <bnw-ai> +collating-symbol <bnw-o> +collating-symbol <bnw-au> +collating-symbol <bvd-anuswara> +collating-symbol <bvd-visarg> +collating-symbol <bvd-chandrabindu> +collating-symbol <b_ka> +collating-symbol <b_kha> +collating-symbol <b_ga> +collating-symbol <b_gha> +collating-symbol <b_nga> +collating-symbol <b_ca> +collating-symbol <b_cha> +collating-symbol <b_ja> +collating-symbol <b_jha> +collating-symbol <b_nya> +collating-symbol <b_tta> +collating-symbol <b_ttha> +collating-symbol <b_dda> +collating-symbol <b_ddha> +collating-symbol <b_nna> +collating-symbol <b_ta> +collating-symbol <b_khand_ta> +collating-symbol <b_tha> +collating-symbol <b_da> +collating-symbol <b_dha> +collating-symbol <b_na> +collating-symbol <b_pa> +collating-symbol <b_pha> +collating-symbol <b_va> +collating-symbol <b_bha> +collating-symbol <b_ma> +collating-symbol <b_ya> +collating-symbol <b_ra> +collating-symbol <b_ra_diagonal> +collating-symbol <b_la> +collating-symbol <b_ra_lower_diagonal> +collating-symbol <b_sha> +collating-symbol <b_ssa> +collating-symbol <b_sa> +collating-symbol <b_ha> +collating-symbol <b_avagrah> +collating-symbol <bm-aa> +collating-symbol <bm-i> +collating-symbol <bm-ii> +collating-symbol <bm-u> +collating-symbol <bm-uu> +collating-symbol <bm-vocalicr> +collating-symbol <bm-vocalicrr> +collating-symbol <bm-vocalicl> +collating-symbol <bm-vocalicll> +collating-symbol <bm-e> +collating-symbol <bm-ai> +collating-symbol <bm-o> +collating-symbol <bm-au> +collating-symbol <b_halant> +collating-symbol <bm_au_lenght> # Ordre des symboles internes / Order of internal symbols # @@ -1934,6 +2014,81 @@ collating-symbol <ml-virama> <mlvs-o> <mlvs-au> <ml-visarga> +# +# <BENGALI> +# +# collation weights in order +<U_09F8> +<U_09F9> +<U_09FA> +<bnw-a> +<bnw-aa> +<bnw-i> +<bnw-ii> +<bnw-u> +<bnw-uu> +<bnw-vocalicr> +<bnw-vocalicrr> +<bnw-vocalicl> +<bnw-vocalicll> +<bnw-e> +<bnw-ai> +<bnw-o> +<bnw-au> +<bvd-anuswara> +<bvd-visarg> +<bvd-chandrabindu> +<b_ka> +<b_kha> +<b_ga> +<b_gha> +<b_nga> +<b_ca> +<b_cha> +<b_ja> +<b_jha> +<b_nya> +<b_tta> +<b_ttha> +<b_dda> +<b_ddha> +<b_nna> +<b_ta> +<b_khand_ta> +<b_tha> +<b_da> +<b_dha> +<b_na> +<b_pa> +<b_pha> +<b_va> +<b_bha> +<b_ma> +<b_ya> +<b_ra> +<b_ra_diagonal> +<b_la> +<b_ra_lower_diagonal> +<b_sha> +<b_ssa> +<b_sa> +<b_ha> +<b_avagrah> +<bm-aa> +<bm-i> +<bm-ii> +<bm-u> +<bm-uu> +<bm-vocalicr> +<bm-vocalicrr> +<bm-vocalicl> +<bm-vocalicll> +<bm-e> +<bm-ai> +<bm-o> +<bm-au> +<b_halant> +<bm_au_lenght> order_start <SPECIAL>;forward;backward;forward;forward,position # @@ -4377,6 +4532,96 @@ order_start <MALAYALAM>;forward;forward;forward;forward,position <ml-split-oo> <mlvs-o>;<BAS>;<MIN>;IGNORE <ml-split-au> <mlvs-au>;<BAS>;<MIN>;IGNORE +order_start <BENGALI>;forward;forward;forward;forward,position +<U09F2> IGNORE;IGNORE;IGNORE;<U09F2> # BENGALI RUPEE MARK +<U09F3> IGNORE;IGNORE;IGNORE;<U09F3> # BENGALI RUPEE SIGN +<U09F8> <U_09F8>;<BAS>;<MIN>;IGNORE # BENGALI CURRENCY NUMERATOR ONE LESS THAN THE DENOMINATOR +<U09F9> <U_09F9>;<BAS>;<MIN>;IGNORE # BENGALI CURRENCY DENOMINATOR SIXTEEN +<U09FA> <U_09FA>;<BAS>;<MIN>;IGNORE # BENGALI ISSHAR +#Fix Require for <U09F4>..<U09F9> +<U09E6> <0>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09E7> <1>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09E8> <2>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09E9> <3>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09EA> <4>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09EB> <5>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09EC> <6>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09ED> <7>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09EE> <8>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U09EF> <9>;"<BAS><NUM>";"<MIN><MIN>";IGNORE +<U0985> <bnw-a> ;<BAS>;<MIN>;IGNORE +<U0986> <bnw-aa> ;<BAS>;<MIN>;IGNORE +<U0987> <bnw-i> ;<BAS>;<MIN>;IGNORE +<U0988> <bnw-ii> ;<BAS>;<MIN>;IGNORE +<U0989> <bnw-u> ;<BAS>;<MIN>;IGNORE +<U098A> <bnw-uu>;<BAS>;<MIN>;IGNORE +<U098B> <bnw-vocalicr>;<BAS>;<MIN>;IGNORE +<U09E0> <bnw-vocalicrr>;<BAS>;<MIN>;IGNORE +<U098C> <bnw-vocalicl>;<BAS>;<MIN>;IGNORE +<U09E1> <bnw-vocalicll>;<BAS>;<MIN>;IGNORE +<U098F> <bnw-e>;<BAS>;<MIN>;IGNORE +<U0990> <bnw-ai>;<BAS>;<MIN>;IGNORE +<U0993> <bnw-o>;<BAS>;<MIN>;IGNORE +<U0994> <bnw-au>;<BAS>;<MIN>;IGNORE +<U0982> <bvd-anuswara>;<BAS>;<MIN>;IGNORE +<U0983> <bvd-visarg>;<BAS>;<MIN>;IGNORE +<U0981> <bvd-chandrabindu>;<BAS>;<MIN>;IGNORE +<U0995> <b_ka>;<BAS>;<MIN>;IGNORE +<U0996> <b_kha>;<BAS>;<MIN>;IGNORE +<U0997> <b_ga>;<BAS>;<MIN>;IGNORE +<U0998> <b_gha>;<BAS>;<MIN>;IGNORE +<U0999> <b_nga>;<BAS>;<MIN>;IGNORE +<U099A> <b_ca>;<BAS>;<MIN>;IGNORE +<U099B> <b_cha>;<BAS>;<MIN>;IGNORE +<U099C> <b_ja>;<BAS>;<MIN>;IGNORE +<U099D> <b_jha>;<BAS>;<MIN>;IGNORE +<U099E> <b_nya>;<BAS>;<MIN>;IGNORE +<U099F> <b_tta>;<BAS>;<MIN>;IGNORE +<U09A0> <b_ttha>;<BAS>;<MIN>;IGNORE +<U09A1> <b_dda>;<BAS>;<MIN>;IGNORE +<U09DC> <b_dda>;"<BAS><NKT>";"<MIN><MIN>";IGNORE +<U09A2> <b_ddha>;<BAS>;<MIN>;IGNORE +<U09DD> <b_ddha>;"<BAS><NKT>";"<MIN><MIN>";IGNORE +<U09A3> <b_nna>;<BAS>;<MIN>;IGNORE +<U09A4> <b_ta>;<BAS>;<MIN>;IGNORE +<U09CE> <b_khand_ta>;<BAS>;<MIN>;IGNORE +<U09A5> <b_tha>;<BAS>;<MIN>;IGNORE +<U09A6> <b_da>;<BAS>;<MIN>;IGNORE +<U09A7> <b_dha>;<BAS>;<MIN>;IGNORE +<U09A8> <b_na>;<BAS>;<MIN>;IGNORE +<U09AA> <b_pa>;<BAS>;<MIN>;IGNORE +<U09AB> <b_pha>;<BAS>;<MIN>;IGNORE +<U09AC> <b_va>;<BAS>;<MIN>;IGNORE +<U09AD> <b_bha>;<BAS>;<MIN>;IGNORE +<U09AE> <b_ma>;<BAS>;<MIN>;IGNORE +<U09AF> <b_ya>;<BAS>;<MIN>;IGNORE +<U09DF> <b_ya>;"<BAS><NKT>";"<MIN><MIN>";IGNORE +<U09B0> <b_ra>;<BAS>;<MIN>;IGNORE +<U09F0> <b_ra_diagonal>;<BAS>;<MIN>;IGNORE +<U09B2> <b_la>;<BAS>;<MIN>;IGNORE +<U09F1> <b_ra_lower_diagonal>;<BAS>;<MIN>;IGNORE +<U09B6> <b_sha>;<BAS>;<MIN>;IGNORE +<U09B7> <b_ssa>;<BAS>;<MIN>;IGNORE +<U09B8> <b_sa>;<BAS>;<MIN>;IGNORE +<U09B9> <b_ha>;<BAS>;<MIN>;IGNORE +<U09BD> <b_avagrah>;<BAS>;<MIN>;IGNORE +<U09BE> <bm-aa>;<BAS>;<MIN>;IGNORE +<U09BF> <bm-i>;<BAS>;<MIN>;IGNORE +<U09C0> <bm-ii>;<BAS>;<MIN>;IGNORE +<U09C1> <bm-u>;<BAS>;<MIN>;IGNORE +<U09C2> <bm-uu>;<BAS>;<MIN>;IGNORE +<U09C3> <bm-vocalicr>;<BAS>;<MIN>;IGNORE +<U09C4> <bm-vocalicrr>;<BAS>;<MIN>;IGNORE +<U09E2> <bm-vocalicl>;<BAS>;<MIN>;IGNORE +<U09E3> <bm-vocalicll>;<BAS>;<MIN>;IGNORE +<U09C7> <bm-e>;<BAS>;<MIN>;IGNORE +<U09C8> <bm-ai>;<BAS>;<MIN>;IGNORE +<U09CB> <bm-o>;<BAS>;<MIN>;IGNORE +<U09CC> <bm-au>;<BAS>;<MIN>;IGNORE +<U09CD> <b_halant>;<BAS>;<MIN>;IGNORE +<U09D7> <bm_au_lenght>;<BAS>;<MIN>;IGNORE +<U09BC> IGNORE;<NKT>;<MIN>;IGNORE + order_end |
