Ulrich Drepper [Sun, 24 Oct 2004 21:29:41 +0000 (21:29 +0000)]
Update.
* include/libc-symbols.h: Define hidden attribute macros for
libnss_nisplus and libutil.
* include/utmp.h: Add libutil_hidden_proto for login_tty.
* login/login_tty.c: Add libutil_hidden_def.
* nis/nisplus-parser.h: Add libnss_nisplus_hidden_proto for parsers.
* nis/nss_nisplus/nisplus-parser.c: Add libnss_nisplus_hidden_def.
* include/pty.h: New file.
* include/rpcsvc/yp.h: New file.
* include/rpcsvc/ypclnt.h: New file.
* include/rpcsvc/ypupd.h: New file.
Ulrich Drepper [Sun, 24 Oct 2004 20:29:20 +0000 (20:29 +0000)]
Update.
* include/libc-symbols.h: Define hidden attribute macros for libnsl.
* include/rpcsvc/nislib.h: Use libnsl_hidden_proto for various
functions.
* nis/nis_add.c: Add libnsl_hidden_def. Minor optimizations.
* nis/nis_call.c: Likewise.
* nis/nis_clone_obj.c: Likewise.
* nis/nis_defaults.c: Likewise.
* nis/nis_domain_of_r.c: Likewise.
* nis/nis_error.c: Likewise.
* nis/nis_file.c: Likewise.
* nis/nis_free.c: Likewise.
* nis/nis_local_names.c: Likewise.
* nis/nis_lookup.c: Likewise.
* nis/nis_modify.c: Likewise.
* nis/nis_print.c: Likewise.
* nis/nis_remove.c: Likewise.
* nis/nis_subr.c: Likewise.
* nis/nis_table.c: Likewise.
* nis/nis_util.c: Likewise.
* nis/yp_xdr.c: Likewise.
* nis/ypclnt.c: Likewise.
* nis/ypupdate_xdr.c: Likewise.
Ulrich Drepper [Sun, 24 Oct 2004 20:24:30 +0000 (20:24 +0000)]
Define hidden attribute macros for libnsl.
Roland McGrath [Sun, 24 Oct 2004 19:23:43 +0000 (19:23 +0000)]
Ancient files moved to ports repository
Ulrich Drepper [Sun, 24 Oct 2004 09:20:14 +0000 (09:20 +0000)]
Update.
* resolv/res_send.c (send_dg): Cope with failures.
Ulrich Drepper [Sun, 24 Oct 2004 09:06:50 +0000 (09:06 +0000)]
Update.
2004-10-24 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define hidden attribute macros for
libnss_files.
* include/netdb.h: Use libnss_files_hidden_proto for the parsers
defined in libnss_files, not libc_hidden_proto.
* include/netinet/ether.h: Likewise.
* include/rpc/netdb.h: Likewise.
* nss/nss_files/files-parse.c: Use hidden_def in parser definitions
instead of libc_hidden_def.
* nss/nss_files/files-netgrp.c: Add libnss_files_hidden_def to
_nss_netgroup_parseline definition.
Ulrich Drepper [Sun, 24 Oct 2004 09:04:03 +0000 (09:04 +0000)]
Define hidden attribute macros for libnss_files.
Roland McGrath [Sun, 24 Oct 2004 01:59:26 +0000 (01:59 +0000)]
* sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Don't return early
after an RPC succeeds.
Roland McGrath [Sat, 23 Oct 2004 21:38:39 +0000 (21:38 +0000)]
Moved ancient files to ports repository
* sysdeps/cris, sysdeps/unix/sysv/linux/cris: Likewise.
* sysdeps/am29k, sysdeps/i860, sysdeps/i960, sysdeps/m88k: Likewise.
* sysdeps/standalone, sysdeps/z8000: Likewise.
Roland McGrath [Sat, 23 Oct 2004 21:03:03 +0000 (21:03 +0000)]
Moved tahoe files to ports repository
* sysdeps/tahoe, sysdeps/unix/bsd/tahoe: Likewise.
Roland McGrath [Sat, 23 Oct 2004 20:39:12 +0000 (20:39 +0000)]
Moved vax files to ports repository
2004-10-23 Roland McGrath <roland@frob.com>
* sysdeps/vax, sysdeps/unix/bsd/vax: Directories and all files removed.
These are now in the ports repository.
Roland McGrath [Sat, 23 Oct 2004 20:10:46 +0000 (20:10 +0000)]
* Makefile (%.bz2, %.gz): Move these pattern rules ...
* Makerules: ... to here.
Roland McGrath [Sat, 23 Oct 2004 20:10:40 +0000 (20:10 +0000)]
2004-10-22 Roland McGrath <roland@frob.com>
* Makefile (%.bz2, %.gz): Move these pattern rules ...
* Makerules: ... to here.
Ulrich Drepper [Sat, 23 Oct 2004 08:22:29 +0000 (08:22 +0000)]
Update.
2004-10-23 Ulrich Drepper <drepper@redhat.com>
* resolv/res_send.c (send_dg): Combine write and read to socket
into one loop.
Ulrich Drepper [Sat, 23 Oct 2004 06:45:30 +0000 (06:45 +0000)]
Update.
* resolv/res_send.c: Remove compatibility code which is unused in
glibc and probably bitrotten.
Ulrich Drepper [Sat, 23 Oct 2004 06:12:20 +0000 (06:12 +0000)]
Remove compatibility code which is unused in glibc and probably bitrotten.
Roland McGrath [Sat, 23 Oct 2004 02:52:41 +0000 (02:52 +0000)]
* elf/elf.h: Add R_MN10300_* relocation numbers.
Roland McGrath [Fri, 22 Oct 2004 22:24:08 +0000 (22:24 +0000)]
[BZ #471] Fix imported from gnulib.
* time/mktime.c (leapyear, ydms_tm_diff): Year is of type
long int, not int, to avoid problems when tm_year == INT_MAX
and tm_mon > 12.
(__mktime_intenral): Compute year using long int arithmetic,
not int arithmetic, to avoid problems on hosts where time_t
and long are 64 bits but int is 32.
Roland McGrath [Fri, 22 Oct 2004 22:21:36 +0000 (22:21 +0000)]
[BZ #468] Import a fix from gnulib.
* time/mktime.c [! DEBUG]: Do not include <string.h>.
It's needed only if DEBUG is nonzero.
Roland McGrath [Fri, 22 Oct 2004 22:17:48 +0000 (22:17 +0000)]
[BZ #470] Import fix from gnulib.
* time/mktime.c [!_LIBC] (__mktime_internal): Define to
mktime_internal, to avoid clashes with any __mktime_internal
function defined in the standard library.
Roland McGrath [Fri, 22 Oct 2004 22:15:54 +0000 (22:15 +0000)]
[BZ #469] Imported from gnulib.
* time/mktime.c (__isleap): Remove; all uses replaced by:
(leapyear): New function, which avoids overflow by not adding
1900 to year before testing whether it is a leap year.
Roland McGrath [Fri, 22 Oct 2004 22:11:00 +0000 (22:11 +0000)]
[BZ #472]
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #472] Imported from gnulib.
* time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
no longer used.
Roland McGrath [Fri, 22 Oct 2004 22:10:39 +0000 (22:10 +0000)]
[BZ #472]
2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
[BZ #472] Imported from gnulib.
* time/mktime.c (Local Variables): Remove -DHAVE_TIME_R_POSIX;
no longer used.
Ulrich Drepper [Fri, 22 Oct 2004 21:08:43 +0000 (21:08 +0000)]
Update.
* debug/execinfo.h: Remove __THROW from backtrace prototype.
2004-10-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/Makefile (CFLAGS-backtrace.c): Add -fexceptions.
* sysdeps/i386/backtrace.c: Include <bits/libc-lock.h>, <dlfcn.h>,
<stdlib.h> and <unwind.h>. Remove <bp-checks.h> include.
(struct trace_arg): New type.
(unwind_backtrace, unwind_getip, unwind_getcfa, unwind_getgr): New
fn pointers resp. macros.
(init, backtrace_helper): New functions.
(__backtrace): Rewritten to use _Unwind_Backtrace first and fall
back to frame pointer walking.
2004-10-22 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Fri, 22 Oct 2004 19:58:34 +0000 (19:58 +0000)]
Update.
2004-10-22 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/Versions: Things are still in flux, it
seems. Undo last additions.
Ulrich Drepper [Fri, 22 Oct 2004 06:27:54 +0000 (06:27 +0000)]
Update.
2004-10-21 Ulrich Drepper <drepper@redhat.com>
* posix/execvp.c (execvp): Also ignore ENODEV and ETIMEDOUT errno
values.
Ulrich Drepper [Thu, 21 Oct 2004 09:00:31 +0000 (09:00 +0000)]
Update.
2004-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/lowlevellock.S
(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
make sure 2 is stored in the futex and we looked at the old value.
Fix a few other problems to return the correct value.
Ulrich Drepper [Thu, 21 Oct 2004 08:59:36 +0000 (08:59 +0000)]
(__lll_mutex_timedlock_wait): If woken but cannot get the lock, make sure 2 is stored in the futex and we looked at the old value. Fix a few other problems to return the correct value.
Roland McGrath [Thu, 21 Oct 2004 01:29:31 +0000 (01:29 +0000)]
* Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
$(config-sysdirs) for shlib-versions files.
* Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
use of ...
* scripts/soversions.awk: ... this new file. Collect lib info and
match any DEFAULT line before emitting anything, so DEFAULT can come
later in the concatenation of shlib-versions files.
Roland McGrath [Wed, 20 Oct 2004 10:05:07 +0000 (10:05 +0000)]
* manual/errno.texi (Error Codes): Add ENOKEY, EKEYEXPIRED,
EKEYREVOKED, EKEYREJECTED.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.3.4): New errlist.
* sysdeps/gnu/errlist.c: Regenerated
* sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
higher than ERR_MAX reports. Instead, emit a #define ERR_MAX.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
(generated): Add errlist-compat.h.
* sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
define ERR_MAX and use that for table size.
Roland McGrath [Wed, 20 Oct 2004 10:04:57 +0000 (10:04 +0000)]
2004-10-20 Roland McGrath <roland@redhat.com>
* sysdeps/gnu/errlist-compat.awk: Don't bail if Versions gives a count
higher than ERR_MAX reports. Instead, emit a #define ERR_MAX.
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.h): New target.
(generated): Add errlist-compat.h.
* sysdeps/gnu/errlist.awk: Make output #include <errlist-compat.h> to
define ERR_MAX and use that for table size.
Ulrich Drepper [Wed, 20 Oct 2004 07:09:15 +0000 (07:09 +0000)]
Update.
2004-10-20 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/syscalls.list: Add entries for setaltroot,
key_add, key_request, and keyctl syscalls.
* sysdeps/unix/sysv/linux/Versions: Export them.
Ulrich Drepper [Wed, 20 Oct 2004 07:00:30 +0000 (07:00 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
Roland McGrath [Wed, 20 Oct 2004 06:43:19 +0000 (06:43 +0000)]
* sysdeps/mach/readonly-area.c: New file.
Roland McGrath [Wed, 20 Oct 2004 06:43:15 +0000 (06:43 +0000)]
2004-10-19 Roland McGrath <roland@frob.com>
* sysdeps/mach/readonly-area.c: New file.
Ulrich Drepper [Wed, 20 Oct 2004 06:29:15 +0000 (06:29 +0000)]
Regenerated from ../sysdeps/gnu/errlist.awk ../manual/errno.texi
Roland McGrath [Wed, 20 Oct 2004 06:20:16 +0000 (06:20 +0000)]
typo
* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't mark as
Ulrich Drepper [Tue, 19 Oct 2004 22:21:46 +0000 (22:21 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* elf/Versions [ld, GLIBC_PRIVATE]: Add _dl_debug_state.
* elf/dl-debug.c (_dl_debug_state): Add rtld_hidden_def.
* sysdeps/generic/ldsodefs.h (_dl_debug_state): Don't maek as
hidden but use rtld_hidden_proto.
Ulrich Drepper [Tue, 19 Oct 2004 21:45:14 +0000 (21:45 +0000)]
Update.
2004-10-19 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ...
(__readonly_area): ... this.
Ulrich Drepper [Tue, 19 Oct 2004 21:21:42 +0000 (21:21 +0000)]
Update.
2004-10-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking
destlen only every 4 bytes.
Ulrich Drepper [Tue, 19 Oct 2004 21:11:32 +0000 (21:11 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* nss/getent.c (hosts_keys): Let inet_pton decide whether the
string is an address or not.
Ulrich Drepper [Tue, 19 Oct 2004 16:44:56 +0000 (16:44 +0000)]
Update.
* elf/dl-addr.c (_dl_addr): Don't look at STT_TLS symbols.
Use DL_SYMBOL_ADDRESS to set dli_saddr.
Ulrich Drepper [Tue, 19 Oct 2004 16:05:21 +0000 (16:05 +0000)]
Update.
2004-10-19 Jakub Jelinek <jakub@redhat.com>
* debug/Makefile (catchsegv): Prefix $LIB with a backslash.
Ulrich Drepper [Tue, 19 Oct 2004 10:36:18 +0000 (10:36 +0000)]
Update.
2004-10-19 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile ($(objpfx)catchsegv): To support multilib
platforms, use $LIB in path to slibdir.
2004-10-19 Jakub Jelinek <jakub@redhat.com>
* debug/catchsegv.sh: Update copyright year.
Use mktemp to create segv_output file.
Ulrich Drepper [Tue, 19 Oct 2004 10:34:20 +0000 (10:34 +0000)]
Update copyright year. Use mktemp to create segv_output file.
Roland McGrath [Tue, 19 Oct 2004 05:13:11 +0000 (05:13 +0000)]
[BZ #406]
2004-10-18 Roland McGrath <roland@redhat.com>
[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.
Roland McGrath [Tue, 19 Oct 2004 05:12:59 +0000 (05:12 +0000)]
[BZ #406]
2004-10-18 Roland McGrath <roland@redhat.com>
[BZ #406]
* Makefile (linuxthreads-CPPFLAGS): New variable;
adds -DIS_IN_linuxthreads=1.
* sysdeps/i386/tls.h: Protect "useldt.h" with
[!IS_IN_linuxthreads && !DO_MODIFY_LDT].
* sysdeps/i386/i686/pt-machine.h: Revert last change.
Ulrich Drepper [Mon, 18 Oct 2004 23:17:46 +0000 (23:17 +0000)]
Update.
2004-10-18 Jakub Jelinek <jakub@redhat.com>
* elf/dl-libc.c (__libc_dlsym_private, __libc_register_dl_open_hook):
New functions.
(__libc_dlopen_mode): Call __libc_register_dl_open_hook and
__libc_register_dlfcn_hook.
* dlfcn/Makefile (routines, elide-routines.os): Set.
Add rules to build and test tststatic2.
* dlfcn/tststatic2.c: New test.
* dlfcn/modstatic2.c: New test module.
* dlfcn/dladdr.c: Call _dlfcn_hook from libdl.so if not NULL.
Define __ prefixed routine in libc.a and in libdl.a just call it.
* dlfcn/dladdr1.c: Likewise.
* dlfcn/dlclose.c: Likewise.
* dlfcn/dlerror.c: Likewise.
* dlfcn/dlinfo.c: Likewise.
* dlfcn/dlmopen.c: Likewise.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlopenold.c: Likewise.
* dlfcn/dlsym.c: Likewise.
* dlfcn/dlvsym.c: Likewise.
* dlfcn/sdladdr.c: New file.
* dlfcn/sdladdr1.c: New file.
* dlfcn/sdlclose.c: New file.
* dlfcn/sdlerror.c: New file.
* dlfcn/sdlinfo.c: New file.
* dlfcn/sdlopen.c: New file.
* dlfcn/sdlsym.c: New file.
* dlfcn/sdlvsym.c: New file.
* dlfcn/Versions (libdl): Export _dlfcn_hook@GLIBC_PRIVATE.
* include/dlfcn.h (DL_CALLER_DECL, DL_CALLER RETURN_ADDRESS): Define.
(struct dlfcn_hook): New type.
(_dlfcn_hook): New extern decl.
(__dlopen, __dlclose, __dlsym, __dlerror, __dladdr, __dladdr1,
__dlinfo, __dlmopen, __libc_dlsym_private,
__libc_register_dl_open_hook, __libc_register_dlfcn_hook): New
prototypes.
(__dlvsym): Use DL_CALLER_DECL.
* include/libc-symbols.h: Define libdl_hidden_proto and friends.
* malloc/arena.c (_dl_open_hook): Extern decl.
(ptmalloc_init): Don't call _dl_addr when dlopened from statically
linked programs but don't use brk for them either.
Ulrich Drepper [Mon, 18 Oct 2004 23:07:59 +0000 (23:07 +0000)]
(__libc_dlsym_private, __libc_register_dl_open_hook): New functions. (__libc_dlopen_mode): Call __libc_register_dl_open_hook and __libc_register_dlfcn_hook.
Roland McGrath [Mon, 18 Oct 2004 18:54:06 +0000 (18:54 +0000)]
* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.
Roland McGrath [Mon, 18 Oct 2004 18:53:53 +0000 (18:53 +0000)]
2004-10-18 Roland McGrath <roland@redhat.com>
* dlfcn/bug-dlsym1.c (main): Remove bogus setenv call.
Ulrich Drepper [Mon, 18 Oct 2004 15:44:52 +0000 (15:44 +0000)]
Update.
2004-10-18 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (dl_open_worker): Avoid dereferencing map in
statically linked code if there might none be found.
Ulrich Drepper [Mon, 18 Oct 2004 15:37:14 +0000 (15:37 +0000)]
(dl_open_worker): Avoid dereferencing map in statically linked code if there might none be found.
Andreas Jaeger [Mon, 18 Oct 2004 05:17:42 +0000 (05:17 +0000)]
Update.
2004-10-06 Maciej W. Rozycki <macro@mips.com>
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
(__SYSCALL_CLOBBERS): Add "memory".
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
Andreas Jaeger [Mon, 18 Oct 2004 05:16:08 +0000 (05:16 +0000)]
(__SYSCALL_CLOBBERS): Add "memory".
Ulrich Drepper [Mon, 18 Oct 2004 05:10:37 +0000 (05:10 +0000)]
Update.
2004-10-17 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define libresolv_hidden_proto and friends.
* include/resolv.h: Add libresolv_hidden_proto for symbols defined,
used, and exported in libresolv.
* resolv/base64.c: Add libresolv_hidden_def.
* resolv/gethnamaddr.c: Likewise.
* resolv/ns_name.c: Likewise.
* resolv/ns_netint.c: Likewise.
* resolv/res_comp.c: Likewise.
* resolv/res_data.c: Likewise.
* resolv/res_debug.c: Likewise.
* resolv/res_mkquery.c: Likewise.
* resolv/res_query.c: Likewise.
* resolv/res_send.c: Likewise.
Ulrich Drepper [Mon, 18 Oct 2004 04:19:48 +0000 (04:19 +0000)]
Pretty printing.
Ulrich Drepper [Mon, 18 Oct 2004 04:17:19 +0000 (04:17 +0000)]
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def.
* sysdeps/unix/sysv/linux/readonly-area.c: New file.
* sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
routine.
* sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
* sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
* sysdeps/i386/i686/memmove-chk.S: New file.
* sysdeps/i386/i686/memcpy-chk.S: Likewise.
* sysdeps/i386/i686/mempcpy-chk.S: Likewise.
* sysdeps/i386/i686/memset-chk.S: Likewise.
* sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
if exactly fitting into buffer.
* sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
* sysdeps/generic/readonly-area.c: New file.
* sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
destlen once.
* sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
* sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
* sysdeps/x86_64/memcpy-chk.S: New file.
* sysdeps/x86_64/mempcpy-chk.S: Likewise.
* sysdeps/x86_64/memset-chk.S: Likewise.
* sysdeps/x86_64/strcpy-chk.S: Likewise.
* sysdeps/x86_64/stpcpy-chk.S: Likewise.
* argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
* argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
* debug/tst-chk1.c: New test.
* debug/tst-chk2.c: Likewise.
* debug/tst-chk3.c: Likewise.
* debug/test-strcpy_chk.c: Likewise.
* debug/test-stpcpy_chk.c: Likewise.
* debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
vfprintf_chk, gets_chk and readonly-area.
(CFLAGS-*_chk.c): Set.
(tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
test-stpcpy_chk.
* debug/vprintf_chk.c: New file.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/fprintf_chk.c: Likewise.
* debug/gets_chk.c: Likewise.
* debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
* debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
passed to __vsnprintf_chk.
* debug/Versions (libc): Export __printf_chk, __fprintf_chk,
__vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
__vsnprintf, instead create a temporary file with
_IO_strn_jumps jumptable. If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* libio/Makefile (headers): Add bits/stdio2.h.
* libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
(sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
* libio/strfile.h (_IO_strnfile): New type.
(_IO_strn_jumps): New extern.
* libio/vsnprintf.c (_IO_strnfile): Remove.
(_IO_strn_jumps): Remove static.
* libio/bits/stdio2.h: New file.
* libio/vswprintf.c (_IO_strnfile): Rename type to...
(_IO_wstrnfile): ...this. Adjust all uses.
* libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
* stdio-common/vfprintf.c (STR_LEN): Define.
(vfprintf): Add readonly_format variable.
Handle _IO_FLAGS2_CHECK_PERCENT_N.
(buffered_vfprintf): Copy _flags2.
* include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
__vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
__vfprintf_chk): New prototypes.
(__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
* include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
__strncat_chk): New prototypes.
* include/bits/string3.h: New file.
* include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
and rtld_hidden_proto.
* string/Makefile (headers): Add bits/string3.h.
* string/bits/string3.h (bcopy, bzero): New defines.
(memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
macros so that inlines are used only if unknown destination size
or side-effects in destination argument.
(mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU.
2004-09-16 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile (routines): Add *_chk.
* debug/Versions (libc): Export __chk_fail, __memcpy_chk,
__memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
__sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
@GLIBC_2.3.4.
* debug/chk_fail.c: New file.
* debug/snprintf_chk.c: Likewise.
* debug/sprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* include/features.h (_FORTIFY_SOURCE): Document, handle.
(__USE_FORTIFY_LEVEL): Define.
(__GNUC_PREREQ): Move to earlier location.
* include/sys/cdefs.h (__chk_fail): New prototype.
* libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
Define if __USE_FORTIFY_LEVEL.
* misc/sys/cdefs.h (__bos, __bos0): Define.
* string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
* bits/string/string3.h: New header.
* sysdeps/generic/memcpy_chk.c: New file.
* sysdeps/generic/memmove_chk.c: Likewise.
* sysdeps/generic/mempcpy_chk.c: Likewise.
* sysdeps/generic/memset_chk.c: Likewise.
* sysdeps/generic/stpcpy_chk.c: Likewise.
* sysdeps/generic/strcat_chk.c: Likewise.
* sysdeps/generic/strcpy_chk.c: Likewise.
* sysdeps/generic/strncat_chk.c: Likewise.
* sysdeps/generic/strncpy_chk.c: Likewise.
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* elf/dl-minimal.c (__chk_fail): New. Add rtld_hidden_def.
* sysdeps/unix/sysv/linux/readonly-area.c: New file.
* sysdeps/i386/i686/memmove.S (__memmove_chk): Add checking
routine.
* sysdeps/i386/i686/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/i386/i686/mempcpy.S (__mempcpy_chk): Likewise.
* sysdeps/i386/i686/memset.S (__memset_chk): Likewise.
* sysdeps/i386/i686/memmove-chk.S: New file.
* sysdeps/i386/i686/memcpy-chk.S: Likewise.
* sysdeps/i386/i686/mempcpy-chk.S: Likewise.
* sysdeps/i386/i686/memset-chk.S: Likewise.
* sysdeps/generic/strcat-chk.c (__strcat_chk): Don't __chk_fail
if exactly fitting into buffer.
* sysdeps/generic/strncat-chk.c (__strncat_chk): Likewise.
* sysdeps/generic/readonly-area.c: New file.
* sysdeps/generic/strncpy-chk.c (__strncpy_chk): Only test
destlen once.
* sysdeps/x86_64/memset.S (__memset_chk): Add checking routine.
* sysdeps/x86_64/memcpy.S (__memcpy_chk): Likewise.
* sysdeps/x86_64/mempcpy.S (__memcpy_chk): Define to __mempcpy_chk.
* sysdeps/x86_64/memcpy-chk.S: New file.
* sysdeps/x86_64/mempcpy-chk.S: Likewise.
* sysdeps/x86_64/memset-chk.S: Likewise.
* sysdeps/x86_64/strcpy-chk.S: Likewise.
* sysdeps/x86_64/stpcpy-chk.S: Likewise.
* argp/argp-xinl.c (__OPTIMIZE__): Define to 1 instead of nothing.
* argp/argp-fs-xinl.c (__OPTIMIZE__): Likewise.
* debug/tst-chk1.c: New test.
* debug/tst-chk2.c: Likewise.
* debug/tst-chk3.c: Likewise.
* debug/test-strcpy_chk.c: Likewise.
* debug/test-stpcpy_chk.c: Likewise.
* debug/vsprintf_chk.c (__vsprintf_chk): If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* debug/Makefile (routines): Add printf_chk, fprintf_chk, vprintf_chk,
vfprintf_chk, gets_chk and readonly-area.
(CFLAGS-*_chk.c): Set.
(tests): Add tst-chk1, tst-chk2, tst-chk3, test-strcpy_chk and
test-stpcpy_chk.
* debug/vprintf_chk.c: New file.
* debug/printf_chk.c: Likewise.
* debug/vfprintf_chk.c: Likewise.
* debug/fprintf_chk.c: Likewise.
* debug/gets_chk.c: Likewise.
* debug/chk_fail.c (__chk_fail): Add libc_hidden_def.
* debug/snprintf_chk.c (__snprintf_chk): Fix order of arguments
passed to __vsnprintf_chk.
* debug/Versions (libc): Export __printf_chk, __fprintf_chk,
__vprintf_chk, __vfprintf_chk and __gets_chk @GLIBC_2.3.4.
* debug/vsnprintf_chk.c (__vsnprintf_chk): Don't call
__vsnprintf, instead create a temporary file with
_IO_strn_jumps jumptable. If flags > 0, request
_IO_FLAGS2_CHECK_PERCENT_N. Add libc_hidden_def.
* libio/Makefile (headers): Add bits/stdio2.h.
* libio/stdio.h: Include <bits/stdio2.h> if __USE_FORTIFY_LEVEL.
(sprintf, snprintf, vsprintf, vsnprintf): Remove defines.
* libio/strfile.h (_IO_strnfile): New type.
(_IO_strn_jumps): New extern.
* libio/vsnprintf.c (_IO_strnfile): Remove.
(_IO_strn_jumps): Remove static.
* libio/bits/stdio2.h: New file.
* libio/vswprintf.c (_IO_strnfile): Rename type to...
(_IO_wstrnfile): ...this. Adjust all uses.
* libio/libio.h (_IO_FLAGS2_CHECK_PERCENT_N): Define.
* stdio-common/vfprintf.c (STR_LEN): Define.
(vfprintf): Add readonly_format variable.
Handle _IO_FLAGS2_CHECK_PERCENT_N.
(buffered_vfprintf): Copy _flags2.
* include/stdio.h (__sprintf_chk, __snprintf_chk, __vsprintf_chk,
__vsnprintf_chk, __printf_chk, __fprintf_chk, __vprintf_chk,
__vfprintf_chk): New prototypes.
(__vsprintf_chk, __vsnprintf_chk): Add libc_hidden_proto.
* include/string.h (__memcpy_chk, __memmove_chk, __mempcpy_chk,
__memset_chk, __strcpy_chk, __stpcpy_chk, __strncpy_chk, __strcat_chk,
__strncat_chk): New prototypes.
* include/bits/string3.h: New file.
* include/sys/cdefs.h (__chk_fail): Add libc_hidden_proto
and rtld_hidden_proto.
* string/Makefile (headers): Add bits/string3.h.
* string/bits/string3.h (bcopy, bzero): New defines.
(memset, memcpy, memmove, strcpy, strncpy, strcat, strncat): Change
macros so that inlines are used only if unknown destination size
or side-effects in destination argument.
(mempcpy, stpcpy): Likewise. Protect with #ifdef __USE_GNU.
2004-09-16 Ulrich Drepper <drepper@redhat.com>
* debug/Makefile (routines): Add *_chk.
* debug/Versions (libc): Export __chk_fail, __memcpy_chk,
__memmove_chk, __mempcpy_chk, __memset_chk, __stpcpy_chk,
__strcat_chk, __strcpy_chk, __strncat_chk, __strncpy_chk,
__sprintf_chk, __vsprintf_chk, __snprintf_chk, __vsnprintf_chk
@GLIBC_2.3.4.
* debug/chk_fail.c: New file.
* debug/snprintf_chk.c: Likewise.
* debug/sprintf_chk.c: Likewise.
* debug/vsnprintf_chk.c: Likewise.
* debug/vsprintf_chk.c: Likewise.
* include/features.h (_FORTIFY_SOURCE): Document, handle.
(__USE_FORTIFY_LEVEL): Define.
(__GNUC_PREREQ): Move to earlier location.
* include/sys/cdefs.h (__chk_fail): New prototype.
* libio/bits/stdio.h (sprintf, vsprintf, snprintf, vsnprintf):
Define if __USE_FORTIFY_LEVEL.
* misc/sys/cdefs.h (__bos, __bos0): Define.
* string/string.h: Include <bits/string3.h> if __USE_FORTIFY_LEVEL.
* bits/string/string3.h: New header.
* sysdeps/generic/memcpy_chk.c: New file.
* sysdeps/generic/memmove_chk.c: Likewise.
* sysdeps/generic/mempcpy_chk.c: Likewise.
* sysdeps/generic/memset_chk.c: Likewise.
* sysdeps/generic/stpcpy_chk.c: Likewise.
* sysdeps/generic/strcat_chk.c: Likewise.
* sysdeps/generic/strcpy_chk.c: Likewise.
* sysdeps/generic/strncat_chk.c: Likewise.
* sysdeps/generic/strncpy_chk.c: Likewise.
Roland McGrath [Mon, 18 Oct 2004 00:53:16 +0000 (00:53 +0000)]
* manual/memory.texi (Page Lock Functions): Typo fix.
Reported by Carlos Maziero <maziero@ppgia.pucpr.br>
Roland McGrath [Sun, 17 Oct 2004 20:00:34 +0000 (20:00 +0000)]
* sysdeps/mach/hurd/Makefile (link-libc-static): Use
`$(static-gnulib') instead of `$(gnulib)'.
Roland McGrath [Sun, 17 Oct 2004 20:00:25 +0000 (20:00 +0000)]
2004-10-16 Alfred M. Szmidt <ams@kemisten.nu>
* sysdeps/mach/hurd/Makefile (link-libc-static): Use
`$(static-gnulib') instead of `$(gnulib)'.
Ulrich Drepper [Sun, 17 Oct 2004 15:00:17 +0000 (15:00 +0000)]
Update.
2004-10-17 Ulrich Drepper <drepper@redhat.com>
* sunrpc/rpc_clntout.c: Avoid including rcsid into binary.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_tblout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
Ulrich Drepper [Fri, 15 Oct 2004 21:31:29 +0000 (21:31 +0000)]
Update.
2004-10-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_6, DOARGS_6,
POPARGS_6, _PUSHARGS_6, _DOARGS_6, _POPARGS_6): Define.
* sysdeps/unix/sysv/linux/i386/syscall.S (syscall): Handle 6 argument
syscalls.
Ulrich Drepper [Fri, 15 Oct 2004 21:20:11 +0000 (21:20 +0000)]
Update.
2004-10-15 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.h (_PATH_NSCD_PASSWD_DB): Move to /var/db.
(_PATH_NSCD_GROUP_DB): Likewise.
(_PATH_NSCD_HOSTS_DB): Likewise.
(_PATH_NSCD_XYZ_DB_TMP): New #define, point to /var/run.
* nscd/connections.c (nscd_init): Non-persistent database files
are created with the _PATH_NSCD_XYZ_DB_TMP path.
* nscd/nscd.init: Create /var/db/nscd if necessary.
Ulrich Drepper [Fri, 15 Oct 2004 21:12:15 +0000 (21:12 +0000)]
(nscd_init): Non-persistent database files are created with the _PATH_NSCD_XYZ_DB_TMP path.
Richard Henderson [Fri, 15 Oct 2004 09:34:45 +0000 (09:34 +0000)]
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file. * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add _code argument, pass sigcontext by pointer. (SIGCONTEXT_EXTRA_ARGS): Likewise. (GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
2004-10-15 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
_code argument, pass sigcontext by pointer.
(SIGCONTEXT_EXTRA_ARGS): Likewise.
(GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
Richard Henderson [Fri, 15 Oct 2004 07:07:57 +0000 (07:07 +0000)]
* sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to make gcc4 happy.
2004-10-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/tcb-offsets.sym (thread_offsetof): Redefine to
make gcc4 happy.
Richard Henderson [Fri, 15 Oct 2004 07:06:56 +0000 (07:06 +0000)]
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype style definition. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If __ASSUME_TIMEVAL64, define __adjtime directly rather than via strong_alias.
2004-10-14 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto
instead of static.
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
style definition.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
__ASSUME_TIMEVAL64, define __adjtime directly rather than
via strong_alias.
Richard Henderson [Fri, 15 Oct 2004 07:06:11 +0000 (07:06 +0000)]
* sysdeps/alpha/dl-machine.h (elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel): Mark auto instead of static.
Ulrich Drepper [Thu, 14 Oct 2004 20:55:58 +0000 (20:55 +0000)]
Update.
* nscd/Makefile: When using compilers without -fpie support, also
link with -lselinux if necessary.
Patch by Arkadiusz Miskiewicz <arekm@pld-linux.org>.
Ulrich Drepper [Thu, 14 Oct 2004 16:18:09 +0000 (16:18 +0000)]
Update.
2004-10-14 Ulrich Drepper <drepper@redhat.com>
* nscd/connections.c (nscd_init): Remove file if not persistent
and not shared. Patch by Jerome Borsboom <j.borsboom@erasmusmc.nl>.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Handle
defined __NR_setresuid32 && !defined __NR_setresuid.
* sysdeps/unix/sysv/linux/i386/setresgid.c: Handle
defined __NR_setresgid32 && !defined __NR_setresgid.
* sysdeps/sparc/fpu/bits/mathinline.h (__signbitf, __signbit,
__signbitl, sqrtf, sqrt, sqrtl, fdim, fdimf): Use __NTH macro.
* sysdeps/generic/errno-loc.c: Don't undef #errno
if RTLD_PRIVATE_ERRNO.
* include/errno.h (__errno_location): If RTLD_PRIVATE_ERRNO,
add attribute_hidden.
* dlfcn/dlinfo.c (dlinfo_doit): Replace iteration over GL(dl_loaded)
chain with iteration over all namespaces' _ns_loaded chains.
* sysdeps/powerpc/powerpc32/dl-machine.c (__elf_preferred_address):
Likewise.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
Ulrich Drepper [Thu, 14 Oct 2004 09:24:14 +0000 (09:24 +0000)]
Update.
2004-10-14 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (_dl_start): Fix one last dl_loaded.
* elf/dl-load.c (_dl_map_object_from_fd): Avoid definition of
label when it is not needed.
* elf/dl-close.c (_dl_close): Typo: & -> &&.
Ulrich Drepper [Thu, 14 Oct 2004 02:24:44 +0000 (02:24 +0000)]
Update.
2004-10-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/segfault.c: Include alloca.h and stdint.h.
Don't include frame.h.
(CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove.
(catch_segfault): Use backtrace function.
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Fix comment.
* sysdeps/unix/sysv/linux/ia64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h (GET_PC): Return sc_ip
field.
Ulrich Drepper [Thu, 14 Oct 2004 02:08:23 +0000 (02:08 +0000)]
[BZ #77]
Update.
Add support for namespaces in the dynamic linker.
* dlfcn/Makefile (libdl-routines): Add dlmopen.
* dlfcn/Versions [libdl, GLIBC_2.3.4]: Add dlmopen.
* dlfcn/dlfcn.h: Define Lmid_t, LM_ID_BASE, and LM_ID_NEWLM.
Declare dlmopen. Document RTLD_DI_LMID.
* dlfcn/dlinfo.c: Handle RTLD_DI_LMID.
* dlfcn/dlmopen.c: New file.
* dlfcn/dlopen.c: Pass new parameter to _dl_open.
* dlfcn/dlopenold.c: Likewise.
* elf/dl-addr.c: Adjust for removal of GL(dl_loaded).
* elf/dl-caller.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-lookup.h: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
* elf/dl-depsc: Likewise. Add new parameter to _dl_map_object.
* elf/dl-fini.c: Call destructors in all namespaces.
* elf/dl-iteratephdr.c: Compute total nloaded. Adjust for removal of
GL(dl_loaded).
* elf/dl-libc.c: Pass new parameter to _dl_open. Adjust for removal
of GL(dl_loaded).
* elf/dl-load.c (_dl_map_object_from_fd): Don't load ld.so a second
time. Reuse the one from the main namespace in all others.
Pass new parameter to _dl_new_object.
Adjust for removal of GL(dl_loaded).
* elf/dl-object.c: Take new parameter. Use it to initialize l_ns.
Adjust for removal of GL(dl_loaded).
* elf/dl-open.c (_dl_open): Take new parameter.
Adjust for removal of GL(dl_loaded).
* elf/dl-support.c: Replace global _dl_loaded etc variables with
_dl_ns variable.
* include/dlfcn.h: Adjust prototype of _dl_open.
Define __LM_ID_CALLER.
* include/link.h: Add l_real, l_ns, and l_direct_opencount elements.
* sysdeps/generic/dl-tls.c: Bump TLS_STATIC_SURPLUS. Since libc is
using TLS we need memory appropriate to the number of namespaces.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Replace _dl_loaded,
_dl_nloaded, _dl_global_scope, _dl_main_searchlist, and
_dl_global_scope_alloc with _dl_ns element. Define DL_NNS.
Adjust prototypes of _dl_map_object and member in rtld_global_ro.
* malloc/malloc.c: Include <dlfcn.h>.
* malloc/arena.c (ptmalloc_init): If libc is not in primary namespace,
never use brk.
* elf/Makefile: Add rules to build and run tst-dlmopen1 and
tst-dlmopen2.
* elf/tst-dlmopen1.c: New file.
* elf/tst-dlmopen1mod.c: New file.
* elf/tst-dlmopen2.c: New file.
* elf/dl-close.c: Improve reference counting by tracking direct loads.
* elf/dl-lookup.c (add_dependency): Likewise.
* elf/dl-open.c (dl_open_worker): Likewise.
* elf/rtld.c (dl_main): Likewise.
2004-09-09 GOTO Masanori <gotom@debian.or.jp>
[BZ #77]
* elf/dl-close.c: Count down l_opencount to check not only for
l_reldeps, but also l_initfini.
2004-10-13 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 13 Oct 2004 19:27:57 +0000 (19:27 +0000)]
Update.
2004-10-13 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): Update bug reporting instructions.
Ulrich Drepper [Tue, 12 Oct 2004 06:19:23 +0000 (06:19 +0000)]
Update.
* timezone/asia: Update from tzdata2004e.
* timezone/southamerica: Likewise.
* timezone/private.h: Update from tzcode2004e.
* timezone/zdump.c: Likewise.
Ulrich Drepper [Mon, 11 Oct 2004 22:28:15 +0000 (22:28 +0000)]
Update.
* stdio-common/vfscanf.c: Add support for reading localized
digits. Patch mainly by Hamed Malek <hamed@bamdad.org>.
Ulrich Drepper [Mon, 11 Oct 2004 20:50:24 +0000 (20:50 +0000)]
[BZ #434]
Update.
* resolv/res_init.c (res_thread_freeres): Reset _res.options.
[BZ #434]
Ulrich Drepper [Mon, 11 Oct 2004 20:38:58 +0000 (20:38 +0000)]
Update.
* resolv/res_send.c (send_dg): Use nonblocking sockets. Add
appropriate poll/select calls and restart operation if necessary.
Also handle EINTR.
Ulrich Drepper [Mon, 11 Oct 2004 10:16:31 +0000 (10:16 +0000)]
Update.
* elf/tst-dlopenrpath.c (do_test): Enable code which was disabled
for debugging.
Ulrich Drepper [Mon, 11 Oct 2004 07:16:47 +0000 (07:16 +0000)]
Update.
2004-10-11 Ulrich Drepper <drepper@redhat.com>
* elf/dl-sym.c (do_sym): Avoid using global variable.
* elf/dl-addr.c (_dl_addr): Really use match everywhere.
Ulrich Drepper [Mon, 11 Oct 2004 07:08:08 +0000 (07:08 +0000)]
(_dl_addr): Really use match everwhere.
Andreas Schwab [Sat, 9 Oct 2004 21:19:27 +0000 (21:19 +0000)]
*** empty log message ***
2004-10-09 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/memcopy.h (WORD_COPY_BWD): Remove use of cast as
lvalue.
* sysdeps/m68k/fpu/bits/mathinline.h: Remove __THROW from inline
definitions.
Andreas Schwab [Sat, 9 Oct 2004 21:18:03 +0000 (21:18 +0000)]
Remove __THROW from inline definitions.
Ulrich Drepper [Fri, 8 Oct 2004 01:00:15 +0000 (01:00 +0000)]
Fix typo in comment.
Ulrich Drepper [Fri, 8 Oct 2004 00:57:58 +0000 (00:57 +0000)]
(__libc_current_sigrtmin): Fix typo in comment.
Roland McGrath [Thu, 7 Oct 2004 18:44:01 +0000 (18:44 +0000)]
* misc/sys/uio.h: Change __vector to __iovec to avoid clash with
altivec.
Roland McGrath [Thu, 7 Oct 2004 18:43:52 +0000 (18:43 +0000)]
2004-10-07 Andreas Schwab <schwab@suse.de>
* misc/sys/uio.h: Change __vector to __iovec to avoid clash with
altivec.
Ulrich Drepper [Wed, 6 Oct 2004 22:09:35 +0000 (22:09 +0000)]
Update.
2004-10-06 Alan Modra <amodra@bigpond.net.au>
* gmon/Makefile (CFLAGS-mcount.c): Move before inclusion of "Rules".
* sysdeps/powerpc/powerpc64/Makefile (CFLAGS-mcount.c): Add
-msoft-float.
* sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): New macros.
(CALL_MCOUNT): Replace with a gas macro implementation.
(EALIGN): Delete PROF version.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Invoke CALL_MCOUNT.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
* sysdeps/powerpc/powerpc64/memset.S: Likewise.
* sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
* sysdeps/powerpc/powerpc64/strchr.S: Likewise.
* sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
* sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
* sysdeps/powerpc/powerpc64/strlen.S: Likewise.
* sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
* sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Add extra entry point
past _mcount call.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Use it.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: Likewise.
Ulrich Drepper [Wed, 6 Oct 2004 18:28:30 +0000 (18:28 +0000)]
Update.
2004-10-06 Ulrich Drepper <drepper@redhat.com>
* resolv/res_mkquery.c (res_nmkquery): Reject randombits value if
low 16 bits are zero.
Ulrich Drepper [Wed, 6 Oct 2004 18:09:57 +0000 (18:09 +0000)]
Update.
* posix/tst-getaddrinfo2.c: Include stdlib.h and string.h.
(do_test): Use %p instead of 0x%08X to print a pointer.
* malloc/malloc.c: Include stdio-common/_itoa.h.
Ulrich Drepper [Wed, 6 Oct 2004 17:40:56 +0000 (17:40 +0000)]
Update.
2004-10-06 Jakub Jelinek <jakub@redhat.com>
* sysdeps/s390/jmpbuf-unwind.h: Include bits/wordsize.h.
(JMPBUF_CFA_UNWINDS_ADJ): Subtract 96 resp. 160 bytes from CFA.
Ulrich Drepper [Wed, 6 Oct 2004 08:53:46 +0000 (08:53 +0000)]
Update.
2004-10-05 Dwayne Grant McConnell <dgm69@us.ibm.com>
* pthread.c: Mask restart signal during cancel signal handler.
Ulrich Drepper [Wed, 6 Oct 2004 08:01:28 +0000 (08:01 +0000)]
Update.
* tst-clock1.c: Change #ifdef to #if defined.
* tst-clock2.c: Likewise.
* tst-cond11.c: Likewise.
2004-10-05 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Wed, 6 Oct 2004 03:18:15 +0000 (03:18 +0000)]
Update.
2004-10-05 Ulrich Drepper <drepper@redhat.com>
* elf/rtld.c (dl_main): Use _dl_debug_printf instead of _dl_printf
for prelink message.
Ulrich Drepper [Wed, 6 Oct 2004 03:02:14 +0000 (03:02 +0000)]
(System V Number Conversion): Fix return type of ecvt_r, fcvt_r, qecvt_r, and qfcvt_r.
Roland McGrath [Tue, 5 Oct 2004 18:46:44 +0000 (18:46 +0000)]
typo
(__lll_mutex_timedlock_wait): If woken but cannot get the lock,
Ulrich Drepper [Tue, 5 Oct 2004 16:11:51 +0000 (16:11 +0000)]
Update.
2004-10-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include dl-sysdep.h.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
Ulrich Drepper [Tue, 5 Oct 2004 15:36:41 +0000 (15:36 +0000)]
Update.
2004-10-05 Ulrich Drepper <drepper@redhat.com>
* grp/initgroups.c: Remove duplicate group IDs.
* grp/compat-initgroups.c: Likewise.
* nscd/initgrcache.c: Likewise.
Ulrich Drepper [Tue, 5 Oct 2004 09:26:23 +0000 (09:26 +0000)]
Update.
2004-10-05 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Return 200112L
for _SC_CPUTIME or _SC_THREAD_CPUTIME.
* nscd/Makefile (nscd-cflags): Set to -DIS_IN_nscd=1, plus
-fpie if building PIE.
(CFLAGS-*.c): Use it.
* nscd/Makefile (relro-LDFLAGS): Add -Wl,-z,now if have-z-relro.
($(objpfx)nscd): Add $(relro-LDFLAGS).
* sysdeps/unix/sysv/linux/i386/sysconf.c: Include hp-timing.h.
(__sysconf): Return -1 for _SC_CPUTIME or _SC_THREAD_CPUTIME if
!HP_TIMING_AVAIL.
2004-10-05 Ulrich Drepper <drepper@redhat.com>
* nscd/Makefile (distribute): Remove TODO.
* nscd/TODO: Removed.