platform/upstream/linaro-glibc.git
21 years agoUpdate.
Ulrich Drepper [Tue, 14 Jan 2003 01:20:41 +0000 (01:20 +0000)]
Update.

2003-01-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c: Avoid
unterminated string literals.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: Likewise.

2003-01-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
(PSEUDO): Code reordering.  Move CENABLE and CDISABLE literals from
PSEUDO_END to PSEUDO.
(PSEUDO_END): Remove.
(SINGLE_THREAD_P): Save an instruction.
* sysdeps/unix/sysv/linux/s390/s390-32/vfork.S (__vfork): Add missing
parameter to SINGLE_THREAD_P call.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO):
Code reordering.

21 years ago(CFLAGS-pthread_self.c): New definition.
Ulrich Drepper [Tue, 14 Jan 2003 00:34:21 +0000 (00:34 +0000)]
(CFLAGS-pthread_self.c): New definition.

21 years ago* sysdeps/unix/sysv/linux/m68k/vfork.S: New file.
Andreas Schwab [Mon, 13 Jan 2003 09:55:29 +0000 (09:55 +0000)]
* sysdeps/unix/sysv/linux/m68k/vfork.S: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 13 Jan 2003 09:28:02 +0000 (09:28 +0000)]
Update.

2003-01-13  Ulrich Drepper  <drepper@redhat.com>

* locale/programs/charmap-dir.c (charmap_readdir): Use struct
dirent64 instead of struct dirent for dirent.  Call readdir64
instead of readdir.

* locale/programs/locfile.c (siblings_uncached): Use struct
dirent64 instead of struct dirent for other_dentry.  Call
readdir64 instead of readdir.

* elf/ldconfig.c (direntry): Change type to struct dirent64.
(search_dir): Use readdir64 instead of readdir.
Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.

21 years ago(direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of...
Ulrich Drepper [Mon, 13 Jan 2003 08:53:14 +0000 (08:53 +0000)]
(direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of readdir.

21 years ago* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,
Roland McGrath [Mon, 13 Jan 2003 03:45:38 +0000 (03:45 +0000)]
* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,

not strtol.  The former is usable in ld.so, the latter not.

21 years ago* include/fcntl.h: Declare __libc_creat.
Roland McGrath [Mon, 13 Jan 2003 03:42:27 +0000 (03:42 +0000)]
* include/fcntl.h: Declare __libc_creat.

* sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs,
libhurduser-link.so-no-z-defs): New variables.

* malloc/malloc.c: Revert last change.
* malloc/malloc.h (_int_*): Move these decls to ...
* include/malloc.h: ... here.  Add attribute_hidden.
(_int_valloc): Declare it too.

21 years ago2003-01-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 13 Jan 2003 03:42:08 +0000 (03:42 +0000)]
2003-01-12  Roland McGrath  <roland@redhat.com>

* include/fcntl.h: Declare __libc_creat.

21 years agoUpdate.
Ulrich Drepper [Mon, 13 Jan 2003 02:10:09 +0000 (02:10 +0000)]
Update.

* elf/dl-close.c (_dl_close): Type typo, must be == not = in
search for removed searchlist.  Reported by Roland McGrath.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 23:44:14 +0000 (23:44 +0000)]
Update.

* io/ftwtest-sh: Add test for case of symlink to nonexisting file
given as start file.

* io/ftw.c (ftw_startup): Use correct name in check for symlink
without existing target.  Patch by Jim Meyering.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 23:13:14 +0000 (23:13 +0000)]
Update.

* Makerules (build-shlib-helper): Don't use -z defs linker option
if no-z-defs is defined either.

2003-01-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused
file.

2003-01-10  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 22:54:47 +0000 (22:54 +0000)]
Update.

* io/ftwtest-sh: Add test case for relative path with /. at the end.

2003-01-12  Jim Meyering  <jim@meyering.net>

* io/ftw.c (ftw_startup): When trying to stat the starting directory,
use the basename if we've already chdir'd into its parent directory.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

to change directory after call to ftw_dir.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 20:44:20 +0000 (20:44 +0000)]
Update.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

* io/ftw.c (process_entry): Use relative path when using chdir()
to change direcoty after call to ftw_dir.
* io/ftwtest-sh: Add test for relative path argument to nftw()
with FTW_CHDIR option.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 19:40:05 +0000 (19:40 +0000)]
Update.

2002-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL):
Define for powerpc.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment
into account.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INTERNAL_SYSCALL): Make use of ERR parameter.
(INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
INTERNAL_SYSCALL_ERROR_P): Adjust accordingly.
(INLINE_SYSCALL): Make use of INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file.

2002-01-09  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute
DTPREL64 and TPREL64 without loadbase applied.

2002-01-09  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/alpha/sysdep.S: Use correct definition of errno
for NOT_IN_libc.

* sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits...
* sysdeps/unix/alpha/sysdep.h: ... here.
(PSEUDO_LOADGP): Remove.
(PSEUDO_PROLOGUE): Load GP in non-pic case.
(SYSCALL_ERROR_LABEL): New.
(PSEUDO): Use it in error branch.
(PSEUDO_END): Add $syscall_error label.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 19:29:11 +0000 (19:29 +0000)]
Update.

2002-01-09  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Assume only
ret follows pseudo, and thus avoid branch-to-branch in cancel
case.  Use SYSCALL_ERROR_LABEL.

21 years ago(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.
Ulrich Drepper [Sun, 12 Jan 2003 19:22:32 +0000 (19:22 +0000)]
(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.

21 years agoUpdate.
Andreas Jaeger [Sun, 12 Jan 2003 19:10:22 +0000 (19:10 +0000)]
Update.

2003-01-12  Andreas Jaeger  <aj@suse.de>

* math/bits/mathcalls.h: Round is a const function.

21 years agoRound is a const function.
Andreas Jaeger [Sun, 12 Jan 2003 19:10:08 +0000 (19:10 +0000)]
Round is a const function.

21 years agoUpdate.
Ulrich Drepper [Sun, 12 Jan 2003 10:11:16 +0000 (10:11 +0000)]
Update.

2003-01-11  Jim Meyering  <jim@meyering.net>

* io/ftw.c [HAVE_CONFIG_H]: Include <config.h>.
[HAVE_SYS_PARAM_H || _LIBC]: Guard inclusion of <sys/param.h>.
Include <sys/stat.h>, not <include/sys/stat.h>, if !_LIBC.
[!_LIBC] (__chdir, __closedir, __fchdir, __getcwd, __opendir): Define.
[!_LIBC] (__readdir64, __tdestroy, __tfind, __tsearch): Define.
[!_LIBC] (internal_function, dirent64, MAX): Define.
(__set_errno): Define if not already defined.
(open_dir_stream): When FTW_CHDIR is enabled, invoke opendir on
the basename, not the entire file name.
(process_entry): When FTW_CHDIR is enabled, invoke XSTAT or LXSTAT on
the basename, not the entire file name.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

* string/tester.c (test_strcpy): Disable last added strcpy until
it is fixed.

2003-01-11  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/socket.S: Add cancellation support.

2003-01-11  Andreas Schwab  <schwab@suse.de>

* Makerules: Add vpath for %.dynsym and %.so so that the
implicit rule chaining for check-abi works.

2003-01-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
Add non-PIC case.

2003-01-11  Jakub Jelinek  <jakub@redhat.com>

* elf/tls-macros.h [__ia64__] (__TLS_CALL_CLOBBERS): Define.
[__ia64__] (TLS_LE, TLS_IE): Fix typos.  Add ;; at start of asm if
gp is used early.
[__ia64__] (TLS_LD, TLS_GD): Likewise.  Use __TLS_CALL_CLOBBERS.
* elf/Makefile ($(objpfx)tst-tlsmod5.so, $(objpfx)tst-tlsmod6.so):
Ensure libc.so in DT_NEEDED.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Move
CHECK_STATIC_TLS before l_tls_offset use.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela):
Likewise.
* sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage) [TLS_DTV_AT_TP]:
Allocate TLS_PRE_TCB_SIZE bytes below result.
(_dl_deallocate_tls) [TLS_DTV_AT_TP]: Adjust before freeing.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): If
TLS_INIT_TP_EXPENSIVE is not defined, allocate even if no PT_TLS
segment has been found.  If TLS_DTV_AT_TP, allocate TLS_PRE_TCB_SIZE
bytes below result and add tcb_offset to memsz.
* sysdeps/ia64/dl-tls.h (__tls_get_addr): New prototype.
* sysdeps/ia64/dl-machine.h: Include tls.h.
(elf_machine_type_class): Return ELF_RTYPE_CLASS_PLT for TLS relocs
too.
(elf_machine_rela): Assume if sym_map != NULL sym is non-NULL too.
Handle R_IA64_DTPMOD*, R_IA64_DTPREL* and R_IA64_TPREL* relocations.
* sysdeps/ia64/libc-tls.c: New file.

2003-01-10  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc64/sysdep.h (PSEUDO_RET): Add branch hit.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h (STAT_VER_LINUX):
Fix type.  Move definition out of #if.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Add cancellation
support.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Remove
ftruncate64, pread64, pwrite64, truncate64 entries.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
(INLINE_SYSCALL): New version that supports function call like
syscalls.  Add __builtin_expect.
(LOADARGS_n): Add argument size safety checks.
(INTERNAL_SYSCALL): New Macro.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h [__PPC_ELF_H]: Avoid
redefinition of elf_fpreg_t and elf_fpregset_t.

2003-01-12  Ulrich Drepper  <drepper@redhat.com>

* elf/dl-close.c (_dl_close): Add several asserts.  Correct and
simplify test for unloading.  If loader of a DSO is unloaded do not
use its scope anymore.  Fall back to own scope and adjust opencounts.
Fix several comments.
* elf/dl-deps.c (_dl_map_object_deps): Always allocate memory for
the l_searchlist, not only for l_initfini.

* elf/dl-lookup.c (add_dependencies): Avoid creating relocation
dependencies if objects cannot be removed.  Remove object with the
definition as not unloadable if necessary.

* elf/reldep6.c: Create relocation dependency before closing the first
module.

2003-01-10  Guido Günther  <agx@sigxcpu.org>
* elf/Makefile: Add rules to build and run reldep9 test.
* elf/reldep9.c: New file.
* elf/reldep9mod1.c: New file.
* elf/reldep9mod2.c: New file.
* elf/reldep9mod3.c: New file.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>

* elf/Makefile: Add rules to build and run nodelete2 test.
* elf/nodelete2.c: New file.
* elf/nodel2mod1.c: New file.
* elf/nodel2mod2.c: New file.
* elf/nodel2mod3.c: New file.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>

21 years agoTest modules for DF_1_NODELETE test.
Ulrich Drepper [Sun, 12 Jan 2003 07:52:53 +0000 (07:52 +0000)]
Test modules for DF_1_NODELETE test.

21 years agoUpdate
Andreas Jaeger [Sat, 11 Jan 2003 15:27:02 +0000 (15:27 +0000)]
Update

2003-01-10  Guido Günther <agx@sigxcpu.org>

* sysdeps/unix/mips/fork.S: Add PSEUDO_END.
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/pipe.S: Likewise.

21 years ago* sysdeps/unix/mips/fork.S: add PSEUDO_END.
Andreas Jaeger [Sat, 11 Jan 2003 15:26:35 +0000 (15:26 +0000)]
* sysdeps/unix/mips/fork.S: add PSEUDO_END.

* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/pipe.S: Likewise.

21 years ago* sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file.
Andreas Schwab [Fri, 10 Jan 2003 15:36:43 +0000 (15:36 +0000)]
* sysdeps/unix/sysv/linux/m68k/getsysstats.c: New file.

21 years ago* sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which
Andreas Schwab [Fri, 10 Jan 2003 14:09:38 +0000 (14:09 +0000)]
* sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which

are known to have the vfork syscall.

* sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it.

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL)
(__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64)
(__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12.

21 years agoOptimize for kernels which are known to have the vfork syscall.
Andreas Schwab [Fri, 10 Jan 2003 14:05:26 +0000 (14:05 +0000)]
Optimize for kernels which are known to have the vfork syscall.

21 years agoUpdate.
Ulrich Drepper [Thu, 9 Jan 2003 20:30:21 +0000 (20:30 +0000)]
Update.

2003-01-09  Jakub Jelinek  <jakub@redhat.com>

* posix/test-vfork.c (noop): Add __attribute_noinline__.
* sysdeps/generic/sysdep.h (JUMPTARGET): Define if not defined.
* sysdeps/i386/sysdep.h (JUMPTARGET): Undefine JUMPTARGET before
defining it.
* sysdeps/powerpc/powerpc32/sysdep.h (JUMPTARGET): Likewise.
* sysdeps/powerpc/powerpc64/sysdep.h (JUMPTARGET): Likewise.
* sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Likewise.
* sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Likewise.
* sysdeps/x86_64/sysdep.h (JUMPTARGET): Likewise.

21 years ago(noop): Add __attribute_noinline__.
Ulrich Drepper [Thu, 9 Jan 2003 19:45:08 +0000 (19:45 +0000)]
(noop): Add __attribute_noinline__.

21 years ago* sysdeps/m68k/fpu/libm-test-ulps: Regenerated.
Andreas Schwab [Thu, 9 Jan 2003 15:30:19 +0000 (15:30 +0000)]
* sysdeps/m68k/fpu/libm-test-ulps: Regenerated.

21 years agoRegenerated.
Andreas Schwab [Thu, 9 Jan 2003 15:30:03 +0000 (15:30 +0000)]
Regenerated.

21 years agoUpdate.
Ulrich Drepper [Thu, 9 Jan 2003 04:19:03 +0000 (04:19 +0000)]
Update.

2003-01-08  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/arm/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
argument.
(INTERNAL_SYSCALL_DECL): Define.

2003-01-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (INTERNAL_SYSCALL,
INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Add err
argument.
(INTERNAL_SYSCALL_DECL): Define.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
(INLINE_SYSCALL): Adjust.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Add INTERNAL_SYSCALL_DECL,
add err argument to INTERNAL_SYSCALL* macros.
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Likewise.
* sysdeps/unix/sysv/linux/m68k/brk.c (__brk): Likewise.
* sysdeps/unix/sysv/linux/m68k/getpagesize.c  (__getpagesize):
Likewise.
* sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Use
INLINE_SYSCALL instead of INTERNAL_SYSCALL and setting errno.

21 years agoUpdate.
Ulrich Drepper [Wed, 8 Jan 2003 06:49:39 +0000 (06:49 +0000)]
Update.

Unify symbols in user namespace exported by libc.so and libc.a.
* argp/argp-fmtstream.c: Don't define argp_make_fmtstream,
argp_fmtstream_free, and argp_fmtstream_printf.
* argp/argp-fs-xinl.c: Don't define argp_fmtstream_putc,
argp_fmtstream_puts, argp_fmtstream_write, argp_fmtstream_set_lmargin,
argp_fmtstream_set_rmargin, argp_fmtstream_set_wmargin, and
argp_fmtstream_point.
* gmon/gmon.c: Don't define write_profiling.
* libio/genops.c: Don't define _cleanup.

* intl/explodename.c (_nl_find_language.c): Mark as static.
* intl/loadinfo.h: Remove _nl_find_language prototype.

* libio/fileops.c (_IO_file_seekoff_maybe_mmap): Mark as static.
* libio/libioP.h: Remove declaration.

* libio/iopopen.c (_IO_proc_jumps): Mark as static.
* libio/libioP.h: Remove declaration.

* sysdeps/generic/unwind-dw2.c: Mark __frame_state_for with STATIC.
* sysdeps/generic/framestate.c: Define STATIC before including
unwind-dw2.c.

21 years agoUpdate.
Ulrich Drepper [Wed, 8 Jan 2003 02:31:28 +0000 (02:31 +0000)]
Update.

2003-01-07  Ulrich Drepper  <drepper@redhat.com>

* time/Versions [GLIBC_2.3.2] (libc): Export strptime_l.

21 years agoUpdate.
Ulrich Drepper [Wed, 8 Jan 2003 00:22:00 +0000 (00:22 +0000)]
Update.

2003-01-06  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/arm/sysdep.S (syscall_error): Optimise a little.
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Remove .type
directive.
(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
(SYSCALL_ERROR): New.
(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
handling code.
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
* sysdeps/unix/sysv/linux/arm/socket.S (__socket): Use
SYSCALL_ERROR in place of __syscall_error.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
__bswap_32, __bswap_64): Put x into temporary variable
to avoid warnings.
[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
(inline) functions.
* sysdeps/s390/bits/byteswap.h [__GNUC__ >= 2] (__bswap_16,
__bswap_32, __bswap_64): Put x into temporary variable
to avoid warnings.
[!__GNUC__] (__bswap_16, __bswap_32, __bswap_64): Change into static
(inline) functions.
* sysdeps/i386/bits/byteswap.h [!__GNUC__] (__bswap_16, __bswap_32):
Likewise.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/adjtime.c (ntp_adjtime): New weak
alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 18:54:08 +0000 (18:54 +0000)]
Update.

2003-01-07  Jakub Jelinek  <jakub@redhat.com>

* elf/rtld.c (_rtld_global): Remove _dl_dynamic_weak initializer.
* elf/dl-support.c (_dl_dynamic_weak): Initialize to 0.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 17:52:54 +0000 (17:52 +0000)]
Update.

2003-01-07  Ulrich Drepper  <drepper@redhat.com>

* math/libm-test.inc (significand_test): New function.
(main): Call it.

* elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explicitly

21 years ago(significand_test): New function. (main): Call it.
Ulrich Drepper [Tue, 7 Jan 2003 17:48:42 +0000 (17:48 +0000)]
(significand_test): New function. (main): Call it.

21 years ago* sysdeps/i386/i486/bits/string.h (memset): Add parens around macro
Roland McGrath [Tue, 7 Jan 2003 07:46:18 +0000 (07:46 +0000)]
* sysdeps/i386/i486/bits/string.h (memset): Add parens around macro

arguments.
(memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise.
(strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise.
(index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise.

* string/tester.c (test_strcpy): Add test with `void *' arguments.

* malloc/malloc.c: Mark all _int_* functions as static.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 07:44:27 +0000 (07:44 +0000)]
Update.

* sysdeps/i386/fpu/s_significandl.c (__significandl): Really
return significand and not the exponent.
Reported by Nelson H. F. Beebe <beebe@math.utah.edu>.

21 years ago(__significandl): Really return significand and not the exponent.
Ulrich Drepper [Tue, 7 Jan 2003 07:42:11 +0000 (07:42 +0000)]
(__significandl): Really return significand and not the exponent.

21 years ago2003-01-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 7 Jan 2003 07:38:02 +0000 (07:38 +0000)]
2003-01-06  Roland McGrath  <roland@redhat.com>

* string/tester.c (test_strcpy): Add test with `void *' arguments.

21 years ago2003-01-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 7 Jan 2003 07:37:54 +0000 (07:37 +0000)]
2003-01-06  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/i486/bits/string.h (memset): Add parens around macro
arguments.
(memcpy, memrchr, strcpy, __stpcpy, strncpy, strcat): Likewise.
(strcmp, strncat, strncmp, strchr, __strchrnul, strchrnul): Likewise.
(index, strrchr, rindex, strcspn, strspn, strpbrk, strstr): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 05:50:55 +0000 (05:50 +0000)]
Update.

* elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explcitly
taking address of iov in INTERNAL_SYSCALL call.  Patch by Franz Sirl.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 02:45:24 +0000 (02:45 +0000)]
Update.

2003-01-06  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c: Makr all _int_* functions as static.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 00:49:44 +0000 (00:49 +0000)]
Update.

2003-01-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/alpha/sysdep.h (PSEUDO): Use PSEUDO_PREPARE_ARGS.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add cancellation
handling.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 7 Jan 2003 00:42:43 +0000 (00:42 +0000)]
Update.

2003-01-06  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Add branch hint.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Add cancellation
support.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Remove
ftruncate64, truncate64, pread64 and pwrite64 entries.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INLINE_SYSCALL): Add __builtin_expect.
(LOADARGS_n): Add argument size safety checks.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: New file.

2003-01-06  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Define.
* sysdeps/generic/creat.c: Include sysdep-cancel.h.
(LIBC_CANCEL_HANDLED): Add.

* sysdeps/unix/sysv/linux/alpha/sysdep.h
(inline_syscall_r0_constraint): Rename to...
(inline_syscall_r0_out_constraint): ... this.  Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.

21 years agoMakefile for Linux/Alpha.
Ulrich Drepper [Mon, 6 Jan 2003 23:51:32 +0000 (23:51 +0000)]
Makefile for Linux/Alpha.

21 years ago* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make
Andreas Schwab [Mon, 6 Jan 2003 18:12:00 +0000 (18:12 +0000)]
* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Make

sure this is always inlined.
(elf_machine_rela): Likewise.

* sysdeps/m68k/Makefile (sysdep-CFLAGS): Increase inline limit.

21 years ago(elf_machine_runtime_setup): Make sure this is always inlined. (elf_machine_rela...
Andreas Schwab [Mon, 6 Jan 2003 18:10:46 +0000 (18:10 +0000)]
(elf_machine_runtime_setup): Make sure this is always inlined. (elf_machine_rela): Likewise.

21 years ago* Makeconfig (+mkdep): Add -MP flag.
Roland McGrath [Mon, 6 Jan 2003 00:42:06 +0000 (00:42 +0000)]
* Makeconfig (+mkdep): Add -MP flag.

Suggested by Art Haas <ahaas@airmail.net>.

21 years ago2003-01-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 6 Jan 2003 00:41:51 +0000 (00:41 +0000)]
2003-01-04  Roland McGrath  <roland@redhat.com>

* Makeconfig (+mkdep): Add -MP flag.
Suggested by Art Haas <ahaas@airmail.net>.

21 years agoBump to 0.15.
Ulrich Drepper [Sun, 5 Jan 2003 20:17:57 +0000 (20:17 +0000)]
Bump to 0.15.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 20:10:01 +0000 (20:10 +0000)]
Update.

* tst-cancel-wrappers.sh: Invoke gawk not awk since we use GNU awk
features.  Reported by Marijn Ros <marijn@mad.scientist.com>.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 19:35:35 +0000 (19:35 +0000)]
Update.

Patch by Marijn Ros <marijn@mad.scientist.com>.

21 years ago* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
Andreas Schwab [Sun, 5 Jan 2003 17:16:17 +0000 (17:16 +0000)]
* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.

21 years ago* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):
Andreas Schwab [Sun, 5 Jan 2003 17:10:02 +0000 (17:10 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (SINGLE_THREAD_P):

Fix for PIC.
(CENABLE): Likewise.
(CDISABLE): Likewise.

21 years ago(SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.
Andreas Schwab [Sun, 5 Jan 2003 17:09:21 +0000 (17:09 +0000)]
(SINGLE_THREAD_P): Fix for PIC. (CENABLE): Likewise. (CDISABLE): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 11:26:28 +0000 (11:26 +0000)]
Update.

2003-01-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/unix/sysv/linux/sh/clone.S (__clone): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/pipe.S (__libc_pipe): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Likewise.
Add support for cancellation handling.
* sysdeps/unix/sysv/linux/sh/syscall.S (__syscall): Use
SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/sh/vfork.S (__vfork): Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Likewise.
Add support for cancellation handling.
(SYSCALL_ERROR_HANDLER): Define PIC variants.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 11:05:49 +0000 (11:05 +0000)]
Update.

2003-01-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Mark
__syscall_pread64 and __syscall_pwrite64 cancelable.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
(INTERNAL_SYSCALL): New macro.
(LOADARGS_0, LOADARGS_1): Fix.

2003-01-05  Ulrich Drepper  <drepper@redhat.com>

* Makerules (build-shlip-helper): Unless told otherwise, add
-Wl,-z,defs to linker command line.
* rt/Makefile (librt.so): Link with ld.so.
* dlfcn/Makefile (libdl.so): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 10:55:15 +0000 (10:55 +0000)]
Update.

2003-01-04  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile: New file.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 10:21:08 +0000 (10:21 +0000)]
Update.

2003-01-04  Jakub Jelinek  <jakub@redhat.com>

* internals.h (LIBC_THREAD_GETMEM, LIBC_THREAD_SETMEM): Define
even if NOT_IN_libc is defined.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 07:05:40 +0000 (07:05 +0000)]
Update.

2003-01-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Add support for
cancellation handling.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: Likewise.

2003-01-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Correct
order of parameters passed to kill.

* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond fields.

21 years agoUpdate.
Ulrich Drepper [Sun, 5 Jan 2003 04:58:18 +0000 (04:58 +0000)]
Update.

* Makefile (tests): Add tst-cancel7.
(tst-cancel7-ARGS): New variable.

21 years ago(cancel_handler): Correct order of parameters passed to kill.
Ulrich Drepper [Sun, 5 Jan 2003 04:10:16 +0000 (04:10 +0000)]
(cancel_handler): Correct order of parameters passed to kill.

21 years agoinitializer syntax to C99.
Andreas Schwab [Sat, 4 Jan 2003 22:56:19 +0000 (22:56 +0000)]
initializer syntax to C99.

21 years ago* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond
Andreas Schwab [Sat, 4 Jan 2003 22:53:07 +0000 (22:53 +0000)]
* sysdeps/unix/sysv/linux/m68k/bits/stat.h: Add nanosecond

fields.

21 years agoAdd nanosecond fields.
Andreas Schwab [Sat, 4 Jan 2003 22:51:16 +0000 (22:51 +0000)]
Add nanosecond fields.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 22:41:52 +0000 (22:41 +0000)]
Update.

* sysdeps/posix/system.c (do_system): Minor optimizations.  Remove
unnecessary code.
Correct reference counter in case SIGQUIT handler installation failed.

21 years ago(do_system): Minor optimizations. Remove unnecessary code.
Ulrich Drepper [Sat, 4 Jan 2003 22:37:17 +0000 (22:37 +0000)]
(do_system): Minor optimizations.  Remove unnecessary code.

21 years ago* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
Roland McGrath [Sat, 4 Jan 2003 21:42:58 +0000 (21:42 +0000)]
* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to

(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years ago2002-01-03 Paul Eggert <eggert@twinsun.com>
Roland McGrath [Sat, 4 Jan 2003 21:42:30 +0000 (21:42 +0000)]
2002-01-03  Paul Eggert  <eggert@twinsun.com>

* malloc/obstack.h (__INT_TO_PTR) [__STDC__]: Cast result to
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'.  Problem reported by Nelson H. F. Beebe.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 20:42:48 +0000 (20:42 +0000)]
Update.

2003-01-04  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/system.c (do_system): Correct reference counter in
case SIGQUIT handler installation failed.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 09:45:01 +0000 (09:45 +0000)]
Update.

* old_pthread_cond_broadcast.c: Optimize initialization a bit to work
around gcc defficiencies.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 08:01:29 +0000 (08:01 +0000)]
Update.

2003-01-04  Ulrich Drepper  <drepper@redhat.com>

* pthreadP.h (pthread_cond_2_0_t): Remove unneeded lock element.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 02:52:17 +0000 (02:52 +0000)]
Update.

* Makefile (tests): Add tst-cond7.
* tst-cond7.c: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 4 Jan 2003 02:12:26 +0000 (02:12 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(condvar_cleanup): Get condvar address from the right place.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 23:46:00 +0000 (23:46 +0000)]
Update.

2003-01-03  Ulrich Drepper  <drepper@redhat.com>

* include/libc-symbols.h [HAVE_WEAK_SYMBOLS] (_weak_extern):
Define using _Pragma(weak ...).

21 years ago[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).
Ulrich Drepper [Fri, 3 Jan 2003 23:43:53 +0000 (23:43 +0000)]
[HAVE_WEAK_SYMBOLS] (_weak_extern): Define using _Pragma(weak ...).

21 years ago* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
Roland McGrath [Fri, 3 Jan 2003 23:15:04 +0000 (23:15 +0000)]
* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK

* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* td_thr_get_info.c (td_thr_get_info): Likewise.
* td_thr_getgregs.c (td_thr_getgregs): Likewise.
* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* td_ta_thr_iter.c (iterate_thread_list): Likewise.

21 years ago2003-01-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 3 Jan 2003 23:14:49 +0000 (23:14 +0000)]
2003-01-03  Roland McGrath  <roland@redhat.com>

* td_thr_setgregs.c (td_thr_setgregs): *_BIT -> *_BITMASK
* td_thr_setfpregs.c (td_thr_setfpregs): Likewise.
* td_thr_get_info.c (td_thr_get_info): Likewise.
* td_thr_getgregs.c (td_thr_getgregs): Likewise.
* td_thr_getfpregs.c (td_thr_getfpregs): Likewise.
* td_ta_thr_iter.c (iterate_thread_list): Likewise.

21 years agoCancellation support for syscalls on Linux/Alpha.
Ulrich Drepper [Fri, 3 Jan 2003 23:12:17 +0000 (23:12 +0000)]
Cancellation support for syscalls on Linux/Alpha.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 22:32:41 +0000 (22:32 +0000)]
Update.

2003-01-03  Andreas Jaeger  <aj@suse.de>, Jakub Jelinek <jakub@redhat.com>

* resolv/res_libc.c: Provide declaration for __res_init_weak and
reorder declarations.

2003-01-03  Art Haas  <ahaas@airmail.net>

* localedata/tests-mbwc/dat_iswalnum.c: Convert GCC extension
initiailzer syntax to C99.
* localedata/tests-mbwc/dat_iswalpha.c: Likewise.
* localedata/tests-mbwc/dat_iswcntrl.c: Likewise.
* localedata/tests-mbwc/dat_iswctype.c: Likewise.
* localedata/tests-mbwc/dat_iswdigit.c: Likewise.
* localedata/tests-mbwc/dat_iswgraph.c: Likewise.
* localedata/tests-mbwc/dat_iswlower.c: Likewise.
* localedata/tests-mbwc/dat_iswprint.c: Likewise.
* localedata/tests-mbwc/dat_iswpunct.c: Likewise.
* localedata/tests-mbwc/dat_iswspace.c: Likewise.
* localedata/tests-mbwc/dat_iswupper.c: Likewise.
* localedata/tests-mbwc/dat_iswxdigit.c: Likewise.
* localedata/tests-mbwc/dat_mblen.c: Likewise.
* localedata/tests-mbwc/dat_mbrlen.c: Likewise.
* localedata/tests-mbwc/dat_mbrtowc.c: Likewise.
* localedata/tests-mbwc/dat_mbsrtowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbstowcs.c: Likewise.
* localedata/tests-mbwc/dat_mbtowc.c: Likewise.
* localedata/tests-mbwc/dat_strcoll.c: Likewise.
* localedata/tests-mbwc/dat_strfmon.c: Likewise.
* localedata/tests-mbwc/dat_strxfrm.c: Likewise.
* localedata/tests-mbwc/dat_swscanf.c: Likewise.
* localedata/tests-mbwc/dat_towctrans.c: Likewise.
* localedata/tests-mbwc/dat_towlower.c: Likewise.
* localedata/tests-mbwc/dat_towupper.c: Likewise.
* localedata/tests-mbwc/dat_wcrtomb.c: Likewise.
* localedata/tests-mbwc/dat_wcscat.c: Likewise.
* localedata/tests-mbwc/dat_wcschr.c: Likewise.
* localedata/tests-mbwc/dat_wcscmp.c: Likewise.
* localedata/tests-mbwc/dat_wcscoll.c: Likewise.
* localedata/tests-mbwc/dat_wcscpy.c: Likewise.
* localedata/tests-mbwc/dat_wcscspn.c: Likewise.
* localedata/tests-mbwc/dat_wcslen.c: Likewise.
* localedata/tests-mbwc/dat_wcsncat.c: Likewise.
* localedata/tests-mbwc/dat_wcsncmp.c: Likewise.
* localedata/tests-mbwc/dat_wcsncpy.c: Likewise.
* localedata/tests-mbwc/dat_wcspbrk.c: Likewise.
* localedata/tests-mbwc/dat_wcsrtombs.c: Likewise.
* localedata/tests-mbwc/dat_wcsspn.c: Likewise.
* localedata/tests-mbwc/dat_wcsstr.c: Likewise.
* localedata/tests-mbwc/dat_wcstod.c: Likewise.
* localedata/tests-mbwc/dat_wcstok.c: Likewise.
* localedata/tests-mbwc/dat_wcstombs.c: Likewise.
* localedata/tests-mbwc/dat_wcswidth.c: Likewise.
* localedata/tests-mbwc/dat_wcsxfrm.c: Likewise.
* localedata/tests-mbwc/dat_wctob.c: Likewise.
* localedata/tests-mbwc/dat_wctomb.c: Likewise.
* localedata/tests-mbwc/dat_wctrans.c: Likewise.
* localedata/tests-mbwc/dat_wctype.c: Likewise.
* localedata/tests-mbwc/dat_wcwidth.c: Likewise.

2003-01-03  Richard Henderson  <rth@redhat.com>

* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall_r0_asm): New.
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 21:15:43 +0000 (21:15 +0000)]
Update.

2003-01-03  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/ldsodefs.h (_dl_allocate_tls, _dl_deallocate_tls):
Add rtld_hidden_proto.
* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Add rtld_hidden_def.
(_dl_allocate_tls): Likewise.  Remove INTDEF.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 20:44:14 +0000 (20:44 +0000)]
Update.

2003-01-03  Jakub Jelinek  <jakub@redhat.com>

* Makefile ($(objpfx)libpthread.so): Depend on ld.so.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 19:13:49 +0000 (19:13 +0000)]
Update.

* pthreadP.h (pthread_cond_2_0_t): New type.
(struct pthread_functions): Use new type for 2.0 condvar callbacks.
Use new type for the 2.0 condvar function prototypes.
* forward.c: Use pthread_cond_2_0_t for 2.0 condvar functions.
* old_pthread_cond_init.c: Use pthread_cond_2_0_t for condvar
parameter.
* old_pthread_cond_destroy.c: Likewise.
* old_pthread_cond_broadcast.c: Likewise.  Lock appropriately.
* old_pthread_cond_signal.c: Likewise.
* old_pthread_cond_timedwait.c: Likewise.
* old_pthread_cond_wait.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 09:57:28 +0000 (09:57 +0000)]
Update.

2002-07-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

* sysdeps/sh/memcpy.S: Optimize.  Based on a patch by Toshiyasu
Morita <toshiyasu.morita@hsa.hitachi.com>.
* sysdeps/sh/memcpy.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 08:14:47 +0000 (08:14 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S
(__pthread_cond_wait): Don't save cancellation mode and seq value
in same location.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 08:11:20 +0000 (08:11 +0000)]
Update.

2003-01-03  Ulrich Drepper  <drepper@redhat.com>

* herrno.c (__h_errno_location): Don't define as weak.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 06:51:18 +0000 (06:51 +0000)]
Update.

* sysdeps/pthread/aio_suspend.c (aio_suspend): Don't quite remove
any, but unify the test.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 06:46:11 +0000 (06:46 +0000)]
Update.

2003-01-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/aio_suspend.c (aio_suspend): Simplify by
removing 'any' variable.

21 years agoUpdate.
Ulrich Drepper [Fri, 3 Jan 2003 01:35:14 +0000 (01:35 +0000)]
Update.

2003-01-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/arm/sigaction.c (__sigaction,
sigaction): Protect weak_alias and libc_hidden_weak with
#ifndef LIBC_SIGACTION.
* sysdeps/unix/sysv/linux/ia64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c (__sigaction,
sigaction): Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction,
sigaction): Likewise.  Remove SIGCANCEL handling here.
* sysdeps/unix/sysv/linux/sigaction.c (__sigaction, sigaction):
Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 20:32:33 +0000 (20:32 +0000)]
Update.

2003-01-02  Art Haas  <ahaas@airmail.net>

* login/tst-utmp.c: Convert GCC extension initializer syntax to C99.

2003-01-02  Ulrich Drepper  <drepper@redhat.com>

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* nscd/nscd_nischeck.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
type to avoid strict aliasing problem.
(_nss_dns_gethostbyname2_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
(_nss_dns_getnetbyname_r): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 11:01:30 +0000 (11:01 +0000)]
Update.

2003-01-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding.
* condvar.c: Add symbol versioning.  The compatibility versions
are the same as the change in the interface does not effect this
implementation.
* Versions [libpthread]: Add definitions for new pthread_cond_*
interfaces for version GLIBC_2.3.2.

21 years agoNot needed anymore.
Ulrich Drepper [Thu, 2 Jan 2003 10:13:48 +0000 (10:13 +0000)]
Not needed anymore.

21 years agoUpdate.
Andreas Jaeger [Thu, 2 Jan 2003 07:51:32 +0000 (07:51 +0000)]
Update.

2003-01-01  Jakub Jelinek  <jakub@redhat.com>

* io/sys/stat.h: Include time.h with __need_timespec even if
__USE_MISC is defined but __USE_XOPEN is not.

21 years agoInclude time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN...
Andreas Jaeger [Thu, 2 Jan 2003 07:51:18 +0000 (07:51 +0000)]
Include time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN is not.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 07:12:51 +0000 (07:12 +0000)]
Update.

2003-01-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid
unnecessary zero offset when addressing MUTEX.

21 years agoPretty printing.
Ulrich Drepper [Thu, 2 Jan 2003 06:29:48 +0000 (06:29 +0000)]
Pretty printing.

21 years ago (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
Andreas Jaeger [Wed, 1 Jan 2003 19:56:23 +0000 (19:56 +0000)]
    (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

21 years ago2003-01-01 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 1 Jan 2003 16:29:49 +0000 (16:29 +0000)]
2003-01-01  Andreas Jaeger  <aj@suse.de>

        * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
        type to avoid strict aliasing problem.
        (_nss_dns_gethostbyname2_r): Likewise.
        * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
        (_nss_dns_getnetbyname_r): Likewise.
* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.

21 years ago * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union ...
Andreas Jaeger [Wed, 1 Jan 2003 16:29:36 +0000 (16:29 +0000)]
    * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union         type to avoid strict aliasing problem.         (_nss_dns_gethostbyname2_r): Likewise.         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.         (_nss_dns_getnetbyname_r): Likewise.

* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.