aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-09-19Update.Ulrich Drepper
2002-09-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/wordsize-32/Makefile: New file. * sysdeps/arm/Makefile: Removed. * sysdeps/i386/Makefile (sysdep_routines, shared-only-routines): Don't add divdi3 here. * sysdeps/m68k/Makefile: Likewise. * sysdeps/powerpc/powerpc32/Makefile: Likewise. * sysdeps/sh/Makefile: Likewise. * sysdeps/s390/s390-32/Makefile: Likewise.
2002-09-19Update.Ulrich Drepper
* sysdeps/powerpc/fpu/Dist: Move fprrest.S and fprsave.S to... * sysdeps/powerpc/powerpc32/fpu/Dist: ...here. New file. * sysdeps/unix/sysv/linux/powerpc/Dist: Move kernel_stat.h to... * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here. * sysdeps/i386/Makefile: Remove obsolete db2 rules. * sysdeps/unix/sysv/linux/Makefile: Add exit-thread.S. * sysdeps/unix/sysv/linux/powerpc/Dist: Add ldd-rewrite.sh. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: New file.
2002-09-19UpdateUlrich Drepper
2002-09-18 Ulrich Drepper <drepper@redhat.com> * version.h (VERSION): Bump to 2.2.94.
2002-09-19(VERSION): Bump to 2.2.94.Ulrich Drepper
2002-09-18* locale/lc-ctype.c (_nl_postload_ctype): Add compat_symbol decls forRoland McGrath
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.
2002-09-18* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):Roland McGrath
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.
2002-09-182002-09-18 Roland McGrath <roland@redhat.com>Roland McGrath
* 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.
2002-09-18Update.Ulrich Drepper
* include/signal.h: Add libc_hidden_proto for __libc_sigaction.
2002-09-18Update.Ulrich Drepper
* 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.
2002-09-18Update.Ulrich Drepper
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.
2002-09-18Moved to sysdeps/generic.Ulrich Drepper
2002-09-18* elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.Roland McGrath
* 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.
2002-09-18* malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): DefineRoland McGrath
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.
2002-09-17Ported to PowerPC64 running Linux.Roland McGrath
* 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.
2002-09-172002-09-17 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath
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.
2002-09-17Update.Ulrich Drepper
* 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.
2002-09-17Update.Ulrich Drepper
* include/unistd.h: Declare __libc_pause.
2002-09-17Update.Ulrich Drepper
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.
2002-09-17Declare __libc_fork.Ulrich Drepper
2002-09-17* sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.Roland McGrath
(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.
2002-09-17* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.Roland McGrath
2002-09-17* sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]Roland McGrath
(__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.
2002-09-17* sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.Roland McGrath
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): New macro. * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case.
2002-09-17* include/unistd.h: Uncomment libc_hidden_proto for _exit.Roland McGrath
* 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.
2002-09-17* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...Roland McGrath
* sysdeps/unix/sysv/linux/sparc/Makefile: ...here. Replace /usr/lib/crt[in].o with crt[in].o too.
2002-09-172002-09-12 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* 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.
2002-09-16Hungarian translations for glibc.Ulrich Drepper
2002-09-16* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_aliasRoland McGrath
to _Exit. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2002-09-162002-09-16 Andreas Jaeger <aj@suse.de>Roland McGrath
* sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias to _Exit. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
2002-09-15Update.Ulrich Drepper
2002-09-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/abort-instr.h: New file.
2002-09-15Update.Ulrich Drepper
* sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus comment. * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.
2002-09-15Update.Ulrich Drepper
* test-skeleton.c (main): Provide more information in case waitpid fails.
2002-09-15Update.Ulrich Drepper
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.
2002-09-15Define dl_iterate_phdr to test which uses -nostdlib.Ulrich Drepper
2002-09-14* sysdeps/i386/dl-machine.h (elf_machine_rel)Roland McGrath
(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.
2002-09-14* Makefile (manual/%): Add this pattern target to the iconvdata/% rule.Roland McGrath
2002-09-14* stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64Roland McGrath
specific asm macros for multiple percision integer math.
2002-09-14* sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.Roland McGrath
* 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.
2002-09-142002-09-10 Alan Modra <amodra@bigpond.net.au>Roland McGrath
* 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.
2002-09-14* sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be definedRoland McGrath
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.
2002-09-13* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.Roland McGrath
2002-09-132002-09-13 Roland McGrath <roland@redhat.com>Roland McGrath
* manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
2002-09-13Update.Andreas Jaeger
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>.
2002-09-13Add readahead syscall.Andreas Jaeger
2002-09-12Update.Ulrich Drepper
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.
2002-09-12Correct DT_LOOS and DT_HIOS values.Ulrich Drepper
2002-09-12* elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.Roland McGrath
(_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to find the ELF header.
2002-09-12* elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of mainRoland McGrath
executable if needed, in case it's actually a shared object.
2002-09-12* elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead ofRoland McGrath
l_map_start to adjust l_tls_initimage.
2002-09-12* nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errnoRoland McGrath
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.