Update.
authorUlrich Drepper <drepper@redhat.com>
Sat, 31 Aug 2002 09:26:42 +0000 (09:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 31 Aug 2002 09:26:42 +0000 (09:26 +0000)
2002-08-31  Ulrich Drepper  <drepper@redhat.com>

* locale/localeinfo.h: Pretty printing.

* stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in
form_number handling.

(__aux_init_cache): New function.
(__aux_init_cache): New function.
* locale/programs/locarchive.c (struct oldlocrecent): New type.
(oldlocrecentcmp): New function.
* sysdeps/x86_64/fpu/bits/mathinline.h: New file.
* sysdeps/x86_64/fpu/s_copysign.S: New file.
* sysdeps/x86_64/fpu/s_copysignf.S: New file.
* sysdeps/x86_64/fpu/s_copysignl.S: New file.
* sysdeps/x86_64/fpu/s_finitel.S: New file.
* sysdeps/x86_64/fpu/s_fmax.S: New file.
* sysdeps/x86_64/fpu/s_fmaxf.S: New file.
* sysdeps/x86_64/fpu/s_fmaxl.S: New file.
* sysdeps/x86_64/fpu/s_fmin.S: New file.
* sysdeps/x86_64/fpu/s_fminf.S: New file.
* sysdeps/x86_64/fpu/s_fminl.S: New file.
* locale/programs/locarchive.c (struct nameent, struct dataent): New
types.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file.
* sysdeps/x86_64/fpu/s_llrint.S: New file.
* sysdeps/x86_64/fpu/s_llrintf.S: New file.
* sysdeps/x86_64/fpu/s_llrintl.S: New file.
* sysdeps/x86_64/fpu/s_lrint.S: New file.
* sysdeps/x86_64/fpu/s_lrintf.S: New file.
* sysdeps/x86_64/fpu/s_lrintl.S: New file.
* sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro.
(CAUSE_SHIFT): New macro.
* sysdeps/sparc/sparc64/configure.in: New file.
* sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file.
* sysdeps/x86_64/bits/setjmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file.
* elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS.
* sysdeps/unix/sysv/linux/mips/sys/user.h: New file.
* config.h.in (HAVE_BUILTIN_MEMSET): New macro.
* elf/dl-deps.c (_dl_build_local_scope): New function.
* elf/dl-lookup.c (_dl_debug_bindings): New function.
(elf_machine_rela, elf_machine_rela_relative): New functions.
(elf_machine_rela, elf_machine_rela_relative): New functions.
* elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New
functions.

ChangeLog
locale/localeinfo.h
stdio-common/vfprintf.c

index df3475e..c1f74cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-08-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * locale/localeinfo.h: Pretty printing.
+
+       * stdio-common/vfprintf.c (vfprintf): Remove duplicate ifs in
+       form_number handling.
+
 2002-08-31  Andreas Jaeger  <aj@suse.de>
 
        * sysdeps/x86_64/fpu/libm-test-ulps: Add ulps for float and long
 
        * sysdeps/powerpc/elf/libc-start.c
        (__cache_line_size): Declare.
-       (__aux_init_cache): New.
+       (__aux_init_cache): New function.
        (__libc_start_main): Change type of `auxvec' parameter to
        `ElfW(auxv_t) *'.  Correct walking of aux vector.  Call
        __aux_init_cache.
        * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
        (__cache_line_size): Declare.
-       (__aux_init_cache): New.
+       (__aux_init_cache): New function.
        (DL_PLATFORM_INIT): Define.
        * sysdeps/powerpc/memset.S: Define __cache_line_size and use its
        value to select the correct stride for dcbz.
 
 2002-08-14  Jakub Jelinek  <jakub@redhat.com>
 
-       * locale/programs/locarchive.c (struct oldlocrecent): New.
-       (oldlocrecentcmp): New.
+       * locale/programs/locarchive.c (struct oldlocrecent): New type.
+       (oldlocrecentcmp): New function.
        (enlarge_archive): Re-add locales in the order they were added
        to the archive.
        (add_locale): Put all the small locale files together, if the small
 
 2002-07-06  Andreas Jaeger  <aj@suse.de>
 
-       * sysdeps/x86_64/fpu/bits/mathinline.h: New.
-       * sysdeps/x86_64/fpu/s_copysign.S: New.
-       * sysdeps/x86_64/fpu/s_copysignf.S: New.
-       * sysdeps/x86_64/fpu/s_copysignl.S: New.
-       * sysdeps/x86_64/fpu/s_finitel.S: New.
-       * sysdeps/x86_64/fpu/s_fmax.S: New.
-       * sysdeps/x86_64/fpu/s_fmaxf.S: New.
-       * sysdeps/x86_64/fpu/s_fmaxl.S: New.
-       * sysdeps/x86_64/fpu/s_fmin.S: New.
-       * sysdeps/x86_64/fpu/s_fminf.S: New.
-       * sysdeps/x86_64/fpu/s_fminl.S: New.
+       * sysdeps/x86_64/fpu/bits/mathinline.h: New file.
+       * sysdeps/x86_64/fpu/s_copysign.S: New file.
+       * sysdeps/x86_64/fpu/s_copysignf.S: New file.
+       * sysdeps/x86_64/fpu/s_copysignl.S: New file.
+       * sysdeps/x86_64/fpu/s_finitel.S: New file.
+       * sysdeps/x86_64/fpu/s_fmax.S: New file.
+       * sysdeps/x86_64/fpu/s_fmaxf.S: New file.
+       * sysdeps/x86_64/fpu/s_fmaxl.S: New file.
+       * sysdeps/x86_64/fpu/s_fmin.S: New file.
+       * sysdeps/x86_64/fpu/s_fminf.S: New file.
+       * sysdeps/x86_64/fpu/s_fminl.S: New file.
 
 2002-06-05  Brian Youmans <3diff@gnu.org>
 
        * locale/programs/localedef.h (show_archive_content): Add verbose
        argument.
        * locale/programs/localedef.c (main): Adjust caller.
-       * locale/programs/locarchive.c (struct nameent, struct dataent): New.
+       * locale/programs/locarchive.c (struct nameent, struct dataent): New
+       types.
        (nameentcmp, dataentcmp): New functions.
        (xstrcmp): Remove.
        (show_archive_content): Print verbose listing with --list-archive -v.
 
 2002-05-09  Andreas Jaeger  <aj@suse.de>
 
-       * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/sys/io.h: New file.
        * sysdeps/unix/sysv/linux/x86_64/Dist: Add it.
        * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers): Add it.
 
 
        * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Fix rewrite rule.
 
-       * sysdeps/x86_64/fpu/s_llrint.S: New.
-       * sysdeps/x86_64/fpu/s_llrintf.S: New.
-       * sysdeps/x86_64/fpu/s_llrintl.S: New.
-       * sysdeps/x86_64/fpu/s_lrint.S: New.
-       * sysdeps/x86_64/fpu/s_lrintf.S: New
-       * sysdeps/x86_64/fpu/s_lrintl.S: New.
+       * sysdeps/x86_64/fpu/s_llrint.S: New file.
+       * sysdeps/x86_64/fpu/s_llrintf.S: New file.
+       * sysdeps/x86_64/fpu/s_llrintl.S: New file.
+       * sysdeps/x86_64/fpu/s_lrint.S: New file.
+       * sysdeps/x86_64/fpu/s_lrintf.S: New file.
+       * sysdeps/x86_64/fpu/s_lrintl.S: New file.
 
 2002-04-08  Roland McGrath  <roland@frob.com>
 
        * sysdeps/mips/fpu/fclrexcpt.c (__feclearexcept): Clear also cause
        bits.
 
-       * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New.
-       (CAUSE_SHIFT): New.
+       * sysdeps/mips/fpu/fenv_libc.h (CAUSE_MASK): New macro.
+       (CAUSE_SHIFT): New macro.
        Patch by Hartvig Ekner <hartvige@mips.com>.
 
        * sysdeps/generic/unwind-dw2-fde-glibc.c: Add prototypes.
 
        * sysdeps/i386/elf/configure.in: Fix comment.
 
-       * sysdeps/sparc/sparc64/configure.in: New.
+       * sysdeps/sparc/sparc64/configure.in: New file.
        * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Fix
        if .dynamic comes before .got.
        * config.h.in (SPARC64_DYNAMIC_BEFORE_GOT): Add.
 
 2002-03-04  Andreas Jaeger  <aj@suse.de>
 
-       * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New.
+       * sysdeps/unix/sysv/linux/x86_64/readelflib.c: New file.
 
        * sysdeps/unix/sysv/linux/kernel-features.h: Add defines for
        x86-64.
 
-       * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/bits/socket.h: New file.
 
-       * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: New file.
 
-       * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: New file.
 
-       * sysdeps/x86_64/bits/setjmp.h: New.
+       * sysdeps/x86_64/bits/setjmp.h: New file.
 
-       * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: New file.
 
-       * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New.
+       * sysdeps/unix/sysv/linux/x86_64/bits/resource.h: New file.
 
        * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Add compatibilty
        for x86.
        (collate_read): Don't crash on unknown symbol [PR libc/2952].
        Patches by Alastair McKinstry <alastair@pdd.3com.com>.
 
-       * elf/tst-tls1.c: Move #include "tls-macros.h" instead #ifdef USE_TLS.
+       * elf/tst-tls1.c: Move #include "tls-macros.h" inside #ifdef USE_TLS.
        * elf/tst-tls2.c: Likewise.
        * elf/tst-tls3.c: Likewise.
 
        * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
        <signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.
 
-       * sysdeps/unix/sysv/linux/mips/sys/user.h: New.
+       * sysdeps/unix/sysv/linux/mips/sys/user.h: New file.
 
 2002-02-07  H.J. Lu  <hjl@gnu.org>
 
 
 2002-02-06  H.J. Lu  <hjl@gnu.org>
 
-       * config.h.in (HAVE_BUILTIN_MEMSET): New.
+       * config.h.in (HAVE_BUILTIN_MEMSET): New macro.
        * configure.in: Check if __builtin_memset really works.
        * elf/rtld.c (_dl_start): Check HAVE_BUILTIN_MEMSET instead of
        __GNUC_PREREQ (2, 96) before using __builtin_memset.
        (ld.so): Add _begin local symbol.
        * elf/elf.h (DT_VALTAGIDX, DT_VALNUM, DT_ADDRTAGIDX, DT_ADDRNUM):
        Define.
-       * elf/dl-deps.c (_dl_build_local_scope): New.
+       * elf/dl-deps.c (_dl_build_local_scope): New function.
        (_dl_map_object_deps): If LD_TRACE_PRELINKING, compute local scopes
        of all libraries.
        * elf/do-rel.h (VALIDX): Define.
        lazy binding for RELA.  If DT_GNU_PRELINKED, DT_RELACOUNT relocations
        can be skipped.
        * elf/dl-conflict.c: New file.
-       * elf/dl-lookup.c (_dl_debug_bindings): New.
+       * elf/dl-lookup.c (_dl_debug_bindings): New function.
        (_dl_lookup_symbol): Use _dl_debug_bindings.  Reference_name is always
        non-NULL.
        (_dl_lookup_symbol_skip): Likewise.
        content of .got[1].
        (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
        (ELF_MACHINE_PLT_REL): Define.
-       (elf_machine_rela, elf_machine_rela_relative): New.
+       (elf_machine_rela, elf_machine_rela_relative): New functions.
        (elf_machine_lazy_rel): Reinitialize R_ARM_JUMP_SLOT address instead
        of adjusting it if prelinked and prelinking cannot be used.
        * sysdeps/i386/bits/link.h: New file.
        content of .got[1].
        (ELF_MACHINE_NO_RELA): Only define if RTLD_BOOTSTRAP.
        (ELF_MACHINE_PLT_REL): Define.
-       (elf_machine_rela, elf_machine_rela_relative): New.
+       (elf_machine_rela, elf_machine_rela_relative): New functions.
        (elf_machine_lazy_rel): Reinitialize R_386_JUMP_SLOT address instead
        of adjusting it if prelinked and prelinking cannot be used.
        * sysdeps/powerpc/dl-machine.h (elf_machine_rela): If relocating
 
 2001-08-23  Jakub Jelinek  <jakub@redhat.com>
 
-       * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New.
+       * elf/dl-lookup.c (lookup_cache, lookup_cache_versioned): New
+       functions.
        (_dl_lookup_symbol): Lookup relocations in cache and store successfull
        lookups in cache.
        (_dl_lookup_versioned_symbol): Likewise.
index c235fb8..3ec58f3 100644 (file)
@@ -147,7 +147,8 @@ struct lc_time_data
 
   const char **alt_digits;
   const wchar_t **walt_digits;
-  int alt_digits_initialized, walt_digits_initialized;
+  int alt_digits_initialized;
+  int walt_digits_initialized;
 };
 
 
index 6d697d8..ab7998c 100644 (file)
@@ -938,8 +938,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
            *(long int *) va_arg (ap, void *) = done;                         \
          else if (is_char)                                                   \
            *(char *) va_arg (ap, void *) = done;                             \
-         else if (is_long_num)                                               \
-           *(long int *) va_arg (ap, void *) = done;                         \
          else if (!is_short)                                                 \
            *(int *) va_arg (ap, void *) = done;                              \
          else                                                                \
@@ -950,8 +948,6 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
          *(long long int *) args_value[fspec->data_arg].pa_pointer = done;   \
        else if (is_long_num)                                                 \
          *(long int *) args_value[fspec->data_arg].pa_pointer = done;        \
-       else if (is_long_num)                                                 \
-         *(long int *) args_value[fspec->data_arg].pa_pointer = done;        \
        else if (is_char)                                                     \
          *(char *) args_value[fspec->data_arg].pa_pointer = done;            \
        else if (!is_short)                                                   \