Ulrich Drepper [Sat, 12 Oct 2002 00:49:44 +0000 (00:49 +0000)]
Update.
* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Use
INTERNAL_SYSCALL is possible.
* sysdeps/unix/sysv/linux/i386/sysdep.h
(INTERNAL_SYSCALL_ERROR_P): New define.
(INTERNAL_SYSCALL_ERRNO): Likewise.
Ulrich Drepper [Fri, 11 Oct 2002 19:00:09 +0000 (19:00 +0000)]
Update.
2002-10-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
Add hack to prevent the compiler from clobbering the signal
context.
Ulrich Drepper [Fri, 11 Oct 2002 18:56:32 +0000 (18:56 +0000)]
(profil_counter): Add hack to prevent the compiler from clobbering the signal context.
Roland McGrath [Fri, 11 Oct 2002 12:54:53 +0000 (12:54 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Fix typos.
Roland McGrath [Fri, 11 Oct 2002 12:19:55 +0000 (12:19 +0000)]
* sysdeps/generic/dl-lookupcfg.h: Include <tls.h>.
* sysdeps/sh/dl-lookupcfg.h: File removed.
* sysdeps/i386/dl-lookupcfg.h: File removed.
Roland McGrath [Fri, 11 Oct 2002 12:03:29 +0000 (12:03 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER): Add
missing labels and ; from last change.
Roland McGrath [Fri, 11 Oct 2002 10:55:33 +0000 (10:55 +0000)]
* stdio-common/tst-sscanf.c (val_double): Append .0 to large whole
number literals, so they are doubles instead of ints.
Roland McGrath [Fri, 11 Oct 2002 10:52:20 +0000 (10:52 +0000)]
* sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/i386/dl-machine.h (elf_machine_type_class, elf_machine_rel):
Disable TLS relocs if [RTLD_BOOTSTRAP && !USE___THREAD].
* sysdeps/x86_64/dl-machine.h
(elf_machine_type_class, elf_machine_rela): Likewise.
* sysdeps/sh/dl-machine.h (elf_machine_type_class, elf_machine_rela):
Likewise.
* include/link.h (struct link_map): Remove member l_tls_tp_initialized.
* elf/rtld.c (_dl_start_final, dl_main): Don't use it.
(_dl_start): Conditionalize PT_TLS check on [USE___THREAD].
* sysdeps/i386/dl-tls.h (__TLS_GET_ADDR): Use ___tls_get_addr_internal
instead of ___tls_get_addr.
(___tls_get_addr_internal): Add attribute_hidden to decl.
* sysdeps/generic/ldsodefs.h (struct rtld_global): New variable
_dl_error_catch_tsd.
* elf/rtld.c (startup_error_tsd): New function.
(dl_main): Point _dl_error_catch_tsd at that.
* elf/dl-error.c: Don't use libc-tsd.h for DL_ERROR,
use new function pointer instead.
* elf/dl-tsd.c: New file.
* elf/Makefile (routines): Add it.
2002-10-07 Roland McGrath <roland@redhat.com>
* elf/dl-misc.c (_dl_debug_vdprintf): Use INTERNAL_SYSCALL macro for
writev if it's available. Otherwise if [RTLD_PRIVATE_ERRNO] then
take _dl_load_lock around calling __writev.
* sysdeps/unix/sysv/linux/i386/sysdep.h (INTERNAL_SYSCALL): New macro.
(INLINE_SYSCALL): Use that.
* sysdeps/generic/dl-sysdep.h: New file.
* sysdeps/mach/hurd/dl-sysdep.h: New file.
* sysdeps/generic/ldsodefs.h: Include <dl-sysdep.h>.
* include/errno.h [IS_IN_rtld]: Include <dl-sysdep.h> to define ...
[RTLD_PRIVATE_ERRNO]: Use a hidden global variable for errno and
access it directly.
* elf/dl-minimal.c (__errno_location): Removed.
* sysdeps/unix/i386/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use GOTOFF access for errno.
* sysdeps/unix/sysv/linux/i386/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/x86_64/sysdep.S (__syscall_errno) [RTLD_PRIVATE_ERRNO]:
Use PC-relative access for errno.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h
[RTLD_PRIVATE_ERRNO] (SYSCALL_ERROR_HANDLER): Likewise.
* include/tls.h: New file.
(USE___THREAD): New macro.
Define to 1 under [USE_TLS && HAVE___THREAD] and only when compiling
libc or libpthread.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]: Conditional
changed from [USE_TLS && HAVE___THREAD].
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
* include/errno.h: Likewise.
* include/netdb.h: Likewise.
* include/resolv.h: Likewise.
* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
* manual/search.texi (Tree Search Function, Hash Search Function):
Mention search.h clearly.
2002-10-05 Roland McGrath <roland@redhat.com>
* elf/dl-fxstat64.c: File removed.
* elf/dl-xstat64.c: File removed.
* elf/Makefile (rtld-routines): Remove them.
* sysdeps/unix/sysv/linux/xstat64.c: Remove RTLD_STAT64 conditionals.
Instead, use strong_alias instead of versioned_symbol in the
!SHLIB_COMPAT case.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* include/shlib-compat.h
(SHLIB_COMPAT): Require that IS_IN_##lib be defined nonzero.
[! NOT_IN_libc] (IS_IN_libc): Define it.
* cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Use -Dx=1 not just -Dx.
* elf/Makefile (CPPFLAGS-.os): Likewise.
* sunrpc/rpc_main.c (main): Don't declare with noreturn attribute.
Return the status instead of calling exit.
* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.
* include/stubs-prologue.h: New file. Give #error under #ifdef _LIBC.
* Makefile ($(inst_includedir)/gnu/stubs.h): Depend on it.
Use that file's contents instead of literal echo's for the prologue.
* include/features.h: Include <gnu/stubs.h> unconditionally.
* include/gnu/stubs.h: New file.
2002-09-30 Roland McGrath <roland@redhat.com>
* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
Roland McGrath [Fri, 11 Oct 2002 10:50:51 +0000 (10:50 +0000)]
2002-10-05 Roland McGrath <roland@redhat.com>
* Makeconfig (CFLAGS): Prepend -std=gnu99.
* Makerules (+make-deps): Use $(CFLAGS) only for .c sources.
Remove superfluous rm command, whose @ plus make bugs hid
all these commands from the make output.
2002-09-30 Roland McGrath <roland@redhat.com>
* elf/rtld-Rules: New file.
* elf/Makefile ($(objpfx)librtld.map, $(objpfx)librtld.mk,
$(objpfx)rtld-libc.a): New targets.
(generated): Add them.
(reloc-link): Remove -o $@ from the variable.
($(objpfx)dl-allobjs.os): Add -o $@ after $(reloc-link).
(distribute): Add rtld-Rules.
(CPPFLAGS-.os): Define this instead of CFLAGS-.os.
* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for rtld-% targets.
(common-mostlyclean, common-clean): Clean up rtld-* files.
* sysdeps/unix/make-syscalls.sh: Add rtld-*.os target name to rules.
Ulrich Drepper [Fri, 11 Oct 2002 10:01:36 +0000 (10:01 +0000)]
Update.
* sysdeps/unix/sysv/linux/execve.c: Don't try calling
__pthread_kill_other_threads_np.
* sysdeps/ia64/memset.S: Likewise.
* sysdeps/ia64/memcpy.S: Likewise.
Roland McGrath [Fri, 11 Oct 2002 09:18:04 +0000 (09:18 +0000)]
* sysdeps/generic/dl-tls.c (__tls_get_addr): After freeing block in
now-unused dtv slot, reset the slot to TLS_DTV_UNALLOCATED.
* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.
* elf/tst-tls8.c (do_test): Use %zd format for l_tls_modid members.
Roland McGrath [Fri, 11 Oct 2002 09:17:49 +0000 (09:17 +0000)]
2002-10-11 Roland McGrath <roland@redhat.com>
* elf/tls-macros.h [__x86_64__] (TLS_GD): Fix the sequence with the
proper set of no-op insn prefixes.
Ulrich Drepper [Fri, 11 Oct 2002 07:59:08 +0000 (07:59 +0000)]
Don't try calling __pthread_kill_other_threads_np.
Ulrich Drepper [Fri, 11 Oct 2002 07:58:32 +0000 (07:58 +0000)]
Update.
2002-10-11 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/pselect.c: Avoid unnecessary sigprocmask calls.
Ulrich Drepper [Fri, 11 Oct 2002 07:57:13 +0000 (07:57 +0000)]
execve implementation for Linux w/ linuxthreads.
Roland McGrath [Fri, 11 Oct 2002 07:22:18 +0000 (07:22 +0000)]
* locale/newlocale.c (__newlocale): If setting all categories to "C",
just return &_nl_C_locobj instead of copying it.
* locale/freelocale.c (__freelocale): Check for &_nl_C_locobj.
* locale/duplocale.c (__duplocale): Likewise.
2002-10-07 Roland McGrath <roland@frob.com>
* config.h.in (HAVE_I386_SET_GDT): New #undef.
* sysdeps/mach/configure.in: Define it with new check for i386_set_gdt.
* sysdeps/mach/configure: Regenerated.
2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Add all necessary register outputs for syscall-clobbered registers.
2002-10-02 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/bzero.S: Rewritten by Sverre Jarp to tune for
Itanium 2 (and Itanium).
Fix unwind directives and make it fit in 80 columns.
* sysdeps/ia64/memset.S: Ditto.
* sysdeps/ia64/memcpy.S: Ditto.
Move jump table to .rodata section.
2002-10-03 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Add
clobbers to asm.
Roland McGrath [Fri, 11 Oct 2002 07:20:46 +0000 (07:20 +0000)]
2002-10-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Add all necessary register outputs for syscall-clobbered registers.
Ulrich Drepper [Fri, 11 Oct 2002 07:14:39 +0000 (07:14 +0000)]
Avoid unnecessary sigprocmask calls.
Ulrich Drepper [Thu, 10 Oct 2002 17:50:16 +0000 (17:50 +0000)]
(Setting Modes): Fix typos in example code.
Andreas Jaeger [Thu, 10 Oct 2002 12:20:26 +0000 (12:20 +0000)]
* sysdeps/x86_64/_mcount.S: Restore correct registers.
Andreas Jaeger [Thu, 10 Oct 2002 12:20:18 +0000 (12:20 +0000)]
Restore correct registers.
Ulrich Drepper [Thu, 10 Oct 2002 07:27:56 +0000 (07:27 +0000)]
Update.
2002-10-10 Ulrich Drepper <drepper@redhat.com>
* posix/Versions (libc) [GLIBC_PRIVATE]: Add __pselect.
Ulrich Drepper [Thu, 10 Oct 2002 06:47:09 +0000 (06:47 +0000)]
Update.
* sysdeps/generic/ldsodefs.h: Remove attribute_hidden from
_dl_allocate_tls_init. Add rtld_hidden_proto.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Add
rtld_hidden_def.
* elf/Versions (ld) [GLIBC_PRIVATE]: Add _dl_allocate_tls_init.
Ulrich Drepper [Thu, 10 Oct 2002 00:42:24 +0000 (00:42 +0000)]
Update.
* Make-dist: Add back one of the tar invocations removed before.
* stdlib/Makefile (distribute): Add allocalim.h.
Ulrich Drepper [Wed, 9 Oct 2002 23:39:33 +0000 (23:39 +0000)]
Update.
* version.h (VERSION): Bump to 2.3.1.
Patch by Stefan Jones <stefan.jones@multigig.com>.
Ulrich Drepper [Wed, 9 Oct 2002 18:21:41 +0000 (18:21 +0000)]
Update.
* sysdeps/generic/bits/libc-tsd.h [!(USE_TLS && HAVE___THREAD)]
(__libc_tsd_address): Use correct variable name.
Patch by sStefan Jones <tefan.jones@multigig.com>.
Ulrich Drepper [Wed, 9 Oct 2002 17:00:06 +0000 (17:00 +0000)]
Update.
2002-10-09 Jakub Jelinek <jakub@redhat.com>
* no-tsd.c: Include stdlib.h.
Ulrich Drepper [Wed, 9 Oct 2002 09:58:30 +0000 (09:58 +0000)]
Update.
* sysdeps/unix/sysv/linux/ia64/getcontext.S: Add missing ;;.
Reported by edwardsg@sgi.com [PR libc/4678].
Ulrich Drepper [Wed, 9 Oct 2002 09:42:48 +0000 (09:42 +0000)]
Update.
2002-10-09 Ulrich Drepper <drepper@redhat.com>
* Versions.def (libc): Add GLIBC_2.3.1.
(libpthread): Add GLIBC_2.3.1.
* include/signal.h: Add libc_hidden_proto for __sigwait, __sigwaitinfo,
and __sigtimedwait.
* signal/Versions: Add __sigtimedwait, __sigwait, and __sigwaitinfo.
* sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Add
libc_hidden_def.
* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
* include/sys/msg.h: Declare __libc_msgrcv and __libc_msgsnd.
* sysdeps/unix/sysv/linux/msgrcv.c (__msgrcv): Rename to __libc_msgrcv
and make old name an alias.
* sysdeps/unix/sysv/linux/msgsnd.c (__msgsnd): Rename to __libc_msgsnd
and make old name an alias.
* sysvipc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_msgrcv and
__libc_msgsnd.
* include/sys/uio.h: Declare __libc_readv and __libc_writev.
* misc/Versions (libc) [GLIBC_PRIVATE]: Add __libc_readv and
__libc_writev.
* sysdeps/generic/readv.c (__readv): Rename to __libc_readv and make
old name an alias.
* sysdeps/posix/readv.c: Likewise
* sysdeps/unix/sysv/aix/readv.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/generic/writev.c (__writev): Rename to __libc_writev and make
old name an alias.
* sysdeps/posix/writev.c: Likewise
* sysdeps/unix/sysv/aix/writev.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* include/sys/wait.h: Declare __waitid.
* posix/Versions (libc) [GLIBC_PRIVATE]: Add __waitid.
* sysdeps/generic/waitid.c (waitid): Rename to __waitid and make old
name an alias.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/aix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add creat syscall.
2002-10-07 Jakub Jelinek <jakub@redhat.com>
* include/alloca.h (__libc_use_alloca, __libc_alloca_cutoff): New
prototypes.
(__MAX_ALLOCA_CUTOFF): Define.
Include allocalim.h.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r,
_nss_dns_gethostbyaddr_r): Use alloca or malloc to allocate
host_buffer depending on __libc_use_alloca.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r,
_nss_dns_getnetbyaddr_r): Use alloca or malloc to allocate
net_buffer depending on __libc_use_alloca.
* resolv/res_query.c (res_nquery): Use alloca or malloc to allocate
buf depending on __libc_use_alloca.
* resolv/gethnamaddr.c (gethostbyname2, gethostbyaddr): Likewise.
* stdio-common/vfprintf.c (vfprintf): Use __libc_use_alloca
instead of hardcoded constants.
Pass proper size argument to alloca and compute end for wide char
version.
* stdio-common/printf_fp.c (__printf_fp): Use __libc_use_alloca
instead of hardcoded constants.
* string/strcoll.c (strcoll): Likewise.
* string/strxfrm.c (strxfrm): Likewise.
* sysdeps/posix/readv.c (__readv): Likewise.
* sysdeps/posix/writev.c (__writev): Likewise.
* sysdeps/generic/allocalim.h: New file.
Ulrich Drepper [Wed, 9 Oct 2002 09:04:34 +0000 (09:04 +0000)]
(libc): Add GLIBC_2.3.1. (libpthread): Add GLIBC_2.3.1.
Roland McGrath [Tue, 8 Oct 2002 08:51:28 +0000 (08:51 +0000)]
* configure.in (aux_missing warning): Change "too old" to
"incompatible versions", since for autoconf it's "too new" right now.
* configure: Regenerated.
Roland McGrath [Tue, 8 Oct 2002 08:44:14 +0000 (08:44 +0000)]
* configure.in (AUTOCONF): New check to set it. Set to "no" if the
one found doesn't work on our configure.in.
* configure: Regenerated.
* config.make.in (AUTOCONF): New substituted variable.
* Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
(autoconf-it): ... here, use that instead of defining conditionally.
Use $(AUTOCONF) instead of literal autoconf.
[$(AUTOCONF) != no] (configure, %/configure): Protect these rules
with this condition.
* Make-dist (autoconf-it, configure, %/configure): Copy those changes.
Roland McGrath [Tue, 8 Oct 2002 08:44:09 +0000 (08:44 +0000)]
2002-10-08 Roland McGrath <roland@redhat.com>
* configure.in (AUTOCONF): New check to set it. Set to "no" if the
one found doesn't work on our configure.in.
* configure: Regenerated.
* config.make.in (AUTOCONF): New substituted variable.
* Makefile (autoconf-it-cvs): New canned sequence, broken out of ...
(autoconf-it): ... here, use that instead of defining conditionally.
Use $(AUTOCONF) instead of literal autoconf.
[$(AUTOCONF) != no] (configure, %/configure): Protect these rules
with this condition.
* Make-dist (autoconf-it, configure, %/configure): Copy those changes.
Ulrich Drepper [Tue, 8 Oct 2002 07:58:03 +0000 (07:58 +0000)]
Update.
2002-10-08 Ulrich Drepper <drepper@redhat.com>
* Make-dist (dist): Cleanup a bit. We are not interested in the
14 char filename limit anymore. Remove intermediate files and
symlinks.
Ulrich Drepper [Sat, 5 Oct 2002 18:18:49 +0000 (18:18 +0000)]
Update.
2002-10-05 Ulrich Drepper <drepper@redhat.com>
* po/sk.po: Update from translation team.
* po/tr.po: Likewise.
* po/gl.po: Likewise.
Ulrich Drepper [Sat, 5 Oct 2002 06:52:02 +0000 (06:52 +0000)]
Update.
2002-10-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf/tls-macros.h: Fix SH version of macros so as to match ABI syntax.
2002-10-03 Ulrich Drepper <drepper@redhat.com>
* version.h (RELEASE): Change to stable.
See ChangeLog.13 for earlier changes.
Ulrich Drepper [Thu, 3 Oct 2002 16:37:04 +0000 (16:37 +0000)]
Update.
2002-10-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/_exit.c (__syscall_exit,
__syscall_exit_group): New prototypes.
Ulrich Drepper [Thu, 3 Oct 2002 11:49:01 +0000 (11:49 +0000)]
Update.
* glibc 2.3 released.
Ulrich Drepper [Thu, 3 Oct 2002 09:15:22 +0000 (09:15 +0000)]
Update.
2002-10-03 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/stxncpy.S: Don't access memory beyond the source
buffer.
* sysdeps/alpha/alphaev6/stxncpy.S: Likewise.
2002-10-02 Andreas Jaeger <aj@suse.de>
Guido Guenther <agx@sigxcpu.org>
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
Ulrich Drepper [Thu, 3 Oct 2002 08:58:56 +0000 (08:58 +0000)]
Update.
2002-10-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/net/route.h: Include bits/wordsize.h.
(struct rtentry): Make rt_pad4 6 bytes long if __WORDSIZE == 64.
* sysdeps/unix/sysv/linux/alpha/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/alpha/net/route.h: Remove.
* sysdeps/unix/sysv/linux/ia64/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/ia64/net/route.h: Remove.
* sysdeps/unix/sysv/linux/s390/Dist: Remove net/route.h.
* sysdeps/unix/sysv/linux/s390/net/route.h: Remove.
Ulrich Drepper [Thu, 3 Oct 2002 08:38:41 +0000 (08:38 +0000)]
Update.
2002-10-03 Ulrich Drepper <drepper@redhat.com>
* libio/freopen.c: Don't re-set _wide_data element if the stream
is of old style which didn't have the element.
* libio/freopen64.c: Likewise.
Ulrich Drepper [Thu, 3 Oct 2002 01:03:45 +0000 (01:03 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/Dist: Add bits/utmpx.h.
* sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
Ulrich Drepper [Thu, 3 Oct 2002 00:24:35 +0000 (00:24 +0000)]
Update.
2002-10-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/s390/s390-32/initfini.c: Avoid unterminated string literals.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Likewise.
Ulrich Drepper [Wed, 2 Oct 2002 21:03:48 +0000 (21:03 +0000)]
Update.
2002-10-02 Steven Munroe <sjmunroe@us.ibm.com>
Jakub Jelinek <jakub@redhat.com>
* login/programs/utmpdump.c (print_entry): Copy up->ut_tv fields
to struct timeval temp_tv before printing to be 32-/64-bit agnostic.
* sysdeps/powerpc/bits/wordsize.h: Move to...
* sysdeps/powerpc/powerpc32/bits/wordsize.h: ...here.
(__WORDSIZE_COMPAT32): Define.
* sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
* sysdeps/sparc/sparc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/sparc/sparc64/bits/wordsize.h (__WORDSIZE_COMPAT32):
Define.
* sysdeps/s390/bits/wordsize.h: Move to...
* sysdeps/s390/s390-32/bits/wordsize.h: ...here.
* sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
* sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Define.
* sysdeps/unix/sysv/linux/powerpc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/powerpc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/utmpx.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmp.h: New file.
* sysdeps/unix/sysv/linux/x86_64/bits/utmpx.h: New file.
Ulrich Drepper [Wed, 2 Oct 2002 20:28:30 +0000 (20:28 +0000)]
Update.
2002-10-02 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix comment typo.
Temporarily enable R_ALPHA_NONE relocs in ld.so.
* sysdeps/ia64/dl-machine.h (elf_machine_rela): Temporarily enable
R_IA64_NONE relocs in ld.so.
Ulrich Drepper [Wed, 2 Oct 2002 20:24:21 +0000 (20:24 +0000)]
Temporarily enable R_*_NONE relocs in ld.so.
Andreas Jaeger [Wed, 2 Oct 2002 11:01:06 +0000 (11:01 +0000)]
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
* sysdeps/mips/fpu/fesetenv.c: Likewise.
Roland McGrath [Wed, 2 Oct 2002 08:48:09 +0000 (08:48 +0000)]
* README.template: Minimum Linux kernel for powerpc64 is 2.4.19.
* sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (struct ipc_perm):
Use __uint32_t and __uint64_t for __seq, __pad1, __unused[12] fields
so they are consistent between PPC32 and PPC64.
Roland McGrath [Wed, 2 Oct 2002 08:34:07 +0000 (08:34 +0000)]
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
(_STAT_VER): Define to _STAT_VER_KERNEL.
(stru stat, struct stat64): Define to match the PPC64 kernel.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
(libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.
2002-10-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files.
Roland McGrath [Wed, 2 Oct 2002 08:33:46 +0000 (08:33 +0000)]
2002-10-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
Ulrich Drepper [Wed, 2 Oct 2002 07:30:48 +0000 (07:30 +0000)]
Update.
2002-10-02 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.3.
* elf/Makefile (distribute): Add tst-tlsmod1.c, tst-tlsmod2.c,
tst-tlsmod3.c, tst-tlsmod4.c, circlemod1.c, circlemod1a.c,
circlemod2.c, circlemod2a.c, circlemod3.c, circlemod3a.c,
and nodlopenmod2.c.
* login/Makefile (distribute): Add utmp-equal.h.
* iconvdata/Makefile (distribute): Add TSCII.precomposed and
TSCII.irreversible.
* Make-dist (dist): Create .bz2 file. Add rule to create .bz2
files.
Also distribute xtests sources.
2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf/elf.h: Change TLS ELF relocation numbers.
* elf/tls-macros.h: Fix code sequences for SH TLS_LD and TLS_GD
macros.
* sysdeps/sh/dl-machine.h (dl_machine_rela) [case R_SH_TLS_TPOFF32]:
Use addend.
* sysdeps/sh/elf/initfini.c: Move __fpscr_values to...
* sysdeps/sh/elf/start.S: ...here.
Ulrich Drepper [Wed, 2 Oct 2002 06:22:02 +0000 (06:22 +0000)]
Update.
2002-10-02 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/pt-machine.h: Make C code ifndef'ed with __ASSEMBLER__.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/unix/sysv/linux/sh/smp.h: New file.
Ulrich Drepper [Tue, 1 Oct 2002 20:13:00 +0000 (20:13 +0000)]
Update.
2002-10-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (MINSIGSTKSZ,
SIGSTKSZ): Changed to match kernel.
* sysdeps/unix/sysv/linux/sparc/bits/sigstack.h: New file.
Ulrich Drepper [Tue, 1 Oct 2002 20:10:32 +0000 (20:10 +0000)]
(MINSIGSTKSZ, SIGSTKSZ): Changed to match kernel.
Roland McGrath [Tue, 1 Oct 2002 19:42:32 +0000 (19:42 +0000)]
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.
2002-02-08 Randolph Chung <tausq@debian.org>
* sysdeps/hppa/elf/start.S: Define __data_start.
Roland McGrath [Tue, 1 Oct 2002 19:42:01 +0000 (19:42 +0000)]
2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.
Ulrich Drepper [Tue, 1 Oct 2002 09:26:03 +0000 (09:26 +0000)]
Update.
2002-10-01 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regex_internal.c (re_string_reconstruct): Reset the member
LEN and STOP.
* posix/regexec.c (re_search_stub): Remove incorrect condition of
"range < 0".
Round RANGE in case that it is too small.
Ulrich Drepper [Tue, 1 Oct 2002 09:22:32 +0000 (09:22 +0000)]
(re_string_reconstruct): Reset the member LEN and STOP.
Roland McGrath [Tue, 1 Oct 2002 08:46:42 +0000 (08:46 +0000)]
* config.h.in (NO_HIDDEN): New #undef.
* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.
Roland McGrath [Tue, 1 Oct 2002 08:45:44 +0000 (08:45 +0000)]
2002-10-01 Roland McGrath <roland@frob.com>
* config.h.in (NO_HIDDEN): New #undef.
* include/libc-symbols.h [! NO_HIDDEN]: Add this condition to
nonempty definitions of hidden_proto et al.
* configure.in: Grok --disable-hidden-plt to define NO_HIDDEN.
* configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Always define NO_HIDDEN.
* sysdeps/mach/hurd/configure: Regenerated.
Ulrich Drepper [Tue, 1 Oct 2002 00:05:23 +0000 (00:05 +0000)]
Update.
2002-09-19 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/dl-fptr.c (make_fdesc): Load address of "local" via
a 64-bit gp-relative address to enable binaries with large data
sections.
2002-09-30 Ulrich Drepper <drepper@redhat.com>
* stdlib/cxa_finalize.c (__cxa_finalize): Call UNREGISTER_ATFORK
if it is defined.
* posix/Makefile (distribute): Add fork.h.
* sysdeps/generic/fork.h: New file.
Ulrich Drepper [Mon, 30 Sep 2002 22:30:11 +0000 (22:30 +0000)]
Update.
2002-09-29 Bruno Haible <bruno@clisp.org>
* sysdeps/generic/utmp_file.c (LOCKING_FAILED): New macro.
(UNLOCK_FILE): Add a label.
(getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
updwtmp_file): Shut off the alarm clock when locking failed.
Ulrich Drepper [Mon, 30 Sep 2002 22:01:05 +0000 (22:01 +0000)]
Update.
2002-09-30 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regex_internal.h (re_match_context_t): Add a new member.
(re_fail_stack_ent_t): New structure.
(re_fail_stack_t): Likewise.
* posix/regexec.c (re_search_internal): Use the new member of
re_match_context_t.
Use fail stack only if it has back references and there are plural
matching candidates.
(proceed_next_node): Use fail stack if it is indicated.
(set_regs): Likewise.
(push_fail_stack): New function.
(pop_fail_stack): New function.
(check_dst_limits): Likewise.
(check_dst_limits_calc_pos): Likewise.
(search_subexp): Check the limitations on the top of subexpressions.
(sift_states_bkref): Check the limitations of the destination node.
Reuse the array sctx->sifted_states.
2002-09-30 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_fp.c: Shuffle a few lines around to help the
compiler optimizing. No semantical changes intended.
Ulrich Drepper [Mon, 30 Sep 2002 20:56:47 +0000 (20:56 +0000)]
Update.
Roland McGrath [Mon, 30 Sep 2002 20:15:35 +0000 (20:15 +0000)]
* sysdeps/ia64/strncpy.S: Only segfault in .recovery2 if some bits
from the next quad are needed.
Roland McGrath [Mon, 30 Sep 2002 10:26:59 +0000 (10:26 +0000)]
* elf/tls-macros.h (TLS_LD, TLS_GD): Use call insn, not callq.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD] [! PIC]:
Use direct-%fs form of TLS access for errno.
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: File removed, since
the i386 version has all the same asm now.
* sysdeps/i386/elf/configure.in: Add @GOTNTPOFF and @NTPOFF uses to
the TLS support check.
* sysdeps/i386/elf/configure: Regenerated.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
* sysdeps/unix/i386/sysdep.S (syscall_error)
[USE_TLS && HAVE___THREAD]: Use TLS access for errno.
Roland McGrath [Mon, 30 Sep 2002 10:26:28 +0000 (10:26 +0000)]
2002-09-30 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE_TLS && HAVE___THREAD]
(SYSCALL_ERROR_HANDLER): Use direct-%gs form of TLS access for errno.
Andreas Jaeger [Mon, 30 Sep 2002 07:48:10 +0000 (07:48 +0000)]
Update.
* stdlib/tst-bsearch.c (main): Fix format strings.
* stdio-common/tst-rndseek.c (do_test): Likewise.
* libio/tst_swprintf.c (main): Likewise.
* catgets/tst-catgets.c (main): Likewise.
* libio/tst-fgetws.c (main): Likewise.
* posix/tst-mmap.c (main): Likewise.
* posix/bug-regex12.c (main): Likewise.
* posix/bug-regex11.c (main): Likewise.
* io/tst-getcwd.c (do_test): Likewise.
Andreas Jaeger [Mon, 30 Sep 2002 07:47:16 +0000 (07:47 +0000)]
Fix format strings.
Roland McGrath [Mon, 30 Sep 2002 07:26:12 +0000 (07:26 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h
[USE_TLS && HAVE___THREAD] (SYSCALL_ERROR_HANDLER): Use TLS access.
Roland McGrath [Mon, 30 Sep 2002 07:21:20 +0000 (07:21 +0000)]
* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
terminal when the test is running in a background job. Instead, make
a pipe and read from its read half while never writing anything to it.
Roland McGrath [Mon, 30 Sep 2002 07:19:21 +0000 (07:19 +0000)]
2002-09-30 Roland McGrath <roland@redhat.com>
* rt/tst-aio7.c (do_test): Don't read from stdin, which could be the
terminal when the test is running in a background job. Instead, make
a pipe and read from its read half while never writing anything to it.
Andreas Jaeger [Mon, 30 Sep 2002 07:08:16 +0000 (07:08 +0000)]
Update.
2002-09-30 Andreas Jaeger <aj@suse.de>
* iconvdata/tst-e2big.c (test): Use %td in printf for ptrdiff_t.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
Store 4 bytes into errno, not 8 bytes.
Andreas Jaeger [Mon, 30 Sep 2002 06:53:25 +0000 (06:53 +0000)]
(test): Use %td in printf for ptrdiff_t.
Ulrich Drepper [Mon, 30 Sep 2002 00:58:29 +0000 (00:58 +0000)]
Update.
2002-09-29 Ulrich Drepper <drepper@redhat.com>
* posix/regexec.c (sift_states_bkref): Remove ret variable. Use
err instead.
handling and don't pass in a siginfo variable.
* nss/Makefile: Move bug-erange from tests to xtests.
Ulrich Drepper [Mon, 30 Sep 2002 00:54:22 +0000 (00:54 +0000)]
(sift_states_bkref): Remove ret variable. Use err instead.
Roland McGrath [Mon, 30 Sep 2002 00:22:26 +0000 (00:22 +0000)]
* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.
Roland McGrath [Mon, 30 Sep 2002 00:22:13 +0000 (00:22 +0000)]
2002-09-29 Roland McGrath <roland@redhat.com>
* test-skeleton.c (timeout_handler): Use WUNTRACED flag in waitpid.
Examine the child's status and print something different if it wasn't
just killed by our SIGKILL.
(main): In the child process call setpgid to put it in its own pgrp.
Ulrich Drepper [Sun, 29 Sep 2002 23:24:50 +0000 (23:24 +0000)]
Update.
2002-09-29 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sigwait.c (__sigwait): The return value
semantics for sigtimedwait is different. Rework the return value
handling and don't pass in an siginfo variable.
Roland McGrath [Sun, 29 Sep 2002 22:53:29 +0000 (22:53 +0000)]
* malloc/malloc.c [! MALLOC_DEBUG] (assert): #undef before defining.
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
Roland McGrath [Sun, 29 Sep 2002 22:48:07 +0000 (22:48 +0000)]
* sysdeps/mach/hurd/Versions (ld: GLIBC_2.2.6): Add __errno_location.
2002-09-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 22:45:29 +0000 (22:45 +0000)]
2002-09-29 Jakub Jelinek <jakub@redhat.com>
* sysdeps/pthread/tst-timer.c (main): Clear
SIGEV2.sigev_notify_attributes.
Ulrich Drepper [Sun, 29 Sep 2002 22:02:28 +0000 (22:02 +0000)]
(__sigwait): The return value semantics for sigtimedwait is different. Rework the return value handling and don't pass in an siginfo variable.
Roland McGrath [Sun, 29 Sep 2002 21:50:55 +0000 (21:50 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.
* sysdeps/unix/x86_64/sysdep.S: Store 32 bits at errno, not 64 bits.
AFAICT, it was just blind luck that the word following errno in .bss
was just alignment padding and not some other variable to be clobbered.
Roland McGrath [Sun, 29 Sep 2002 21:41:17 +0000 (21:41 +0000)]
2002-09-29 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]:
Define errno in .tbss.
* sysdeps/unix/x86_64/sysdep.S [USE_TLS && HAVE___THREAD]: Use TLS
access for setting errno.
Ulrich Drepper [Sun, 29 Sep 2002 20:44:22 +0000 (20:44 +0000)]
Update.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty.
2002-09-29 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Sun, 29 Sep 2002 18:25:48 +0000 (18:25 +0000)]
Update.
* nss/bug-erange.c (main): Don't fail if /etc/resolv.conf doesn't
exist.
2002-09-29 Ulrich Drepper <drepper@redhat.com>
* nss/Makefile: Move bug-erage from tests to xtests.
2002-09-29 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Sun, 29 Sep 2002 18:12:30 +0000 (18:12 +0000)]
(DO_SET_THREAD_AREA): Don't use INLINE_SYSCALL for set_thread_area syscall.
Roland McGrath [Sun, 29 Sep 2002 12:35:09 +0000 (12:35 +0000)]
* stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
2002-09-29 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Sun, 29 Sep 2002 11:32:03 +0000 (11:32 +0000)]
* sysdeps/unix/sysv/linux/sparc/sysdep.h (inline_syscall0): Make asm
volatile.
(inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
inline_syscall5, inline_syscall6): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INLINE_SYSCALL):
Likewise.
2002-09-29 Roland McGrath <roland@redhat.com>
* configure.in (libc_cv_ranlib_necessary check): Put the .o file in
the archive, not the .c file.
* configure: Regenerated.
Roland McGrath [Sun, 29 Sep 2002 10:38:40 +0000 (10:38 +0000)]
* configure: Regenerated after aclocal.m4 change.
* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.
* sysdeps/generic/dl-lookupcfg.h [USE_TLS] (DL_LOOKUP_RETURNS_MAP):
Define it, because _dl_sym presumes it (for any platform).
* sysdeps/x86_64/dl-tls.h: New file.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add a cast.
* sysdeps/x86_64/elf/configure.in: New file.
* sysdeps/x86_64/elf/configure: New generated file.
Roland McGrath [Sun, 29 Sep 2002 09:35:51 +0000 (09:35 +0000)]
* elf/rtld.c (_dl_start): Fix conditional for declaring CNT.
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
before we check it.
Roland McGrath [Sun, 29 Sep 2002 09:35:35 +0000 (09:35 +0000)]
2002-09-28 Roland McGrath <roland@redhat.com>
* aclocal.m4 (LIBC_PROG_BINUTILS): Don't clobber $RANLIB with ranlib
before we check it.
Ulrich Drepper [Sun, 29 Sep 2002 07:03:57 +0000 (07:03 +0000)]
Update.
Ulrich Drepper [Sat, 28 Sep 2002 23:05:39 +0000 (23:05 +0000)]
Update.
2002-09-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __syscall_exit
entry point.
* sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
Ulrich Drepper [Sat, 28 Sep 2002 23:02:54 +0000 (23:02 +0000)]
Add __syscall_exit entry point.
Roland McGrath [Sat, 28 Sep 2002 21:58:14 +0000 (21:58 +0000)]
* pthread.c (__pthread_reset_main_thread) [FLOATING_STACKS]:
Don't call setrlimit, since we did no prior bogon we need to undo.
Roland McGrath [Sat, 28 Sep 2002 20:51:31 +0000 (20:51 +0000)]
* posix/bug-regex11.c (tests): Add flags field.
(main): Avoid warnings. Use test[i].flags. Return nonzero
if any of the tests failed.
* posix/bug-regex12.c: New file.
* posix/Makefile (tests): Add bug-regex12.
Roland McGrath [Sat, 28 Sep 2002 20:51:17 +0000 (20:51 +0000)]
2002-09-28 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex11.c (tests): Add flags field.
(main): Avoid warnings. Use test[i].flags. Return nonzero
if any of the tests failed.
* posix/bug-regex12.c: New file.
* posix/Makefile (tests): Add bug-regex12.
Ulrich Drepper [Sat, 28 Sep 2002 20:12:15 +0000 (20:12 +0000)]
Update.
2002-03-02 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/unix/nice.c (nice): Use getpriority() for the return value.
2002-09-28 Jeff Bailey <jbailey@gnu.org>
* sysdeps/unix/sysv/sysv4/solaris2/configure.in: Delete.
* sysdeps/unix/sysv/aix/configure.in: Update comment and remove
stdio=libio setting.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_pread, __NR_pwrite):
Define these to __NR_pread64, __NR_pwrite64 if not defined.