Ulrich Drepper [Thu, 19 Sep 2002 05:45:33 +0000 (05:45 +0000)]
Update
2002-09-18 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.94.
Ulrich Drepper [Thu, 19 Sep 2002 05:33:54 +0000 (05:33 +0000)]
(VERSION): Bump to 2.2.94.
Roland McGrath [Wed, 18 Sep 2002 18:32:27 +0000 (18:32 +0000)]
* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls for
the __ctype_* compat symbols, so the relocs generated bind to the
right versioned global symbol in the shared object.
* elf/do-rel.h (elf_dynamic_do_rel): Mask off 0x8000 bit (hidden flag)
from the value taken from the DT_VERSYM table.
* elf/dl-runtime.c (fixup, profile_fixup): Likewise.
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Likewise.
(RESOLVE_GOTSYM): Likewise.
Roland McGrath [Wed, 18 Sep 2002 17:46:12 +0000 (17:46 +0000)]
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
Roland McGrath [Wed, 18 Sep 2002 17:45:54 +0000 (17:45 +0000)]
2002-09-18 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
Ulrich Drepper [Wed, 18 Sep 2002 11:51:19 +0000 (11:51 +0000)]
Update.
* include/signal.h: Add libc_hidden_proto for __libc_sigaction.
Ulrich Drepper [Wed, 18 Sep 2002 08:27:02 +0000 (08:27 +0000)]
Update.
* sysdeps/unix/sysv/linux/sigaction.c: If SIGCANCEL is defined
define sigaction and __sigaction as wrappers around
__libc_sigaction which rejects changing SIGCANCEL.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
Ulrich Drepper [Wed, 18 Sep 2002 07:33:20 +0000 (07:33 +0000)]
Update.
2002-09-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/clone.S: Add support for SETTLS and
SETTID/CLEARTID.
* signal/allocrtsig.c: Move to...
* sysdeps/generic/allocrtsig.c: ...here. New file.
Ulrich Drepper [Wed, 18 Sep 2002 06:14:25 +0000 (06:14 +0000)]
Moved to sysdeps/generic.
Roland McGrath [Wed, 18 Sep 2002 01:18:08 +0000 (01:18 +0000)]
* elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.
* elf/elf.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE,
R_386_TLS_LE): Define.
(R_386_TLS_IE_32, R_386_TLS_LE_32, R_386_TLS_TPOFF32): Update
comments.
* sysdeps/i386/dl-machine.h (elf_machine_type_class): Return
ELF_RTYPE_CLASS_PLT for R_386_TLS_TPOFF.
(elf_machine_rel): Handle R_386_TLS_TPOFF.
(elf_machine_rela): Likewise.
Remove unnecessary RTLD_BOOTSTRAP #ifdefs.
Roland McGrath [Wed, 18 Sep 2002 00:15:25 +0000 (00:15 +0000)]
* malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define
file-specific variable override so it compiles properly when using
--with-headers.
* NEWS: Added item for powerpc64-linux port.
* include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME]
(C_SYMBOL_DOT_NAME): Insure that C_SYMBOL_DOT_NAME works for
various gcc versions. Dot names required for powerpc64.
[HAVE_ASM_GLOBAL_DOT_NAME] (_weak_extern): Add .weakext '.'ed symbol.
[HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias): Add .global
C_SYMBOL_DOT_NAME(alias).
[HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): New macro. Same as
original strong_alias macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Add .weakext/.weak
C_SYMBOL_DOT_NAME(alias).
[HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Add .symver '.'ed name.
[HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Add .symver
'.'ed name.
Add comments on libc_hidden_data_def and libc_hidden_data_weak usage.
[HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_def1): New macro. Generate
.global C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro.
(hidden_def): Append hidden_dot_def1 macro to definition.
(hidden_ver): Append hidden_dot_def1 macro to definition.
(hidden_data_def): New macro. Same as original hidden_def macro.
(hidden_data_ver): New macro. Same as original hidden_ver macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (hidden_dot_weak1): New macro. Generate
.weakext C_SYMBOL_DOT_NAME(alias). Otherwise an empty macro.
(hidden_weak): Append hidden_dot_weak1 macro to definition.
(hidden_data_weak): New macro. Same as original hidden_weak macro.
[HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Define as .__GI_name.
Otherwise defined as __GI_name.
(libc_hidden_data_def): New macro. Use hidden_data_def.
(libc_hidden_data_weak): New macro. Use hidden_data_weak.
(libc_hidden_data_ver): New macro. Use hidden_data_ver.
(rtld_hidden_data_def): New macro. Use hidden_data_def.
(rtld_hidden_data_weak): New macro. Use hidden_data_weak.
(rtld_hidden_data_ver): New macro. Use hidden_data_ver.
(libm_hidden_data_def): New macro. Use hidden_data_def.
(libm_hidden_data_weak): New macro. Use hidden_data_weak.
(libm_hidden_data_ver): New macro. Use hidden_data_ver.
* inet/in6_addr.c: Replace libc_hidden_def with libc_hidden_data_def.
Roland McGrath [Tue, 17 Sep 2002 23:50:21 +0000 (23:50 +0000)]
Ported to PowerPC64 running Linux.
* sysdeps/powerpc/powerpc64/Dist: New file.
* sysdeps/powerpc/powerpc64/Implies: New file.
* sysdeps/powerpc/powerpc64/Makefile: New file.
* sysdeps/powerpc/powerpc64/__longjmp.S: New file.
* sysdeps/powerpc/powerpc64/atomicity.h: New file.
* sysdeps/powerpc/powerpc64/backtrace.c: New file.
* sysdeps/powerpc/powerpc64/bp-asm.h: New file.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file.
* sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file.
* sysdeps/powerpc/powerpc64/dl-machine.c: New file.
* sysdeps/powerpc/powerpc64/dl-machine.h: New file.
* sysdeps/powerpc/powerpc64/memset.S: New file.
* sysdeps/powerpc/powerpc64/ppc-mcount.S: New file.
* sysdeps/powerpc/powerpc64/register-dump.h: New file.
* sysdeps/powerpc/powerpc64/setjmp.S: New file.
* sysdeps/powerpc/powerpc64/stpcpy.S: New file.
* sysdeps/powerpc/powerpc64/strchr.S: New file.
* sysdeps/powerpc/powerpc64/strcmp.S: New file.
* sysdeps/powerpc/powerpc64/strcpy.S: New file.
* sysdeps/powerpc/powerpc64/strlen.S: New file.
* sysdeps/powerpc/powerpc64/elf/bzero.S: New file.
* sysdeps/powerpc/powerpc64/elf/start.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.
Roland McGrath [Tue, 17 Sep 2002 23:50:03 +0000 (23:50 +0000)]
2002-09-17 Steven Munroe <sjmunroe@us.ibm.com>
Ported to PowerPC64 running Linux.
* sysdeps/powerpc/powerpc64/Dist: New file.
* sysdeps/powerpc/powerpc64/Implies: New file.
* sysdeps/powerpc/powerpc64/Makefile: New file.
* sysdeps/powerpc/powerpc64/__longjmp.S: New file.
* sysdeps/powerpc/powerpc64/atomicity.h: New file.
* sysdeps/powerpc/powerpc64/backtrace.c: New file.
* sysdeps/powerpc/powerpc64/bp-asm.h: New file.
* sysdeps/powerpc/powerpc64/bsd-_setjmp.S: New file.
* sysdeps/powerpc/powerpc64/bsd-setjmp.S: New file.
* sysdeps/powerpc/powerpc64/dl-dtprocnum.h: New file.
* sysdeps/powerpc/powerpc64/dl-lookupcfg.h: New file.
* sysdeps/powerpc/powerpc64/dl-machine.c: New file.
* sysdeps/powerpc/powerpc64/dl-machine.h: New file.
* sysdeps/powerpc/powerpc64/memset.S: New file.
* sysdeps/powerpc/powerpc64/ppc-mcount.S: New file.
* sysdeps/powerpc/powerpc64/register-dump.h: New file.
* sysdeps/powerpc/powerpc64/setjmp.S: New file.
* sysdeps/powerpc/powerpc64/stpcpy.S: New file.
* sysdeps/powerpc/powerpc64/strchr.S: New file.
* sysdeps/powerpc/powerpc64/strcmp.S: New file.
* sysdeps/powerpc/powerpc64/strcpy.S: New file.
* sysdeps/powerpc/powerpc64/strlen.S: New file.
* sysdeps/powerpc/powerpc64/elf/bzero.S: New file.
* sysdeps/powerpc/powerpc64/elf/start.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysign.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: New File.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: New file.
Ulrich Drepper [Tue, 17 Sep 2002 18:45:41 +0000 (18:45 +0000)]
Update.
* include/libc-symbols.h: Change *hidden_proto macros to accept
option parameters and pass those to the attribute definition.
* include/unistd.h (_exit): Add __noreturn__ to libc_hidden_proto call.
Ulrich Drepper [Tue, 17 Sep 2002 18:00:04 +0000 (18:00 +0000)]
Update.
* include/unistd.h: Declare __libc_pause.
Ulrich Drepper [Tue, 17 Sep 2002 17:06:49 +0000 (17:06 +0000)]
Update.
2002-09-17 Ulrich Drepper <drepper@redhat.com>
* include/sys/socket.h: Declare __libc_send, __libc_recv,
__libc_sendto, __libc_sendmsg, __libc_recvmsg, and __libc_accept.
* include/unistd.h: Declare __libc_fork.
Ulrich Drepper [Tue, 17 Sep 2002 16:55:36 +0000 (16:55 +0000)]
Declare __libc_fork.
Roland McGrath [Tue, 17 Sep 2002 10:58:17 +0000 (10:58 +0000)]
* sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.
(passwd2des): Define it as an alias.
(xencrypt, xdecrypt): Call passwd2des_internal instead of passwd2des.
2002-09-12 Bruno Haible <bruno@clisp.org>
* include/sys/sysctl.h (__sysctl): Add libc_hidden_proto.
* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Add libc_hidden_def.
* include/rpc/xdr.h (xdrstdio_create): Add libc_hidden_proto.
* sunrpc/xdr_stdio.c (xdrstdio_create): Add libc_hidden_def.
Roland McGrath [Tue, 17 Sep 2002 08:01:17 +0000 (08:01 +0000)]
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.
Roland McGrath [Tue, 17 Sep 2002 07:53:26 +0000 (07:53 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]
(__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_STAT64_SYSCALL, __ASSUME_IPC64,
__ASSUME_FCNTL64, __ASSUME_MMAP2_SYSCALL): Don't define these.
PowerPC64 does not have separate 64-bit syscalls.
Roland McGrath [Tue, 17 Sep 2002 06:56:24 +0000 (06:56 +0000)]
* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL):
New macro.
* elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case.
Roland McGrath [Tue, 17 Sep 2002 05:42:29 +0000 (05:42 +0000)]
* include/unistd.h: Uncomment libc_hidden_proto for _exit.
* sysdeps/mach/hurd/_exit.c: Add libc_hidden_def.
* sysdeps/generic/_exit.c: Likewise.
2002-09-12 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (struct dl_start_final_info): New.
(_dl_start_final): Change second argument to struct
dl_start_final_info *. Set start_time from info.
(_dl_start): Remove bootstrap_map variable, add info.
Define bootstrap_map as macro. If not DONT_USE_BOOTSTRAP_MAP,
store HP_TIMING_NOW result into info.start_time.
Roland McGrath [Tue, 17 Sep 2002 01:47:48 +0000 (01:47 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...
* sysdeps/unix/sysv/linux/sparc/Makefile: ...here.
Replace /usr/lib/crt[in].o with crt[in].o too.
Roland McGrath [Tue, 17 Sep 2002 01:47:39 +0000 (01:47 +0000)]
2002-09-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...
* sysdeps/unix/sysv/linux/sparc/Makefile: ...here.
Replace /usr/lib/crt[in].o with crt[in].o too.
Ulrich Drepper [Mon, 16 Sep 2002 17:33:32 +0000 (17:33 +0000)]
Hungarian translations for glibc.
Roland McGrath [Mon, 16 Sep 2002 04:52:51 +0000 (04:52 +0000)]
* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
to _Exit.
* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
Roland McGrath [Mon, 16 Sep 2002 04:52:39 +0000 (04:52 +0000)]
2002-09-16 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias
to _Exit.
* sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
Ulrich Drepper [Sun, 15 Sep 2002 18:31:23 +0000 (18:31 +0000)]
Update.
2002-09-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/abort-instr.h: New file.
Ulrich Drepper [Sun, 15 Sep 2002 05:47:13 +0000 (05:47 +0000)]
Update.
* sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus
comment.
* sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.
Ulrich Drepper [Sun, 15 Sep 2002 04:25:03 +0000 (04:25 +0000)]
Update.
* test-skeleton.c (main): Provide more information in case waitpid
fails.
Ulrich Drepper [Sun, 15 Sep 2002 02:37:32 +0000 (02:37 +0000)]
Update.
2002-09-14 Ulrich Drepper <drepper@redhat.com>
* include/unistd.h: Declare __exit_thread.
* sysdeps/generic/libc-start.c: Remove dummy_addr.
Wrap call to main in setjmp if HAVE_CANCELBUF is defined.
* sysdeps/unix/sysv/linux/exit-thread.S: New file.
* sysdeps/unix/sysv/linux/_exit.c: New file.
* sysdeps/unix/sysv/linux/i386/_exit.S: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir==posix] (sysdep_routines):
Add exit-thread.
* configure.in: Add dl_iterate_phdr to test using -nostdlib.
Ulrich Drepper [Sun, 15 Sep 2002 02:20:14 +0000 (02:20 +0000)]
Define dl_iterate_phdr to test which uses -nostdlib.
Roland McGrath [Sat, 14 Sep 2002 09:17:58 +0000 (09:17 +0000)]
* sysdeps/i386/dl-machine.h (elf_machine_rel)
(case R_386_TLS_DTPMOD32): Don't use addend.
[case R_386_TLS_TPOFF32]: Remove redundant SYM_MAP != NULL check.
(elf_machine_rela): Add support for TLS relocs.
Roland McGrath [Sat, 14 Sep 2002 09:10:11 +0000 (09:10 +0000)]
* Makefile (manual/%): Add this pattern target to the iconvdata/% rule.
Roland McGrath [Sat, 14 Sep 2002 09:07:12 +0000 (09:07 +0000)]
* stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64
specific asm macros for multiple percision integer math.
Roland McGrath [Sat, 14 Sep 2002 09:00:42 +0000 (09:00 +0000)]
* sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.
* elf/cache.c (print_entry): Add case for FLAG_POWERPC_LIB64.
Remove per-machine conditionals for FLAG_* cases.
* sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file.
* sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/dl-cache.h: New file.
Roland McGrath [Sat, 14 Sep 2002 08:55:27 +0000 (08:55 +0000)]
2002-09-10 Alan Modra <amodra@bigpond.net.au>
* csu/gmon-start.c [!TEXT_START]: Define TEXT_START if not already
defined in entry.h.
(__gmon_start__) [!ENTRY_POINT_DECL]: Use TEXT_START macro to obtain
lowest address for profiling in __monstartup call.
* sysdeps/powerpc/powerpc64/elf/entry.h: New file.
Roland McGrath [Sat, 14 Sep 2002 08:32:37 +0000 (08:32 +0000)]
* sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be defined
instead of __NR_pread.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: __NR_pwrite64 may be defined
instead of __NR_pwrite.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
Roland McGrath [Fri, 13 Sep 2002 19:43:03 +0000 (19:43 +0000)]
* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
Roland McGrath [Fri, 13 Sep 2002 19:42:50 +0000 (19:42 +0000)]
2002-09-13 Roland McGrath <roland@redhat.com>
* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
Andreas Jaeger [Fri, 13 Sep 2002 07:12:45 +0000 (07:12 +0000)]
Update.
2002-09-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add readahead
syscall. Patch by Guido Guenther <agx@sigxcpu.org>.
Andreas Jaeger [Fri, 13 Sep 2002 07:12:28 +0000 (07:12 +0000)]
Add readahead syscall.
Ulrich Drepper [Thu, 12 Sep 2002 19:11:14 +0000 (19:11 +0000)]
Update.
2002-09-12 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h: Correct DT_LOOS and DT_HIOS values.
2002-09-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/fpu/s_isnan.c: #undef __isnanf and isnanf after
reading the headers.
Ulrich Drepper [Thu, 12 Sep 2002 18:56:23 +0000 (18:56 +0000)]
Correct DT_LOOS and DT_HIOS values.
Roland McGrath [Thu, 12 Sep 2002 10:12:33 +0000 (10:12 +0000)]
* elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.
(_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to
find the ELF header.
Roland McGrath [Thu, 12 Sep 2002 09:15:22 +0000 (09:15 +0000)]
* elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of main
executable if needed, in case it's actually a shared object.
Roland McGrath [Thu, 12 Sep 2002 05:16:00 +0000 (05:16 +0000)]
* elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of
l_map_start to adjust l_tls_initimage.
Roland McGrath [Thu, 12 Sep 2002 02:58:43 +0000 (02:58 +0000)]
* nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errno
when using h_errno and it's not set to NETDB_INTERNAL.
* nss/getXXbyYY_r.c [NEED_H_ERRNO]: Likewise.
* Makefile ($(common-objpfx)testrun.sh): New target.
(others): Depend on it.
(postclean-generated): Append it.
Roland McGrath [Thu, 12 Sep 2002 01:44:33 +0000 (01:44 +0000)]
* nss/bug-erange.c: New file.
* nss/Makefile (tests): Add it.
Roland McGrath [Thu, 12 Sep 2002 01:38:22 +0000 (01:38 +0000)]
* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno
instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
Roland McGrath [Wed, 11 Sep 2002 22:16:50 +0000 (22:16 +0000)]
* sysdeps/generic/dl-environ.c (unsetenv): Redo last fix without
strncmp, keeps the code smaller for a non-performance-critical case.
Roland McGrath [Wed, 11 Sep 2002 22:04:32 +0000 (22:04 +0000)]
* sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,
no longer wrongly matches arbitrary prefixes of NAME.
Reported by Jakub Jelinek <jakub@redhat.com>.
2002-09-11 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex11.c (tests): New array.
(main): Rewritten to run more different tests.
* nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log)
(CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed.
Instead, catch all of $(nscd-modules) via cppflags-iterator.mk.
Roland McGrath [Tue, 10 Sep 2002 22:52:43 +0000 (22:52 +0000)]
* sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf as
well so we don't get it declared by include/math.h's hidden_proto.
Then do hidden_proto for __isnanf locally so hidden_def works right.
Roland McGrath [Tue, 10 Sep 2002 22:35:54 +0000 (22:35 +0000)]
* posix/bug-regex5.c (main): Use `union locale_data_value' rather than
a cast to turn nl_langinfo return value into an integer.
Roland McGrath [Tue, 10 Sep 2002 22:35:39 +0000 (22:35 +0000)]
2002-09-10 Roland McGrath <roland@redhat.com>
* posix/bug-regex5.c (main): Use `union locale_data_value' rather than
a cast to turn nl_langinfo return value into an integer.
Ulrich Drepper [Tue, 10 Sep 2002 19:00:15 +0000 (19:00 +0000)]
#undef __isnanf and isnanf after reading the headers.
Ulrich Drepper [Tue, 10 Sep 2002 18:40:35 +0000 (18:40 +0000)]
Update.
2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regexec.c (build_trtable): Fix the destination of
newline to prevent wrong states from overwriting.
Append break statements to optimization.
2002-09-10 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c: Wrap #include wchar.h and wctype.h in #if.
(build_range_exp): Add castings to strlen invocations.
(build_collating_symbol): Restore the type of characters from "char"
to "unsigned char", and supplement castings.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(seek_collating_symbol_entry): Likewise.
(parse_bracket_exp): Likewise.
(build_word_op): Supplement a casting.
* posix/regex_internal.c: Wrap #include wchar.h and wctype.h in #if.
(re_string_allocate): Fix castings.
(re_string_construct): Likewise.
(re_string_construct_common): Likewise.
(re_string_realloc_buffers): Likewise.
(build_wcs_buffer): Likewise.
(build_wcs_upper_buffer): Likewise.
(re_string_skip_chars): Likewise.
(re_string_reconstruct): Likewise.
* posix/regex_internal.h: Restore the type of characters in
re_string_t and bracket_elem_t from "char" to "unsigned char".
(re_string_elem_size_at): Fix castings.
* posix/regexec.c: Wrap #include wchar.h and wctype.h in #if.
(transit_state_bkref_loop): Restore the type of characters from
"char" to "unsigned char", and append a cast to "char*" pointer in
array subscript.
(check_node_accept_bytes): Likewise.
(find_collation_sequence_value): Likewise.
Ulrich Drepper [Tue, 10 Sep 2002 17:39:58 +0000 (17:39 +0000)]
Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings to strlen invocations. (build_collating_symbol): Restore the type of characters from "char" to "unsigned char", and supplement castings. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (seek_collating_symbol_entry): Likewise. (parse_bracket_exp): Likewise. (build_word_op): Supplement a casting.
Andreas Jaeger [Tue, 10 Sep 2002 11:27:29 +0000 (11:27 +0000)]
Update
2002-09-10 Hartvig Ekner <hartvige@mips.com>
* sysdeps/mips/memcpy.S: New file.
* sysdeps/mips/memset.S: New file.
* sysdeps/mips/fpu/e_sqrt.c: New file.
* sysdeps/mips/fpu/e_sqrtf.c: New file.
* fpu/fclrexcpt.c: Cleaned up the FPU exception stuff - was not
functional before. Also removed all SHLIB_COMPAT stuff.
* fpu/fegetenv.c: Likewise.
* fpu/fesetenv.c:: Likewise.
* fpu/feupdateenv.c: Likewise.
* fpu/fgetexcptflg.c: Likewise.
* fpu/fraiseexcpt.c: Likewise.
* sysdeps/mips/fpu/fsetexcptflg.c: New file.
Andreas Jaeger [Tue, 10 Sep 2002 11:23:00 +0000 (11:23 +0000)]
MIPS specific optimizations.
Ulrich Drepper [Tue, 10 Sep 2002 01:40:26 +0000 (01:40 +0000)]
Update.
2002-09-09 Jakub Jelinek <jakub@redhat.com>
* include/math.h (__finite_internal, __finitef_internal,
__finitel_internal, __isinf_internal, __isnan_internal): Remove.
(isfinite): Remove.
(__finite, __isinf, __isnan, __finitef, __isinff, __isnanf, __finitel,
__isinfl, __isnanl): Add hidden_proto.
(__fpclassify, __fpclassifyf, __fpclassifyl, __expm1l): Add
libm_hidden_proto.
* math/Makefile (libm-calls): Add s_isinf and s_isnan.
* stdio-common/printf_fp.c (__printf_fp): Remove INTUSE from
__is{inf,nan} calls.
* stdio-common/printf_size.c (printf_size): Likewise.
* sysdeps/generic/printf_fphex.c (__printf_fphex): Likewise.
* sysdeps/generic/s_ldexp.c (__ldexp): Likewise.
* sysdeps/generic/s_ldexpf.c (__ldexpf): Likewise.
* sysdeps/generic/s_ldexpl.c (__ldexpl): Likewise.
* sysdeps/generic/s_expm1l.c (__expm1l): Add libm_hidden_def.
* sysdeps/i386/fpu/s_finite.S (__finite_internal): Remove alias.
(__finite): Add hidden_def.
* sysdeps/i386/fpu/s_finitef.S (__finitef_internal): Remove alias.
(__finitef): Add hidden_def.
* sysdeps/i386/fpu/s_finitel.S (__finitel_internal): Remove alias.
(__finitel): Add hidden_def.
* sysdeps/i386/fpu/s_isinfl.c (__isinfl): Remove INTDEF. Add
hidden_def.
* sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
* sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/i386/fpu/s_expm1l.S (__expm1l): Likewise.
* sysdeps/ieee754/dbl-64/s_finite.c (__finite): Remove INTDEF. Add
hidden_def.
* sysdeps/ieee754/dbl-64/s_isinf.c (__isinf): Likewise.
(__isinfl): Remove INTDEF.
* sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Remove INTDEF. Add
hidden_def.
(__isnanl): Remove INTDEF.
* sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Add
libm_hidden_def.
* sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Use __sin and __cos
instead of sin and cos.
* sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/flt-32/s_isinff.c (__isinff): Likewise.
* sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/ldbl-128/s_isinfl.c (__isinfl): Likewise.
* sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
* sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add
libm_hidden_def.
* sysdeps/ieee754/ldbl-96/s_finitel.c (__finitel): Remove INTDEF.
Add hidden_def.
* sysdeps/ieee754/ldbl-96/s_isinfl.c (__isinfl): Likewise.
* sysdeps/ieee754/ldbl-96/s_isnanl.c (__isnanl): Likewise.
* sysdeps/ieee754/ldbl-96/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/ia64/fpu/s_finite.S (__finite_internal, __finitef_internal,
__finitel_internal): Remove aliases.
(__finite, __finitef, __finitel): Add hidden_def.
* sysdeps/ia64/fpu/s_isnan.S (__isnan_internal, __isnanf_internal,
__isnanl_internal): Remove aliases.
(__isnan, __isnanf, __isnanl): Add hidden_def.
* sysdeps/ia64/fpu/s_isinf.S (__isinf_internal, __isinff_internal,
__isinfl_internal): Remove aliases.
(__isinf, __isinff, __isinfl): Add hidden_def.
* sysdeps/ia64/fpu/s_fpclassify.S (__fpclassify, __fpclassifyf,
__fpclassifyl): Add libm_hidden_def.
* sysdeps/ia64/fpu/s_expm1l.S (__expm1l): Likewise.
* sysdeps/m68k/s_isinfl.c (__isinfl): Remove INTDEF. Add hidden_def.
* sysdeps/m68k/fpu/s_isinf.c (INTDEFX): Remove.
(hidden_defx): Define and use.
* sysdeps/m68k/fpu/s_fpclassifyl.c (__fpclassifyl): Add
libm_hidden_def.
* sysdeps/m68k/fpu/s_expm1l.c (__expm1l): Likewise.
* sysdeps/m68k/s_isnanl.c (__isnanl): Add hidden_def.
* sysdeps/powerpc/fpu/s_isnan.c (__isnan, __isnanf, __isnanl):
Remove INTDEF.
(__isnan, __isnanf): Add hidden_def.
* sysdeps/x86_64/fpu/s_finitel.S (__finitel_internal): Remove alias.
(__finitel): Add libm_hidden_def.
* sysdeps/x86_64/fpu/s_expm1l.S (__expm1l): Likewise.
* include/fenv.h (feraiseexcept, fesetenv): Add libm_hidden_proto.
* sysdeps/alpha/fpu/fesetenv.c (fesetenv): Add libm_hidden_ver.
* sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/arm/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/arm/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/generic/fesetenv.c (fesetenv): Likewise.
* sysdeps/generic/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/mips/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/powerpc/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/powerpc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/sparc/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/sparc/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/hppa/fpu/fesetenv.c (fesetenv): Add libm_hidden_def.
* sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/ia64/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Likewise.
* sysdeps/x86_64/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
Ulrich Drepper [Tue, 10 Sep 2002 00:36:58 +0000 (00:36 +0000)]
Update.
2002-09-09 Steven Munroe <sjmunroe@us.ibm.com>
* elf/elf.h: Add powerpc64 specific elf relocation and dynamic types.
2002-09-09 Jakub Jelinek <jakub@redhat.com>
* elf/dl-error.c (_dl_signal_cerror): Don't print anything if only
LD_DEBUG=statistics or LD_TRACE_PRELINKING.
Ulrich Drepper [Tue, 10 Sep 2002 00:28:55 +0000 (00:28 +0000)]
Update.
2002-09-09 Ulrich Drepper <drepper@redhat.com>
* string/stratcliff.c: Some more strncpy tests.
Patch by Daniel Jacobowitz <drow@mvista.com>.
Ulrich Drepper [Tue, 10 Sep 2002 00:25:47 +0000 (00:25 +0000)]
Some more strncpy checks.
Roland McGrath [Sun, 8 Sep 2002 20:37:42 +0000 (20:37 +0000)]
* resolv/resolv.h: Include <sys/types.h> for u_long even in
the [__need_res_state] case.
Reported by Bruno Haible <bruno@clisp.org>.
Roland McGrath [Fri, 6 Sep 2002 19:31:46 +0000 (19:31 +0000)]
* sysdeps/generic/bits/ustat.h: Comment fix.
* io/sys/sendfile.h: Comment fix.
* sysdeps/posix/pread.c: Comment fix.
* sysdeps/posix/pread64.c: Comment fix.
* sysdeps/posix/pwrite.c: Comment fix.
* sysdeps/posix/pwrite64.c: Comment fix.
Roland McGrath [Fri, 6 Sep 2002 19:20:20 +0000 (19:20 +0000)]
2002-09-04 Bruno Haible <bruno@clisp.org>
* sysdeps/generic/bits/ustat.h: Comment fix.
* io/sys/sendfile.h: Comment fix.
* sysdeps/posix/pread.c: Comment fix.
* sysdeps/posix/pread64.c: Comment fix.
* sysdeps/posix/pwrite.c: Comment fix.
* sysdeps/posix/pwrite64.c: Comment fix.
Ulrich Drepper [Fri, 6 Sep 2002 18:53:38 +0000 (18:53 +0000)]
Update.
* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Correct
test for filesystem type name of mount points.
Ulrich Drepper [Fri, 6 Sep 2002 18:39:30 +0000 (18:39 +0000)]
(where_is_shmfs): Correct test for filesystem type name of mount points.
Roland McGrath [Fri, 6 Sep 2002 18:08:11 +0000 (18:08 +0000)]
* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>.
(_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise.
(_UTSNAME_MACHINE_LENGTH): Likewise.
(struct utsname): Use new macros instead of _UTSNAME_LENGTH.
Roland McGrath [Fri, 6 Sep 2002 18:07:55 +0000 (18:07 +0000)]
2002-09-06 Roland McGrath <roland@redhat.com>
* posix/sys/utsname.h (_UTSNAME_SYSNAME_LENGTH): New macro, defined
to _UTSNAME_LENGTH if not already defined by <bits/utsname.h>.
(_UTSNAME_RELEASE_LENGTH, _UTSNAME_VERSION_LENGTH): Likewise.
(_UTSNAME_MACHINE_LENGTH): Likewise.
(struct utsname): Use new macros instead of _UTSNAME_LENGTH.
Ulrich Drepper [Fri, 6 Sep 2002 09:35:02 +0000 (09:35 +0000)]
Update.
* include/errno.h: Use errno definition with __thread for now only
in libc and ld.so.
Ulrich Drepper [Fri, 6 Sep 2002 09:18:08 +0000 (09:18 +0000)]
Update.
2002-09-06 Ulrich Drepper <drepper@redhat.com>
* test-skeleton.c (main): Improve error message for unexpected
signal case.
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
case of failure.
* elf/readlib.c (process_file): Conditionalize check for QMAGIC.
Ulrich Drepper [Fri, 6 Sep 2002 09:15:54 +0000 (09:15 +0000)]
(main): Improve error message for unexpected signal case.
Roland McGrath [Thu, 5 Sep 2002 21:22:05 +0000 (21:22 +0000)]
* ctype/ctype-info.c: Renamed __ctype_old_* symbols to __ctype_*.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
Roland McGrath [Thu, 5 Sep 2002 20:25:10 +0000 (20:25 +0000)]
2002-09-05 Jakub Jelinek <jakub@redhat.com>
* wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Unlock and return in
case of failure.
Roland McGrath [Thu, 5 Sep 2002 18:53:40 +0000 (18:53 +0000)]
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Declutter
syntax.
* elf/readlib.c (process_file): Conditionalize check for QMAGIC.
Roland McGrath [Thu, 5 Sep 2002 18:52:18 +0000 (18:52 +0000)]
2002-09-04 Bruno Haible <bruno@clisp.org>
* elf/readlib.c (process_file): Conditionalize check for QMAGIC.
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Turn into inline functions.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove
default definitions.
(__strerror_r): Use _sys_errlist_internal instead of _sys_errlist,
_sys_nerr_internal instead of _sys_nerr.
* nscd/connections.c (handle_request): Declare CALLER inside #if.
Roland McGrath [Thu, 5 Sep 2002 18:51:42 +0000 (18:51 +0000)]
2002-09-04 Bruno Haible <bruno@clisp.org>
* sysdeps/generic/_strerror.c (_sys_errlist, _sys_nerr): Remove
default definitions.
(__strerror_r): Use _sys_errlist_internal instead of _sys_errlist,
_sys_nerr_internal instead of _sys_nerr.
Ulrich Drepper [Thu, 5 Sep 2002 15:55:17 +0000 (15:55 +0000)]
Regenerated: autoconf sysdeps/unix/sysv/linux/configure.in
Ulrich Drepper [Thu, 5 Sep 2002 10:28:51 +0000 (10:28 +0000)]
Update.
2002-07-29 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/__longjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/__longjmp.S: ...here.
* sysdeps/powerpc/add_n.S: Moved to...
* sysdeps/powerpc/powerpc32/add_n.S: ...here.
* sysdeps/powerpc/addmul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/addmul_1.S: ...here.
* sysdeps/powerpc/atomicity.h: Moved to...
* sysdeps/powerpc/powerpc32/atomicity.h: ...here.
* sysdeps/powerpc/backtrace.c: Moved to...
* sysdeps/powerpc/powerpc32/backtrace.c: ...here.
* sysdeps/powerpc/bp-asm.h: Moved to...
* sysdeps/powerpc/powerpc32/bp-asm.h: ...here.
* sysdeps/powerpc/bsd-_setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: ...here.
* sysdeps/powerpc/bsd-setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/bsd-setjmp.S: ...here.
* sysdeps/powerpc/dl-machine.c: Moved to...
* sysdeps/powerpc/powerpc32/dl-machine.c: ...here.
* sysdeps/powerpc/dl-machine.h: Moved to...
* sysdeps/powerpc/powerpc32/dl-machine.h: ...here.
* sysdeps/powerpc/dl-start.S: Moved to...
* sysdeps/powerpc/powerpc32/dl-start.S: ...here.
* sysdeps/powerpc/gprrest0.S: Moved to...
* sysdeps/powerpc/powerpc32/gprrest0.S: ...here.
* sysdeps/powerpc/gprrest1.S: Moved to...
* sysdeps/powerpc/powerpc32/gprrest1.S: ...here.
* sysdeps/powerpc/gprsave0.S: Moved to...
* sysdeps/powerpc/powerpc32/gprsave0.S: ...here.
* sysdeps/powerpc/gprsave1.S: Moved to...
* sysdeps/powerpc/powerpc32/gprsave1.S: ...here.
* sysdeps/powerpc/lshift.S: Moved to...
* sysdeps/powerpc/powerpc32/lshift.S: ...here.
* sysdeps/powerpc/memset.S: Moved to...
* sysdeps/powerpc/powerpc32/memset.S: ...here.
* sysdeps/powerpc/mul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/mul_1.S: ...here.
* sysdeps/powerpc/ppc-mcount.S: Moved to...
* sysdeps/powerpc/powerpc32/ppc-mcount.S: ...here.
* sysdeps/powerpc/register-dump.h: Moved to...
* sysdeps/powerpc/powerpc32/register-dump.h: ...here.
* sysdeps/powerpc/rshift.S: Moved to...
* sysdeps/powerpc/powerpc32/rshift.S: ...here.
* sysdeps/powerpc/setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/setjmp.S: ...here.
* sysdeps/powerpc/stpcpy.S: Moved to...
* sysdeps/powerpc/powerpc32/stpcpy.S: ...here.
* sysdeps/powerpc/strchr.S: Moved to...
* sysdeps/powerpc/powerpc32/strchr.S: ...here.
* sysdeps/powerpc/strcmp.S: Moved to...
* sysdeps/powerpc/powerpc32/strcmp.S: ...here.
* sysdeps/powerpc/strcpy.S: Moved to...
* sysdeps/powerpc/powerpc32/strcpy.S: ...here.
* sysdeps/powerpc/strlen.S: Moved to...
* sysdeps/powerpc/powerpc32/strlen.S: ...here.
* sysdeps/powerpc/sub_n.S: Moved to...
* sysdeps/powerpc/powerpc32/sub_n.S: ...here.
* sysdeps/powerpc/submul_1.S: Moved to...
* sysdeps/powerpc/powerpc32/submul_1.S: ...here.
* sysdeps/powerpc/elf/bzero.S: Moved to...
* sysdeps/powerpc/powerpc32/elf/bzero.S: ...here.
* sysdeps/powerpc/elf/start.S: Moved to...
* sysdeps/powerpc/powerpc32/elf/start.S: ...here.
* sysdeps/powerpc/fpu/__longjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/__longjmp.S: ...here.
* sysdeps/powerpc/fpu/fprrest.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/fprrest.S: ...here.
* sysdeps/powerpc/fpu/fprsave.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/fprsave.S: ...here.
* sysdeps/powerpc/fpu/setjmp.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/setjmp.S: ...here.
* sysdeps/powerpc/fpu/s_copysign.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/s_copysign.S: ...here.
* sysdeps/powerpc/fpu/s_copysignf.S: Moved to...
* sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/brk.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/glob64.c: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here.
* sysdeps/unix/sysv/linux/powerpc/kernel_stat.h: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: ...here.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: ...here.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: ...here.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Moved to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: ...here.
Support PowerPC64. Separate powerpc into powerpc/powerpc32 and
powerpc/powerpc64.
2002-07-29 Steven Munroe <sjmunroe@us.ibm.com>
* FAQ.in: Add powerpc64 to supported targets list. Also state the
minimum gcc version is 3.2
* README: Add powerpc64 to supported targets list.
* configure.in: Change machine=powerpc to machine=powerpc/powerpc32.
Add powerpc64 and machine=powerpc/powerpc64.
(HAVE_ASM_GLOBAL_DOT_NAME): Define if linux*powerpc/powerpc64*.
* shlib-versions: Set DEFAULT version to 2.2.5 for powerpc64.
* sysdeps/powerpc/Dist: Remove dl-machine.c, dl-start.S, ppc-mcount.S,
gprsave1.S, gprsave0.S, gprrest1.S, and gprrest0.S.
* sysdeps/powerpc/powerpc32/Dist: New file.
* sysdeps/powerpc/Implies: Remove wordsize-32 and powerpc/soft-fp.
* sysdeps/powerpc/powerpc32/Implies: New file.
* sysdeps/powerpc/Makefile(cflags): Remove powerpc32 specific cflags.
($(with-fp) = no): Move test to powerpc32/Makefile.
($(subdir) = misc): Move to powerpc32/Makefile.
($(build-shared) = yes): Move to powerpc32/Makefile.
($(subdir) = csu): Move to powerpc32/Makefile.
(sysdep-rtld-routines): Remove dl-start. Moved these bits to ...
* sysdeps/powerpc/powerpc32/Makefile: New file.
* sysdeps/powerpc/Versions: Remove libgcc functions.
* sysdeps/powerpc/powerpc32/Versions: New file.
* sysdeps/powerpc/fpu/Makefile: Remove fprsave and fprrest.
* sysdeps/powerpc/powerpc32/fpu/Makefile: New file.
* sysdeps/unix/sysv/linux/configure.in (powerpc*):
Set arch_minimum_kernel=2.4.19 for powerpc/powerpc64. Also set
libc_cv_gcc_unwind_find_fde=yes only if !powerpc/powerpc64.
($machine): Add powerpc/powerpc64 to if ... | for
libc_cv_slibdir=/libc64.
(powerpc*): Set ldd_rewrite_script.
* sysdeps/unix/sysv/linux/powerpc/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/powerpc/Dist: Remove clone.S.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: New file.
Add clone.S.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Remove oldgetrlimit64.
* sysdeps/unix/sysv/linux/powerpc/Versions: Remove GLIBC_2.0
functions. Remove GLIBC_2.2 functions except getrlimit and
setrlimit. Moved them to ...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: New file.
2002-09-04 Ulrich Drepper <drepper@redhat.com>
* libio/tst-atime.c: Include <errno.h>.
(do_test): Only perform fstatvfs check if ST_NOATIME is defined.
2002-09-03 Isamu Hasegawa <isamu@yamato.ibm.com>
* posix/regcomp.c (regcomp): Append "__restrict" modifier to avoid
warnings of some compilers.
(build_collating_symbol): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(build_collating_symbol): Likewise.
(build_equiv_class): Likewise.
(build_charclass): Likewise.
(re_compile_pattern): Remove incorrect cast.
(re_compile_fastmap_iter): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer
in array subscript.
(parse_bracket_exp): Likewise.
* posix/regex_internal.c (re_string_construct_common): Likewise.
(re_string_allocate): Likewise.
(re_string_construct): Likewise.
(re_string_realloc_buffers): Likewise.
(build_wcs_buffer): Likewise.
(re_string_reconstruct): Likewise.
* posix/regex_internal.h: Change the type of characters in
re_string_t and bracket_elem_t from "unsigned char" to "char".
* posix/regexec.c (regexec): Append "__restrict" modifier to avoid
warnings of some compilers.
(transit_state_bkref_loop): Change the type of characters from
"unsigned char" to "char", and append a cast to "char*" pointer in
array subscript.
(check_node_accept_bytes): Likewise.
(find_collation_sequence_value): Likewise.
Ulrich Drepper [Thu, 5 Sep 2002 03:33:58 +0000 (03:33 +0000)]
(regcomp): Append "__restrict" modifier to avoid warnings of some compilers. (build_collating_symbol): Change the type of characters from "unsigned char"
to "char", and append a cast to "char*" pointer in array subscript. (build_collating_symbol): Likewise. (build_equiv_class): Likewise. (build_charclass): Likewise. (re_compile_pattern): Remove incorrect cast. (re_compile_fastmap_iter): Change the type of characters from "unsigned char"
to "char", and append a cast to "char*" pointer in array subscript. (parse_bracket_exp): Likewise.
Roland McGrath [Thu, 5 Sep 2002 01:23:20 +0000 (01:23 +0000)]
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
Roland McGrath [Thu, 5 Sep 2002 01:23:06 +0000 (01:23 +0000)]
2002-09-04 Roland McGrath <roland@redhat.com>
* resolv/nss_dns/dns-network.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
Ulrich Drepper [Wed, 4 Sep 2002 23:40:45 +0000 (23:40 +0000)]
Update.
2002-09-03 Gerhard Tonn <ton@de.ibm.com>
* sysdeps/s390/s390/fpu/libm-test-ulps: Regenerate.
Ulrich Drepper [Wed, 4 Sep 2002 20:58:01 +0000 (20:58 +0000)]
Update.
2002-09-04 Ulrich Drepper <drepper@redhat.com>
* libio/tst-atime.c (do_test): Make sure noatime flag isn't set
for filesystem.
Ulrich Drepper [Wed, 4 Sep 2002 20:50:52 +0000 (20:50 +0000)]
(do_test): Make sure noatime flag isn't set for filesystem.
Roland McGrath [Wed, 4 Sep 2002 16:21:38 +0000 (16:21 +0000)]
* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.
Roland McGrath [Wed, 4 Sep 2002 16:21:24 +0000 (16:21 +0000)]
2002-09-04 Jakub Jelinek <jakub@redhat.com>
* posix/bug-regex11.c: New test.
* posix/Makefile (tests): Add bug-regex11.
Ulrich Drepper [Tue, 3 Sep 2002 18:43:43 +0000 (18:43 +0000)]
Update.
2002-09-03 Jakub Jelinek <jakub@redhat.com>
* locale/tst-C_locale.c (run_test): Pass LC_ALL_MASK not LC_ALL to
newlocale.
Ulrich Drepper [Tue, 3 Sep 2002 03:14:59 +0000 (03:14 +0000)]
Update.
Ulrich Drepper [Tue, 3 Sep 2002 02:52:58 +0000 (02:52 +0000)]
(VERSION): Update from 2.3 release.
Roland McGrath [Tue, 3 Sep 2002 02:45:12 +0000 (02:45 +0000)]
* sysdeps/powerpc/elf/libc-start.c [! SHARED]: Call
__pthread_initialize_minimal and __libc_check_standard_fds to
match the generic version.
* sysdeps/powerpc/Makefile (CFLAGS-pt-initfini.s): New variable.
* sysdeps/unix/sysv/linux/shmat.c (shmat): Add a cast to avoid a
warning when INLINE_SYSCALL macro uses the __syscall_ipc function.
* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.
Roland McGrath [Tue, 3 Sep 2002 02:33:03 +0000 (02:33 +0000)]
2002-09-02 Roland McGrath <roland@redhat.com>
* locale/localeconv.c (__localeconv): Cast -1 to char to avoid
warnings on platorms where char is unsigned.
Ulrich Drepper [Tue, 3 Sep 2002 01:44:19 +0000 (01:44 +0000)]
Update.
* sysdeps/unix/sysv/linux/x86_64/Dist: Add __start_context.S.
Ulrich Drepper [Tue, 3 Sep 2002 01:27:35 +0000 (01:27 +0000)]
Update.
2002-09-02 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.93.
Ulrich Drepper [Mon, 2 Sep 2002 23:46:49 +0000 (23:46 +0000)]
Update.
* elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
as relocated.
Roland McGrath [Mon, 2 Sep 2002 20:19:26 +0000 (20:19 +0000)]
2002-09-02 Jakub Jelinek <jakub@redhat.com>
* elf/rtld.c (dl_main): If prelinking succeeded, mark all objects
as relocated.
Roland McGrath [Mon, 2 Sep 2002 20:04:55 +0000 (20:04 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
Roland McGrath [Mon, 2 Sep 2002 19:34:39 +0000 (19:34 +0000)]
* locale/localeinfo.h (struct locale_data): Add private.ctype.
* wcsmbs/wcsmbsload.h (__wcsmbs_gconv_fcts, __wcsmbs_last_locale,
__wcsmbs_to_wc, update_conversion_ptrs): Removed.
(__wcsmbs_gconv_fcts_c, _nl_C_LC_CTYPE): New externs.
(__wcsmbs_load_conv): Remove const from argument.
(_nl_cleanup_ctype): New proto.
(get_gconv_fcts): New function.
* wcsmbs/wcsmbsload.c (__wcsmbs_last_locale): Removed.
(__wcsmbs_to_wc): Rename back to...
(to_wc): ... this.
(__wcsmbs_gconv_fcts): Rename to...
(__wcsmbs_gconv_fcts_c): ... this. Make const. Use to_wc.
(lock): Removed.
(__libc_setlocale_lock): New extern.
(__wcsmbs_load_conv): Remove const from argument.
Initialize new_category->private.ctype instead of a global
variable.
(__wcsmbs_clone_conv): Use get_gconv_fcts instead of
update_function_ptrs. No locking is necessary.
(_nl_cleanup_ctype): New function.
* wcsmbs/btowc.c (__btowc): Use get_gconv_fcts instead of
update_function_ptrs and a global __wcsmbs_gconv_fcts variable.
* wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
* wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
* wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
* wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
* wcsmbs/wctob.c (wctob): Likewise.
* stdlib/mblen.c (mblen): Likewise.
* stdlib/mbtowc.c (mbtowc): Likewise.
* stdlib/wctomb.c (wctomb): Likewise.
* wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
Remove calls to wcsmbs_get_towc_func and wcsmbs_free_funcs.
* wcsmbs/mbsrtowcs_l.c (wcsmbs_get_towc_func, wcsmbs_free_funcs):
Removed.