aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2002-09-12* nss/bug-erange.c: New file.Roland McGrath
* nss/Makefile (tests): Add it.
2002-09-12* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errnoRoland McGrath
instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
2002-09-11* sysdeps/generic/dl-environ.c (unsetenv): Redo last fix withoutRoland McGrath
strncmp, keeps the code smaller for a non-performance-critical case.
2002-09-11* sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,Roland McGrath
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.
2002-09-10* sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf asRoland McGrath
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.
2002-09-10* posix/bug-regex5.c (main): Use `union locale_data_value' rather thanRoland McGrath
a cast to turn nl_langinfo return value into an integer.
2002-09-102002-09-10 Roland McGrath <roland@redhat.com>Roland McGrath
* posix/bug-regex5.c (main): Use `union locale_data_value' rather than a cast to turn nl_langinfo return value into an integer.
2002-09-10#undef __isnanf and isnanf after reading the headers.Ulrich Drepper
2002-09-10Update.Ulrich Drepper
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.
2002-09-10Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings ↵Ulrich Drepper
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.
2002-09-10UpdateAndreas Jaeger
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.
2002-09-10MIPS specific optimizations.Andreas Jaeger