summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * elf/dl-lookup.c (_dl_debug_bindings): Print TLS lookups always.Roland McGrath2002-09-187-44/+82
| | | | | | | | | | | | * 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.
* * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): DefineRoland McGrath2002-09-185-41/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Ported to PowerPC64 running Linux.Roland McGrath2002-09-171-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-17 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2002-09-1733-0/+3145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2002-09-173-14/+21
| | | | | | * 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.
* Update.Ulrich Drepper2002-09-172-0/+6
| | | | * include/unistd.h: Declare __libc_pause.
* Update.Ulrich Drepper2002-09-172-0/+31
| | | | | | | | | 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.
* Declare __libc_fork.Ulrich Drepper2002-09-171-0/+3
|
* * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des.Roland McGrath2002-09-176-19/+49
| | | | | | | | | | | | | (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.
* * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Regenerate.Roland McGrath2002-09-172-426/+209
|
* * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc64__]Roland McGrath2002-09-172-15/+46
| | | | | | (__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.
* * sysdeps/unix/sysv/linux/powerpc/mmap64.c (__mmap64): Add a cast.Roland McGrath2002-09-174-6/+69
| | | | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INLINE_SYSCALL): New macro. * elf/rtld.c [HP_TIMING_NONAVAIL]: Fix last change for this case.
* * include/unistd.h: Uncomment libc_hidden_proto for _exit.Roland McGrath2002-09-175-23/+52
| | | | | | | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Move...Roland McGrath2002-09-171-0/+6
| | | | | * sysdeps/unix/sysv/linux/sparc/Makefile: ...here. Replace /usr/lib/crt[in].o with crt[in].o too.
* 2002-09-12 Jakub Jelinek <jakub@redhat.com>Roland McGrath2002-09-172-9/+10
| | | | | | * 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.
* Hungarian translations for glibc.Ulrich Drepper2002-09-161-0/+5601
|
* * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_aliasRoland McGrath2002-09-161-0/+6
| | | | | to _Exit. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
* 2002-09-16 Andreas Jaeger <aj@suse.de>Roland McGrath2002-09-162-3/+4
| | | | | | * sysdeps/unix/sysv/linux/_exit.c: Add libc_hidden_def and weak_alias to _Exit. * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
* Update.Ulrich Drepper2002-09-152-0/+6
| | | | | | 2002-09-15 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/abort-instr.h: New file.
* Update.Ulrich Drepper2002-09-152-7/+6
| | | | | | | * sysdeps/generic/libc-start.c (__libc_start_main): Remove bogus comment. * sysdeps/generic/libc-start.c (__libc_start_main): Remove dummy_addr.
* Update.Ulrich Drepper2002-09-153-4/+15
| | | | | * test-skeleton.c (main): Provide more information in case waitpid fails.
* Update.Ulrich Drepper2002-09-158-31/+171
| | | | | | | | | | | | | | | 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.
* Define dl_iterate_phdr to test which uses -nostdlib.Ulrich Drepper2002-09-151-0/+1
|
* * sysdeps/i386/dl-machine.h (elf_machine_rel)Roland McGrath2002-09-143-5/+51
| | | | | | (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.
* * Makefile (manual/%): Add this pattern target to the iconvdata/% rule.Roland McGrath2002-09-142-1/+5
|
* * stdlib/longlong.h [_ARCH_PPC && W_TYPE_SIZE!=32]: Add powerpc64Roland McGrath2002-09-142-1/+103
| | | | specific asm macros for multiple percision integer math.
* * sysdeps/generic/ldconfig.h (FLAG_POWERPC_LIB64) New macro.Roland McGrath2002-09-146-8/+128
| | | | | | | | * 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-10 Alan Modra <amodra@bigpond.net.au>Roland McGrath2002-09-144-1/+180
| | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/pread.c: __NR_pread64 may be definedRoland McGrath2002-09-145-0/+37
| | | | | | | | 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.
* * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.Roland McGrath2002-09-131-0/+4
|
* 2002-09-13 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-131-2/+2
| | | | * manual/libc.texinfo: @ifinfo -> @ifnottex around copyright notice.
* Update.Andreas Jaeger2002-09-131-0/+5
| | | | | | | 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>.
* Add readahead syscall.Andreas Jaeger2002-09-131-0/+1
|
* Update.Ulrich Drepper2002-09-121-0/+9
| | | | | | | | | | | 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.
* Correct DT_LOOS and DT_HIOS values.Ulrich Drepper2002-09-121-2/+2
|
* * elf/rtld.c (_dl_start_final): Move _begin, _end decls outside the fn.Roland McGrath2002-09-122-4/+19
| | | | | (_dl_start) [DONT_USE_BOOTSTRAP_MAP]: Use &_begin instead of l_addr to find the ELF header.
* * elf/rtld.c (dl_main) [USE_TLS]: Adjust l_tls_initimage of mainRoland McGrath2002-09-122-0/+12
| | | | executable if needed, in case it's actually a shared object.
* * elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead ofRoland McGrath2002-09-123-3/+4
| | | | l_map_start to adjust l_tls_initimage.
* * nss/getnssent_r.c (__nss_getent_r): Use EAGAIN instead of errnoRoland McGrath2002-09-124-2/+35
| | | | | | | | | 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.
* * nss/bug-erange.c: New file.Roland McGrath2002-09-123-1/+48
| | | | * nss/Makefile (tests): Add it.
* * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errnoRoland McGrath2002-09-122-1/+4
| | | | instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
* * sysdeps/generic/dl-environ.c (unsetenv): Redo last fix withoutRoland McGrath2002-09-112-13/+23
| | | | strncmp, keeps the code smaller for a non-performance-critical case.
* * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp,Roland McGrath2002-09-114-47/+82
| | | | | | | | | | | | | | 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.
* * sysdeps/powerpc/fpu/s_isnan.c: Do macro hackery on __GI___isnanf asRoland McGrath2002-09-102-0/+13
| | | | | 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.
* * posix/bug-regex5.c (main): Use `union locale_data_value' rather thanRoland McGrath2002-09-101-0/+5
| | | | a cast to turn nl_langinfo return value into an integer.
* 2002-09-10 Roland McGrath <roland@redhat.com>Roland McGrath2002-09-101-1/+3
| | | | | * posix/bug-regex5.c (main): Use `union locale_data_value' rather than a cast to turn nl_langinfo return value into an integer.
* #undef __isnanf and isnanf after reading the headers.Ulrich Drepper2002-09-101-0/+3
|
* Update.Ulrich Drepper2002-09-106-47/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Wrap #include wchar.h and wctype.h in #if. (build_range_exp): Add castings ↵Ulrich Drepper2002-09-101-43/+53
| | | | 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.
* UpdateAndreas Jaeger2002-09-107-57/+33
| | | | | | | | | | | | | | | | | | | 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.