Roland McGrath [Thu, 5 Aug 2004 01:11:02 +0000 (01:11 +0000)]
* posix/tst-waitid.c (test_child): Sleep a second before stopping.
(do_test): Bump sleep to three seconds.
(sigchld, check_sigchld): New functions.
(do_test): Handle SIGCHLD and check for getting the right details.
Roland McGrath [Thu, 5 Aug 2004 01:10:42 +0000 (01:10 +0000)]
2004-08-04 Roland McGrath <roland@redhat.com>
* posix/tst-waitid.c (test_child): Sleep a second before stopping.
(do_test): Bump sleep to three seconds.
(sigchld, check_sigchld): New functions.
(do_test): Handle SIGCHLD and check for getting the right details.
Ulrich Drepper [Wed, 4 Aug 2004 21:58:10 +0000 (21:58 +0000)]
(do_release_all): Add __libc_freeres_fn_section.
Ulrich Drepper [Wed, 4 Aug 2004 21:40:51 +0000 (21:40 +0000)]
(__vstrfmon_l): Memset whole info structure instead of trying to initialize some, but not all, fields one by one.
Roland McGrath [Wed, 4 Aug 2004 21:40:06 +0000 (21:40 +0000)]
[WCONTINUED]: Test WCONTINUED functionality.
Roland McGrath [Wed, 4 Aug 2004 21:38:45 +0000 (21:38 +0000)]
* posix/tst-waitid.c (do_test): Kill the child process when bailing
out early on some failure.
Roland McGrath [Wed, 4 Aug 2004 21:38:39 +0000 (21:38 +0000)]
2004-08-04 Roland McGrath <roland@redhat.com>
* posix/tst-waitid.c (do_test): Kill the child process when bailing
out early on some failure.
Ulrich Drepper [Wed, 4 Aug 2004 06:40:00 +0000 (06:40 +0000)]
(handle_request): Missing _() in last patch.
Ulrich Drepper [Wed, 4 Aug 2004 06:25:42 +0000 (06:25 +0000)]
Update.
2004-08-03 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (handle_request): Print more descriptive
message for invalid request types.
Ulrich Drepper [Mon, 2 Aug 2004 22:33:57 +0000 (22:33 +0000)]
Update.
2004-08-02 Jakub Jelinek <jakub@redhat.com>
* iconvdata/ibm932.c (BODY): Avoid binary search for ch >= 0xffff.
Always treat high as highest number in range + 1.
* iconvdata/ibm943.c (BODY): Likewise.
2004-07-31 Bruno Haible <bruno@clisp.org>
* iconvdata/JISX0213.TXT: Updated to JISX0213 plane 1 version 2004.
* iconvdata/jisx0213.c (__jisx0213_to_ucs_main,
__jisx0213_to_ucs_pagestart, __jisx0213_from_ucs_level1,
__jisx0213_from_ucs_level2): Regenerated.
* iconvdata/jisx0213.h (jisx0213_added_in_2004_p): New function.
* iconvdata/iso-2022-jp-3.c (JISX0213_1_2000_set): Renamed from
JISX0213_1_set.
(JISX0213_1_2004_set): New enum value.
(BODY for FROM_LOOP): Treat ESC $ ( Q like ESC $ ( O.
(BODY for TO_LOOP): For JISX 0213 plane 1 characters, emit ESC $ ( O
when possible, ESC $ ( Q when needed.
* iconvdata/testdata/EUC-JISX0213: Add the 10 new characters.
* iconvdata/testdata/EUC-JISX0213..UTF8: Update.
* iconvdata/testdata/SHIFT_JISX0213: Add the 10 new characters.
* iconvdata/testdata/SHIFT_JISX0213..UTF8: Update.
* iconvdata/testdata/ISO-2022-JP-3: Add the 10 new JISX0213 characters.
* iconvdata/testdata/ISO-2022-JP-3..UTF8: Update.
2004-07-22 Bruno Haible <bruno@clisp.org>
* iconvdata/gconv-modules (ISO-8859-7): Add alias ISO_8859-7:2003.
Ulrich Drepper [Mon, 2 Aug 2004 16:22:43 +0000 (16:22 +0000)]
Update.
2004-08-02 Ulrich Drepper <drepper@redhat.com>
* linuxthreads.texi (Cleanup Handlers): Fix typo.
Reported by Bjoern Engelmann <bjengelmann@gmx.de>.
Ulrich Drepper [Sat, 31 Jul 2004 17:17:13 +0000 (17:17 +0000)]
Update.
2004-07-29 David S. Miller <davem@redhat.com>
* sysdeps/sparc/sparc64/sparcv9b/memcpy.S (memcpy): Optimize
better for smaller than 256 byte copies. Also, use only one
unrolled loop instead of two for the large copy case.
Ulrich Drepper [Sat, 31 Jul 2004 17:14:51 +0000 (17:14 +0000)]
(memcpy): Optimize better for smaller than 256 byte copies. Also, use only one unrolled loop instead of two for the large copy case.
Richard Henderson [Fri, 30 Jul 2004 18:15:57 +0000 (18:15 +0000)]
* sysdeps/alpha/divq.S: Save t3 before it gets clobbered. * sysdeps/alpha/remq.S: Likewise. * sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the new division algorithms in divl.S and divq.S respectively.
2004-07-30 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/divq.S: Save t3 before it gets clobbered.
* sysdeps/alpha/remq.S: Likewise.
* sysdeps/alpha/div.S, sysdeps/alpha/ldiv.S: Rewrite with the
new division algorithms in divl.S and divq.S respectively.
Ulrich Drepper [Thu, 29 Jul 2004 21:49:38 +0000 (21:49 +0000)]
Update.
2004-07-28 GOTO Masanori <gotom@debian.or.jp>
* timezone/asia: Update from tzdata2004b.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/leapseconds: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* timezone/private.h: Update from tzcode2004b.
* timezone/zic.c: Likewise.
Ulrich Drepper [Tue, 27 Jul 2004 22:52:49 +0000 (22:52 +0000)]
Update.
2004-07-27 Ulrich Drepper <drepper@redhat.com>
* nscd/grpcache.c (cache_addgr): If necessary, add entry also
under the name the user provided.
* nscd/pwdcache.c (cache_addpw): Likewise.
Ulrich Drepper [Tue, 27 Jul 2004 22:51:04 +0000 (22:51 +0000)]
(cache_addpw): If necessary, add entry also under the name the user provided.
Roland McGrath [Tue, 27 Jul 2004 01:20:48 +0000 (01:20 +0000)]
* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
call to __waitpid.
Roland McGrath [Tue, 27 Jul 2004 01:20:15 +0000 (01:20 +0000)]
2004-07-26 Roland McGrath <roland@redhat.com>
* sysdeps/posix/waitid.c [WEXITED]: Clear WEXITED bit in OPTIONS for
call to __waitpid.
Ulrich Drepper [Tue, 27 Jul 2004 01:14:37 +0000 (01:14 +0000)]
Update.
* nscd/hstcache.c (cache_addhst): Fix two scenarios which lead to
memory leaks.
Ulrich Drepper [Mon, 26 Jul 2004 15:22:56 +0000 (15:22 +0000)]
Update.
2004-07-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ifreq.c (__ifreq): Assign pointer for
new buffer at the right time.
Reported by Jakub Bogusz <qboosh@pld-linux.org>.
Ulrich Drepper [Mon, 26 Jul 2004 04:29:07 +0000 (04:29 +0000)]
Update.
2004-07-25 Ulrich Drepper <drepper@redhat.com>
* inet/Versions [libc, GLIBC_2.3.4]: Add getipv4sourcefilter,
getsourcefilter, setipv4sourcefilter, and setsourcefilter.
* inet/Makefile (routines): Likewise.
* inet/netinet/in.h: Add prototypes for getipv4sourcefilter,
getsourcefilter, setipv4sourcefilter, and setsourcefilter.
* sysdeps/generic/getipv4sourcefilter.c: New file.
* sysdeps/generic/setipv4sourcefilter.c: New file.
* sysdeps/generic/getsourcefilter.c: New file.
* sysdeps/generic/setsourcefilter.c: New file.
Ulrich Drepper [Sun, 25 Jul 2004 04:27:09 +0000 (04:27 +0000)]
Update.
2004-07-17 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc64/memcpy.S: Improve instruction scheduling
for POWER4 machines.
Ulrich Drepper [Sun, 25 Jul 2004 03:31:54 +0000 (03:31 +0000)]
[BZ #274]
Update.
2004-07-21 Jakub Jelinek <jakub@redhat.com>
[BZ #274]
* stdlib/strtod_l.c (INTERNAL (__STRTOF)): Fix used >=
BITS_PER_MP_LIMB shifting up.
* stdlib/tst-strtod.c (main): Add new tests.
Ulrich Drepper [Sat, 24 Jul 2004 20:18:57 +0000 (20:18 +0000)]
[BZ #284]
Update.
2004-07-23 Jakub Jelinek <jakub@redhat.com>
[BZ #284]
* sysdeps/pthread/pthread.h (pthread_getcpuclockid): Use __clockid_t
instead of clockid_t.
Ulrich Drepper [Fri, 23 Jul 2004 18:53:26 +0000 (18:53 +0000)]
[BZ #282]
Update.
2004-07-23 Jakub Jelinek <jakub@redhat.com>
[BZ #282]
* libio/iopopen.c (_IO_new_popen): Use _IO_init instead of
_IO_no_init. Remove wd from struct locked_FILE.
(_IO_wproc_jumps): Remove.
Reported by Andrew Josey <a.josey@opengroup.org>.
* stdio-common/Makefile (tests): Add tst-popen.
* stdio-common/tst-popen.c: New test.
Ulrich Drepper [Fri, 23 Jul 2004 07:08:19 +0000 (07:08 +0000)]
Update.
2004-07-23 Ulrich Drepper <drepper@redhat.com>
* posix/bits/posix1_lim.h: Fix values for _POSIX_CHILD_MAX and
_POSIX_OPEN_MAX. Add _POSIX_HOST_NAME_MAX, _POSIX_SYMLINK_MAX,
_POSIX_SYMLOOP_MAX, and _POSIX_RE_DUP_MAX.
Reported by Andrew Josey.
* include/features.h: Document _POSIX_C_SOURCE == 200112L.
* grp/grp.h: Define gid_t if __USE_XOPEN2K is defined.
* pwd/pwd.h: Define uid_t and gid_t if __USE_XOPEN2K is defined.
* io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t,
off_t, time_t, and uid_t if __USE_XOPEN2K is defined.
* signal/signal.h: Define pid_t if __USE_XOPEN2K is defined.
* posix/unistd.h: Define gid_t, off_t, pid_t, uid_t, and
useconds_t if __USE_XOPEN2K is defined.
* io/utime.h: Define time_t if __USE_XOPEN2K is defined.
* libio/stdio.h: Declare fseeko and ftello if __USE_XOPEN2K is defined.
Ulrich Drepper [Fri, 23 Jul 2004 06:27:05 +0000 (06:27 +0000)]
Update.
2004-07-19 Thorsten Kukuk <kukuk@suse.de>
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss): Don't
allocate memory for large temporary variables with alloca.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Compatibility
code must have version GLIBC_2.0. Patch by Dwayne McConnell.
Ulrich Drepper [Fri, 23 Jul 2004 06:09:22 +0000 (06:09 +0000)]
Update.
2004-07-22 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd_getgr_r.c (nscd_getgr_r): Avoid read call with NULL
pointer and zero length.
Ulrich Drepper [Thu, 22 Jul 2004 01:48:25 +0000 (01:48 +0000)]
Update.
2004-07-21 Ulrich Drepper <drepper@redhat.com>
* nscd/cache.c (prune_cache): Print correct list when debugging.
Ulrich Drepper [Thu, 22 Jul 2004 01:47:28 +0000 (01:47 +0000)]
(prune_cache): Print correct list when debugging.
Roland McGrath [Wed, 21 Jul 2004 23:14:58 +0000 (23:14 +0000)]
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
Roland McGrath [Wed, 21 Jul 2004 23:14:37 +0000 (23:14 +0000)]
2004-07-21 Roland McGrath <roland@redhat.com>
* Makefile ($(objpfx)multidir.mk): Use $(make-target-directory).
Ulrich Drepper [Wed, 21 Jul 2004 18:30:11 +0000 (18:30 +0000)]
Update.
2004-07-21 Jakub Jelinek <jakub@redhat.com>
* resolv/res_libc.c (res_init): If RES_INIT is set and
_res.nscount > 0, call __res_nclose and free nsaddrs.
* resolv/Makefile: Add rules to build and run tst-leaks2.
* resolv/tst-leaks2.c: New test.
Ulrich Drepper [Wed, 21 Jul 2004 16:35:30 +0000 (16:35 +0000)]
[BZ #276]
Update.
2004-07-21 Ulrich Drepper <drepper@redhat.com>
* intl/libintl.h: Don't define macros for C++.
Patch by Goto Masanori.
2004-07-22 GOTO Masanori <gotom@debian.or.jp>
[BZ #276]
* include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
* inet/arpa/inet.h: Likewise.
* resolv/inet_addr.c: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add semtimedop.
Ulrich Drepper [Wed, 21 Jul 2004 16:28:40 +0000 (16:28 +0000)]
Change inet_aton type from in_addr_t to int.
Andreas Jaeger [Wed, 21 Jul 2004 06:13:26 +0000 (06:13 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Add
semtimedop.
Andreas Jaeger [Wed, 21 Jul 2004 06:13:15 +0000 (06:13 +0000)]
Add semtimedop.
Roland McGrath [Tue, 20 Jul 2004 22:14:59 +0000 (22:14 +0000)]
* configure.in (add_ons): Substitute this. Move $add_ons handling
after AC_CANONICAL_HOST and default setting of $machine et al.
Don't set $subdirs from $add_ons.
Instead, source add-on/configure fragments early on.
(base_machine): If it's already set, don't set it based on $machine.
(libc_config_ok): New variable, set to no. If an add-on fragment sets
it to yes, skip the tuple sanity check as if --enable-hacker-mode.
(sysnames): Try appending add-on names after machine as well.
* configure: Regenerated.
* config.make.in (add-ons): Set from @add_ons@ instead of @subdirs@.
* Makeconfig ($(common-objpfx)config.status): Also depend on configure
files in $(add_ons) dirs.
* sysdeps/unix/sysv/linux/bits/in.h (struct ip_mreq): Remove
definition, now in netinet/in.h proper.
long. Rewrite example code so that it takes into account l64a output
Roland McGrath [Tue, 20 Jul 2004 22:12:56 +0000 (22:12 +0000)]
2004-07-02 Roland McGrath <roland@redhat.com>
* configure: Don't exit.
Ulrich Drepper [Tue, 20 Jul 2004 19:04:26 +0000 (19:04 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/user.h: Likewise.
Andreas Jaeger [Tue, 20 Jul 2004 18:43:31 +0000 (18:43 +0000)]
Fix entries.
* sysdeps/mips/atomicity.h: Use standard names for ABI macros,
include sgidefs.h where appropriate.
* sysdeps/mips/dl-machine.h: Likewise.
* sysdeps/mips/machine-gmon.h: Likewise.
* sysdeps/mips/bits/setjmp.h: Likewise.
* sysdeps/mips/fpu/bits/mathdef.h: Likewise.
* sysdeps/mips/mips64/__longjmp.c: Likewise.
* sysdeps/mips/mips64/setjmp_aux.c: Likewise.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/user.h:
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
* sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
Andreas Jaeger [Tue, 20 Jul 2004 16:39:51 +0000 (16:39 +0000)]
UPdate.
* sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
Sort by syscalls. Make sure we get headers such as sgidefs.h from
the build tree before just-installed ones.
* sysdeps/mips/atomicity.h, sysdeps/mips/dl-machine.h,
sysdeps/mips/machine-gmon.h, sysdeps/mips/bits/setjmp.h,
sysdeps/mips/fpu/bits/mathdef.h,
sysdeps/mips/mips64/__longjmp.c,
sysdeps/mips/mips64/setjmp_aux.c,
sysdeps/unix/sysv/linux/mips/kernel_stat.h,
sysdeps/unix/sysv/linux/mips/pread.c,
sysdeps/unix/sysv/linux/mips/pread64.c,
sysdeps/unix/sysv/linux/mips/ptrace.c,
sysdeps/unix/sysv/linux/mips/pwrite.c,
sysdeps/unix/sysv/linux/mips/pwrite64.c,
sysdeps/unix/sysv/linux/mips/sigaction.c,
sysdeps/unix/sysv/linux/mips/sigcontextinfo.h,
sysdeps/unix/sysv/linux/mips/bits/fcntl.h,
sysdeps/unix/sysv/linux/mips/bits/sigcontext.h,
sysdeps/unix/sysv/linux/mips/bits/stat.h,
sysdeps/unix/sysv/linux/mips/sys/procfs.h,
sysdeps/unix/sysv/linux/mips/sys/ptrace.h,
sysdeps/unix/sysv/linux/mips/sys/tas.h,
sysdeps/unix/sysv/linux/mips/sys/ucontext.h,
sysdeps/unix/sysv/linux/mips/sys/user.h: Use standard names
for ABI macros, include sgidefs.h where appropriate.
sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h):
Likewise.
sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h):
Likewise.
sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
Andreas Jaeger [Tue, 20 Jul 2004 16:26:45 +0000 (16:26 +0000)]
Update.
2004-07-20 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Update to use
_dl_lookup_symbol_x.
(elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
Andreas Jaeger [Tue, 20 Jul 2004 09:24:49 +0000 (09:24 +0000)]
(__dl_runtime_resolve): Update to use _dl_lookup_symbol_x. (elf_machine_runtime_link_map): Don't INTUSE _dl_signal_error.
Ulrich Drepper [Tue, 20 Jul 2004 07:53:39 +0000 (07:53 +0000)]
Update.
Define struct group_req and struct group_source_req.
Ulrich Drepper [Tue, 20 Jul 2004 07:41:51 +0000 (07:41 +0000)]
Update.
Define MCAST_INCLUDE and MCAST_EXCLUDE.
Ulrich Drepper [Tue, 20 Jul 2004 07:39:10 +0000 (07:39 +0000)]
Update.
* inet/netinet/in.h: Define struct ip_mreq and struct
ip_mreq_source.
* sysdeps/unix/sysv/linux/bits/in.h: Define IP_UNBLOCK_SOURCE,
IP_BLOCK_SOURCE, IP_ADD_SOURCE_MEMBERSHIP,
IP_DROP_SOURCE_MEMBERSHIP, IP_MSFILTER, MCAST_JOIN_GROUP,
MCAST_BLOCK_SOURCE, MCAST_UNBLOCK_SOURCE, MCAST_LEAVE_GROUP,
MCAST_JOIN_SOURCE_GROUP, MCAST_LEAVE_SOURCE_GROUP, and
MCAST_MSFILTER.
Ulrich Drepper [Tue, 20 Jul 2004 07:15:48 +0000 (07:15 +0000)]
[BZ #244]
Update.
2004-07-20 Ulrich Drepper <drepper@redhat.com>
* iconvdata/gconv-modules: Add alias for IBM874 [BZ #244].
Ulrich Drepper [Tue, 20 Jul 2004 07:06:48 +0000 (07:06 +0000)]
[BZ #258]
Update.
2004-07-19 Jakub Jelinek <jakub@redhat.com>
[BZ #258]
* math/libm-test.inc (max_value, min_value): New variables.
(initialize): Initialize them.
(pow_test): Add a couple of new tests.
* sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Don't generate invalid
exception if |y| >= 1U<<31.
* sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Don't generate invalid
exception if |y| >= 1L<<63.
* sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
If y*log2(x) overflows to +-inf, return still +inf/+0 instead of NaN.
* sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
Ulrich Drepper [Tue, 20 Jul 2004 07:04:32 +0000 (07:04 +0000)]
(__ieee754_powf): Don't generate invalid exception if |y| >= 1U<<31.
Andreas Jaeger [Mon, 19 Jul 2004 19:13:59 +0000 (19:13 +0000)]
(CFLAGS-pt-initfini.s): Remove redundant override that missed -g0.
2004-07-19 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/Makefile (CFLAGS-pt-initfini.s):
Remove redundant override that missed -g0.
Ulrich Drepper [Sun, 18 Jul 2004 18:24:30 +0000 (18:24 +0000)]
Update.
2004-07-18 Ulrich Drepper <drepper@redhat.com>
* nscd/pwdcache.c (cache_addpw): Optimize case of unsuccessful
lookup a bit.
* nscd/grpcache.c (cache_addgr): Likewise.
* nscd/hstcache.c (cache_addhst): Likewise.
Ulrich Drepper [Sun, 18 Jul 2004 16:42:54 +0000 (16:42 +0000)]
Update.
2004-07-10 GOTO Masanori <gotom@debian.or.jp>
* sysdeps/s390/s390-32/elf/start.S: Remove symbol _fp_hw.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
Ulrich Drepper [Sun, 18 Jul 2004 16:29:30 +0000 (16:29 +0000)]
Update.
2004-04-16 Andreas Schwab <schwab@suse.de>
* sysdeps/ia64/bits/atomic.h: Cast first argument of
__sync_bool_compare_and_swap_si correct to void*.
Ulrich Drepper [Sat, 17 Jul 2004 17:45:03 +0000 (17:45 +0000)]
Update.
2004-07-17 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv_prog.c (print_known_names): Make machine-readable
output even less cluttered.
Ulrich Drepper [Fri, 16 Jul 2004 23:09:27 +0000 (23:09 +0000)]
[BZ #269]
Update.
2004-07-16 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #269]
* setjmp/Makefile (tests): Add bug269-setjmp.
* setjmp/bug269-setjmp.c: New file.
* sysdeps/powerpc/powerpc64/__longjmp-common.S [SHARED && !IS_IN_rtld]:
Store R2 from jmpbuf in callers TOC save area.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S [SHARED && !IS_IN_rtld]:
Store R2 in TOC save area.
* sysdeps/powerpc/powerpc64/setjmp-common.S [SHARED && !IS_IN_rtld]:
Copy TOC save area from previous frame as R2 (TOC) in jmpbuf.
Ulrich Drepper [Fri, 16 Jul 2004 19:06:46 +0000 (19:06 +0000)]
Update.
2004-07-16 Jakub Jelinek <jakub@redhat.com>
* locale/newlocale.c: Include bits/libc-lock.h.
(__libc_setlocale_lock): Extern decl.
(__newlocale): Use it.
Reported by Ulrich Weigand <Ulrich.Weigand@de.ibm.com>.
Ulrich Drepper [Fri, 16 Jul 2004 18:11:48 +0000 (18:11 +0000)]
Update.
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Remove
static inline __attribute ((always_inline)). Don't define if
NO_CANCELLATION.
(__libc_fcntl): Use INLINE_SYSCALL directly instead of
__fcntl_nocancel.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__fcntl_nocancel):
Remove static inline __attribute ((always_inline)). Don't define
if NO_CANCELLATION.
(__libc_fcntl): Use INLINE_SYSCALL directly instead of
__fcntl_nocancel.
* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Define to
__libc_fcntl if NO_CANCELLATION and __ASSUME_FCNTL64 == 0.
Don't define at all if NO_CANCELLATION and __ASSUME_FCNTL64 > 0.
(__libc_fcntl): Don't define if __fcntl_nocancel is a macro.
Ulrich Drepper [Fri, 16 Jul 2004 17:56:45 +0000 (17:56 +0000)]
[BZ #262]
Update.
2004-07-15 Jakub Jelinek <jakub@redhat.com>
[BZ #262]
* sysdeps/i386/elf/start.S (_start): Use @GOT instead of @GOTOFF
for main.
* elf/Makefile: Add rules to build and run tst-pie1.
* elf/tst-pie1.c: New test.
* elf/tst-piemod1.c: New file.
Ulrich Drepper [Wed, 14 Jul 2004 17:11:14 +0000 (17:11 +0000)]
[BZ #266]
Update.
2004-07-14 Jakub Jelinek <jakub@redhat.com>
[BZ #266]
* manual/string.texi (l64a): Note that the static buffer is 7 bytes
long. Rewrite example code so that it takes account l64a output
shorter than 6 characters.
Reported by Julian Graham <julian.graham@aya.yale.edu>.
Ulrich Drepper [Wed, 14 Jul 2004 16:41:44 +0000 (16:41 +0000)]
Update.
2004-07-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/dl-machine.h: Don't reset _dl_starting_up here.
(elf_machine_rela_relative): Remove unused valiable.
Ulrich Drepper [Wed, 14 Jul 2004 16:24:56 +0000 (16:24 +0000)]
(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.
Roland McGrath [Tue, 13 Jul 2004 01:26:57 +0000 (01:26 +0000)]
Looks like [BZ #209] is fixed again.
Roland McGrath [Tue, 13 Jul 2004 01:25:08 +0000 (01:25 +0000)]
[BZ #209]
2004-07-12 Roland McGrath <roland@frob.com>
* ChangeLog: Spurious commit [BZ #209] for testing loginfo script.
2004-07-12 Roland McGrath <roland@frob.com>
* ChangeLog: Spurious commit [BZ #209] for testing loginfo script.
Roland McGrath [Tue, 13 Jul 2004 00:23:34 +0000 (00:23 +0000)]
[BZ #263]
2004-07-12 Paul Eggert <eggert@cs.ucla.edu>
[BZ #263]
* sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Don't store
outside the buffer if the read returns 0. __strtod_l can't set
endp to NULL, so remove a test for that case.
Roland McGrath [Mon, 12 Jul 2004 21:45:28 +0000 (21:45 +0000)]
* manual/signal.texi (Interrupted Primitives): Make clear that
TEMP_FAILURE_RETRY evaluates its expression as long int and compares
it to -1 to define "failure".
Roland McGrath [Mon, 12 Jul 2004 21:44:33 +0000 (21:44 +0000)]
2004-07-12 Roland McGrath <roland@redhat.com>
* manual/signal.texi (Interrupted Primitives): Make clear that
TEMP_FAILURE_RETRY evaluates its expression as long int and compares
it to -1 to define "failure".
Ulrich Drepper [Sat, 10 Jul 2004 20:00:44 +0000 (20:00 +0000)]
Update.
2004-07-10 Ulrich Drepper <drepper@redhat.com>
* elf/ldconfig.c: Define PROCINFO_CLASS as static before including
ldsodefs.h.
* sysdeps/generic/ldsodefs.h: Only define PROCINFO_CLASS if it is not
already defined.
* sysdeps/i386/dl-procinfo.c: Define PROCINFO_CALLS only if not
already defined.
* elf/rtld.c (print_statistics): Mark with noinline attribute.
* sysdeps/i386/dl-machine.h (elf_machine_rel): Mark with always_inline
attribute.
(elf_machine_rel_relative): Likewise.
* include/string.h: Add libc_hidden_proto for __strtok_r and
__strsep_g.
* sysdeps/generic/strsep.c: Add libc_hidden_def.
* sysdeps/generic/strtok_r.c: Likewise.
* sysdeps/i386/strtok_r.S: Add alias for internal symbol.
* sysdeps/i386/i686/strtok_r.S: Likewise.
* sysdeps/x86_64/strtok_r.S: Likewise.
2004-07-09 Alexandre Oliva <aoliva@redhat.com>
* inet/getnetgrent_r.c (internal_setnetgrent): Make it hidden
instead of internal-linkage, such that we can alias to it.
(internal_endnetgrent, internal_getnetgrent_r): Likewise.
Ulrich Drepper [Fri, 9 Jul 2004 17:20:48 +0000 (17:20 +0000)]
Update.
2004-07-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Move attribute
to the front for gcc 3.5+.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
* include/fcntl.h: Don't declare __fcntl_nocancel here if
NO_CANCELLATION is defined.
Ulrich Drepper [Thu, 8 Jul 2004 23:55:54 +0000 (23:55 +0000)]
Update.
2004-07-07 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/getcpuclockid.c (pthread_getcpuclockid): Allow
using other thread's clock.
* ptclock_gettime.c (__pthread_clock_gettime): Likewise.
* ptclock_settime.c (__pthread_clock_settime): Likewise.
* internals.h (__pthread_clock_gettime, __pthread_clock_settime):
Remove prototypes.
Reported by Bernd Schmidt <bernds@redhat.com>.
* Makefile (librt-tests): Add tst-clock1.
* tst-clock1.c: New test.
* sysdeps/x86_64/Versions: New file.
* sysdeps/unix/sysv/linux/ia64/bits/posix_opt.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/posix_opt.h: New file.
Ulrich Drepper [Thu, 8 Jul 2004 21:23:23 +0000 (21:23 +0000)]
Update.
2004-04-16 Andreas Schwab <schwab@suse.de>
* sysdeps/ia64/tls.h (INIT_SYSINFO): Cast dl_sysinfo to void*.
Ulrich Drepper [Thu, 8 Jul 2004 00:54:21 +0000 (00:54 +0000)]
Update.
2004-07-07 Jakub Jelinek <jakub@redhat.com>
* elf/dl-fini.c (_dl_fini): Add nloaded variable, load
GL(dl_nloaded) into it while still in critical section.
Ulrich Drepper [Thu, 8 Jul 2004 00:52:17 +0000 (00:52 +0000)]
(_dl_fini): Add nloaded variable, load GL(dl_nloaded) into it while still in critical section.
Roland McGrath [Wed, 7 Jul 2004 09:49:02 +0000 (09:49 +0000)]
* nss/getent.c (print_group, print_passwd): Use %lu format for
`unsigned long int' values.
* sysdeps/unix/sysv/linux/i386/fcntl.c (__fcntl_nocancel): Fix syntax
error typos in goto statements.
Roland McGrath [Wed, 7 Jul 2004 09:38:26 +0000 (09:38 +0000)]
* Makefile (dist-separate): New variable.
(glibc-%.tar rule): Make separate tar files for add-ons listed there.
Depend on their configure files.
(dist-do-separate-dirs): New canned sequence to do that.
(dist-separate-libidn, dist-separate-linuxthreads): New variables.
(dist): Depend on add-on tar files based on $(dist-separate).
(dist-version): New variable, default to $(version).
(tag-for-dist, dist): Use that in place of $(version) in deps.
Roland McGrath [Wed, 7 Jul 2004 09:37:20 +0000 (09:37 +0000)]
2004-07-07 Roland McGrath <roland@frob.com>
* Makefile (dist-separate): New variable.
(glibc-%.tar rule): Make separate tar files for add-ons listed there.
Depend on their configure files.
(dist-do-separate-dirs): New canned sequence to do that.
(dist-separate-libidn, dist-separate-linuxthreads): New variables.
(dist): Depend on add-on tar files based on $(dist-separate).
(dist-version): New variable, default to $(version).
(tag-for-dist, dist): Use that in place of $(version) in deps.
Ulrich Drepper [Wed, 7 Jul 2004 07:41:02 +0000 (07:41 +0000)]
Update.
2004-07-07 Ulrich Drepper <drepper@redhat.com>
* elf/dl-fini.c (_dl_fini): Move the unlock of the ld.so lock
before the loop running the destructors.
Ulrich Drepper [Wed, 7 Jul 2004 07:36:37 +0000 (07:36 +0000)]
Test for deadlock situation when running destructors for DSOs.
Roland McGrath [Tue, 6 Jul 2004 22:59:49 +0000 (22:59 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
the first segment for mprotect, not l_text_end.
Roland McGrath [Tue, 6 Jul 2004 22:59:31 +0000 (22:59 +0000)]
2004-05-18 Andreas Schwab <schwab@suse.de>
* elf/dl-load.c (_dl_map_object_from_fd): Use the end address of
the first segment for mprotect, not l_text_end.
Ulrich Drepper [Tue, 6 Jul 2004 07:31:15 +0000 (07:31 +0000)]
Fix typo.
* sysdeps/powerpc/powerpc64/dl-machine.h: Don't reset _dl_starting_up
Ulrich Drepper [Tue, 6 Jul 2004 06:49:44 +0000 (06:49 +0000)]
Update.
* elf/dl-profile.c (_dl_start_profile): Compact error handling.
Remove hashfraction variable. Make kcount and kcountsize local
variables.
Ulrich Drepper [Tue, 6 Jul 2004 04:26:42 +0000 (04:26 +0000)]
Update.
2004-07-05 Ulrich Drepper <drepper@redhat.com>
* elf/dl-init.c: Don't define and use _dl_starting_up if
HAVE_INLINED_SYSCALLS is defined and the variable is not used.
* elf/dl-support.c: Likewise.
* elf/rtld.c: Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Use writev syscall directly
if HAVE_INLINED_SYSCALLS is defined.
* sysdeps/powerpc/powerpc64/dl-machine.h: Don't rest _dl_starting_up
here.
* sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Define HAVE_INLINED_SYSCALLS.
* config.h.in: Add entry for HAVE_INLINED_SYSCALLS.
* sysdeps/posix/profil.c: If compiled for ld.so, omit code which
is needed to stop profiling.
* elf/dl-open.c (dl_open_worker): If a newly opened object is to be
profile make sure it cannot be unloaded.
* sysdeps/unix/sysv/linux/dl-origin.c: Inline readlink syscall.
* sysdeps/unix/sysv/linux/fcntl.c: If compiled without cancellation
support, make sure the helper function is inlined.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Likewise.
Ulrich Drepper [Mon, 5 Jul 2004 17:36:34 +0000 (17:36 +0000)]
Update.
* include/string.h (ffs): Add libc_hidden_builtin_proto.
* sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def.
* sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise.
* sysdeps/alpha/ffs.S (ffs): Likewise.
* sysdeps/s390/ffs.c (ffs): Likewise.
* sysdeps/powerpc/ffs.c (ffs): Likewise.
* sysdeps/i386/ffs.c (ffs): Likewise.
* sysdeps/i386/i686/ffs.c (ffs): Likewise.
* sysdeps/m68k/ffs.c (ffs): Likewise.
* sysdeps/generic/ffs.c (ffs): Likewise.
* sysdeps/m88k/ffs.c (ffs): Likewise.
* sysdeps/am29k/ffs.c (ffs): Likewise.
* sysdeps/i960/ffs.c (ffs): Likewise.
* sysdeps/x86_64/ffs.c (ffs): Likewise.
* Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
Ulrich Drepper [Mon, 5 Jul 2004 17:09:54 +0000 (17:09 +0000)]
Update.
2004-07-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/novmx-longjmp.c (__libc_longjmp,
__libc_siglongjmp): Remove symbol_version.
* sysdeps/powerpc/longjmp.c (__libc_longjmp, __libc_siglongjmp):
Export @@GLIBC_PRIVATE, not @@GLIBC_2.3.4.
* sysdeps/powerpc/sigjmp.c (__sigjmp_save): Use strong_alias
unconditionally.
* sysdeps/powerpc/novmx-sigjmp.c (__sigjmp_save): Remove.
* sysdeps/powerpc/powerpc32/__longjmp.S (__longjmp): Use
strong_alias instead of default_symbol_version, remove
symbol_version.
* sysdeps/powerpc/powerpc64/__longjmp.S (__longjmp): Likewise.
* sysdeps/powerpc/powerpc32/bsd-setjmp.S (__novmx__setjmp): Change
into strong_alias to __novmxsetjmp.
(__vmx__setjmp): Similarly with __vmxsetjmp.
(__setjmp): Make it strong_alias to __vmx__setjmp, remove
default_symbol_version and symbol_version.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S (__novmx__setjmp): Change
into strong_alias to __novmxsetjmp.
(__vmx__setjmp): Similarly with __vmxsetjmp.
(__setjmp): Make it strong_alias to __vmx__setjmp, remove
default_symbol_version and symbol_version.
* nscd/nscd_getgr_r.c: Include stdio-common/_itoa.h.
Ulrich Drepper [Mon, 5 Jul 2004 07:35:11 +0000 (07:35 +0000)]
Update.
2004-07-05 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): Mark dyn_temp with attribute_relro.
Ulrich Drepper [Sun, 4 Jul 2004 23:12:44 +0000 (23:12 +0000)]
Update.
2004-07-04 Matthew Reppert <arashi@kai.vm.bytemark.co.uk>
* sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Use libc_hidden_ver
instead of libc_hidden_def.
Ulrich Drepper [Sun, 4 Jul 2004 23:08:04 +0000 (23:08 +0000)]
(glob64): Use libc_hidden_ver instead of libc_hidden_def.
Roland McGrath [Fri, 2 Jul 2004 06:45:17 +0000 (06:45 +0000)]
* aclocal.m4: Add provide for AC_CONFIG_AUX_DIR_DEFAULT.
* Makeconfig ($(common-objpfx)shlib-versions.v.i): Move top-level
$(..)shlib-versions file to last in deps list. This lets add-ons give
more-specific matches that override defaults in the top-level file.
* sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
already set, don't set it or libc_cv_gcc_unwind_find_fde.
* sysdeps/unix/sysv/linux/configure: Regenerated.
Roland McGrath [Fri, 2 Jul 2004 06:45:08 +0000 (06:45 +0000)]
2004-07-01 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/configure.in: If arch_minimum_kernel was
already set, don't set it or libc_cv_gcc_unwind_find_fde.
* sysdeps/unix/sysv/linux/configure: Regenerated.
Ulrich Drepper [Thu, 1 Jul 2004 17:50:47 +0000 (17:50 +0000)]
Update.
2004-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/fpu/bits/mathinline.h [__LIBC_INTERNAL_MATH_INLINES]
(__ieee754_sqrt): Define as __MATH_INLINE using sqdbr instruction.
(__ieee754_sqrtf): Define as __MATH_INLINE using sqebr instruction.
* sysdeps/s390/fpu/e_sqrt.c: New file.
* sysdeps/s390/fpu/e_sqrtf.c: New file.
* sysdeps/s390/Implies: New file.
* sysdeps/s390/s390-32/Implies: Remove ieee754, move
ieee754/dbl-64 and ieee754/flt-32 to s390/Implies.
* sysdeps/s390/s390-64/Implies: Likewise.
2004-06-30 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Include tls.h.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start):
DO_CALL (exit, 1) instead of branching to _exit.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start):
Likewise.
* sysdeps/s390/fpu/bits/mathinline.h: New file.
* include/glob.h (glob64): Add libc_hidden_proto.
* sysdeps/generic/glob64.c (glob64): Add libc_hidden_def.
* sysdeps/gnu/glob64.c (glob64): Likewise.
* sysdeps/unix/sysv/linux/i386/glob64.c (glob64): Likewise.
Ulrich Drepper [Thu, 1 Jul 2004 01:43:38 +0000 (01:43 +0000)]
Update.
2004-06-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/fpu/libm-test-ulps: Update for GCC 3.4.
* sysdeps/s390/fpu/libm-test-ulps: Likewise.
Ulrich Drepper [Wed, 30 Jun 2004 23:43:49 +0000 (23:43 +0000)]
Update.
2004-06-11 Dwayne Grant McConnell <dgm69@us.ibm.com>
* sysdeps/powerpc/fpu/s_lround.c: Removed.
* sysdeps/powerpc/fpu/s_lroundf.c: Removed.
* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_ceil.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_floorf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_floor.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.c: Removed.
* sysdeps/powerpc/powerpc32/fpu/s_lrint.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lroundf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_lround.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_rintf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_rint.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_roundf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_round.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_truncf.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_trunc.S: New file.
Ulrich Drepper [Wed, 30 Jun 2004 07:59:08 +0000 (07:59 +0000)]
Update.
* sysdeps/unix/sysv/linux/Dist: Add netlinkaccess.h.
Ulrich Drepper [Wed, 30 Jun 2004 07:43:11 +0000 (07:43 +0000)]
Update.
2004-06-30 Ulrich Drepper <drepper@redhat.com>
* include/net/if.h: Handle if_nameindex and if_freenameindex with
libc_proto_hidden.
* sysdeps/unix/sysv/linux/netlinkaccess.h: New file.
* sysdeps/unix/sysv/linux/ifaddrs.c: Export netlink handling functions.
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Implement using
netlink if possible. Fall back on ioctl method if necessary.
* include/unistd.h: Declare __truncate.
* sysdeps/generic/truncate.c: Also define __truncate.
* sysdeps/mach/hurd/truncate.c: Likewise.
* sysdeps/unix/common/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Use __truncate, not truncate.
Ulrich Drepper [Wed, 30 Jun 2004 07:33:05 +0000 (07:33 +0000)]
Use get16/put16 for user given buffer in ucs2/ucs2reverse when unaligned memory access is attempted.
Roland McGrath [Tue, 29 Jun 2004 23:03:30 +0000 (23:03 +0000)]
* Banner: NPTL no longer has its own version number.
* Makefile (nptl-version): Variable removed.
* sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION
using $(version), the glibc version number.
Roland McGrath [Tue, 29 Jun 2004 23:03:20 +0000 (23:03 +0000)]
2004-06-29 Roland McGrath <roland@redhat.com>
* Banner: NPTL no longer has its own version number.
* Makefile (nptl-version): Variable removed.
* sysdeps/pthread/Makefile (CFLAGS-confstr.c): Set LIBPTHREAD_VERSION
using $(version), the glibc version number.
Ulrich Drepper [Tue, 29 Jun 2004 17:28:24 +0000 (17:28 +0000)]
Update.
2004-06-29 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
info.extra. Patch by Marcus Meissner.