about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, FLAG_MIPS64_LIBN64): ↵Alexandre Oliva2003-03-141-1/+3
| | | | | | | | | | Define. * elf/cache.c (print_entry): Handle mips64 n32 and n64. * sysdeps/generic/ldconfig.h (FLAG_MIPS64_LIBN32, FLAG_MIPS64_LIBN64): Define. * elf/cache.c (print_entry): Handle mips64 n32 and n64. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
* * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. * ↵Alexandre Oliva2003-03-143-1/+28
| | | | | | | | | | | sysdeps/mips/memset.S: Likewise. * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 depending on the ABI. * sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. * sysdeps/mips/memset.S: Likewise. * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 depending on the ABI. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
* * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): Don't .set mips2 ↵Alexandre Oliva2003-03-141-1/+15
| | | | | | | | | | on new abi. (compare_and_swap): Likewise. Support 64-bit longs on n64. * sysdeps/mips/atomicity.h (exchange_and_add, atomic_add): Don't .set mips2 on new abi. (compare_and_swap): Likewise. Support 64-bit longs on n64. 2003-03-14 Alexandre Oliva <aoliva@redhat.com>
* * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrsRoland McGrath2003-03-1427-233/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | found. Reported by Alexandre Oliva <aoliva@redhat.com>. 2003-03-13 Alexandre Oliva <aoliva@redhat.com> * stdio-common/_itoa.c (_itoa_base_table): Make 64-bit literals long long. * stdlib/fpioconst.c: Likewise. * stdlib/strtod.c: Likewise. * sysdeps/mips/add_n.S: Use L macro for local labels. * sysdeps/mips/addmul_1.S: Likewise. * sysdeps/mips/lshift.S: Likewise. * sysdeps/mips/memcpy.S: Likewise. * sysdeps/mips/memset.S: Likewise. * sysdeps/mips/mul_1.S: Likewise. * sysdeps/mips/rshift.S: Likewise. * sysdeps/mips/sub_n.S: Likewise. * sysdeps/mips/submul_1.S: Likewise. * sysdeps/mips/mips64/add_n.S: Likewise. * sysdeps/mips/mips64/addmul_1.S: Likewise. * sysdeps/mips/mips64/lshift.S: Likewise. * sysdeps/mips/mips64/mul_1.S: Likewise. * sysdeps/mips/mips64/rshift.S: Likewise. * sysdeps/mips/mips64/sub_n.S: Likewise. * sysdeps/mips/mips64/submul_1.S: Likewise. * sysdeps/unix/mips/sysdep.h: Define L() according to ABI conventions. Define END as in sys/asm.h. * sysdeps/unix/mips/sysdep.S: Likewise. * sysdeps/unix/mips/wait.S: Likewise. * sysdeps/unix/sysv/linux/mips/clone.S: Likewise. * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_double): Cast shifted values that may be too narrow to mp_limb_t. * sysdeps/ieee754/dbl-64/mpn2dbl.c (__mpn_construct_double): Likewise. * sysdeps/ieee754/flt-32/mpn2flt.c (__mpn_construct_float): Likewise. * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double): Likewise. * sysdeps/ieee754/ldbl-128/mpn2ldbl.c (__mpn_construct_long_double): Likewise. * sysdeps/ieee754/ldbl-96/ldbl2mpn.c (__mpn_extract_long_double): Likewise. * sysdeps/ieee754/ldbl-96/mpn2ldbl.c (__mpn_construct_long_double): Likewise. 2003-03-13 Roland McGrath <roland@redhat.com>
* Introduce and use local Andreas Jaeger2003-03-131-2/+2
| | | | | label .Lthread_start since current binutils don't allow branches to globally visible symbols.
* Update.Ulrich Drepper2003-03-133-15/+26
| | | | | | | | | | | | | | | | | | | 2003-03-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (BREAK_INSN_1, BREAK_INSN, ASM_OUTARGS_0, ASM_OUTARGS_1, ASM_OUTARGS_2, ASM_OUTARGS_3, ASM_OUTARGS_4, ASM_OUTARGS_5, ASM_OUTARGS_6): Define. (INTERNAL_SYSCALL, INLINE_SYSCALL): Use it. Make syscall arguments clobbered by the syscall. (ASM_ARGS_1, ASM_ARGS_2, ASM_ARGS_3, ASM_ARGS_4, ASM_ARGS_5, ASM_ARGS_6): Change constraints from r to index of corresponding output register. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Swap ptid and ctid to match kernel. * sysdeps/unix/sysv/linux/ia64/system.c (FORK): Likewise. * sysdeps/powerpc/powerpc64/elf/configure.in: Remove * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
* 2003-03-12 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-03-122-7/+0
| | | | | | * sysdeps/powerpc/powerpc64/elf/configure.in: Remove AC_DEFINE(PI_STATIC_AND_HIDDEN). Not supported for PowerPC64. * sysdeps/powerpc/powerpc64/elf/configure: Regenerated.
* 2003-03-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-121-29/+114
| | | | | | | | | | | | | | | * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Check SYM_MAP rather than SYM as definedness check. Handle R_PPC64_ADDR32, R_PPC64_ADDR30, and R_PPC64_REL64 relocs. Don't handle R_PPC64_REL24 reloc. Mostly from Steven Munroe <sjmunroe@us.ibm.com>. * sysdeps/powerpc/powerpc64/dl-machine.h [USE_TLS] (elf_machine_type_class): Match all the TLS relocs in a block, so we cover all the TPREL16* flavors without 6 ||s. [USE_TLS] (elf_machine_tprel): New function. (elf_machine_rela) [USE_TLS]: Use elf_machine_tprel for TPREL64 reloc, and handle TPREL16 relocs too. Return rather than break for DTPREL64. Mostly from Steven Munroe <sjmunroe@us.ibm.com>.
* Update.Ulrich Drepper2003-03-121-3/+3
| | | | | | | | 2003-03-11 Ralf Baechle <ralf@linux-mips.org> * sysdeps/unix/sysv/linux/mips/clone.S (__thread_start): Use jal instead of jalr to invoke subroutine so restoring the $gp register will work properly.
* Update.Ulrich Drepper2003-03-111-0/+12
| | | | | | | | 2003-03-11 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread64): Define to __NR_pread if not defined. (__NR_pwrite64): Define to __NR_pwrite if not defined.
* Update.Ulrich Drepper2003-03-112-0/+83
| | | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/system.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_CLONE_THREAD_FLAGS): Define for IA-64 and s390* with kernel >= 2.5.64. 2003-03-11 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7.
* * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): If CNT == 1,Roland McGrath2003-03-114-8/+13
| | | | | | | | | | | | allocate space even for the trailing '/'. Reported by John Reiser <jreiser@BitWagon.com>. * sysdeps/unix/sysv/linux/ia64/sysdep.h (LOAD_ARGS_6, ASM_ARGS_6, ASM_CLOBBERS_6): Define. (ASM_CLOBBERS_5): Use ASM_CLOBBERS_6. * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Reorder arguments to match IA-32 order. * sysdeps/unix/sysv/linux/i386/clone.S: Fix comment.
* 2003-03-10 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-03-101-3/+8
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't clobber R7. Copy extra params for NPTL to registers used in clone syscall.
* * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Correct systemRoland McGrath2003-03-101-2/+2
| | | | call names for pread and pwrite.
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-102-4/+4
| | | | | | | | | | | | | | | | * dlfcn/Makefile (libdl-routines): Add dladdr1. * dlfcn/dladdr1.c: New file. * dlfcn/dlfcn.h [__USE_GNU]: Declare dladdr1. [__USE_GNU] (RTLD_DL_SYMENT, RTLD_DL_LINKMAP): New enum constants. * elf/dl-addr.c (_dl_addr): Take new args, a struct link_map ** and a const ElfNN_Sym ** to fill in. * include/dlfcn.h: Update decl. Include <link.h>. * dlfcn/dladdr.c (dladdr): Update caller. * malloc/mtrace.c (tr_where): Likewise. * sysdeps/generic/elf/backtracesyms.c: Likewise. * sysdeps/generic/elf/backtracesymsfd.c: Likewise. * dlfcn/Versions (libdl: GLIBC_2.3.3): New set, add dladdr1. * Versions.def (libdl): Define GLIBC_2.3.3 set.
* * sysdeps/unix/make-syscalls.sh: Generate $(compile-syscall) forRoland McGrath2003-03-103-2/+17
| | | | | | | | | | | | | | | | | | assembler command. * sysdeps/unix/Makefile (compile-syscall): New variable. Pass -g0 to compiler for assembling syscall stubs from stdin. * sysdeps/i386/sysdep.h [HAVE_CPP_ASM_DEBUGINFO] (STABS_CURRENT_FILE, STABS_CURRENT_FILE1, STABS_FUN, STABS_FUN_END): Define these to do nothing. * configure.in: New check for -g on .S files. * configure: Regenerated. * config.make.in (have-cpp-asm-debuginfo): New variable. * config.h.in (HAVE_CPP_ASM_DEBUGINFO): New #undef. * Makeconfig (ASFLAGS): New variable, if undefined and $(have-cpp-asm-debuginfo), take options matching -g% from $(CFLAGS). * Makerules (compile.S, COMPILE.S): Use $(ASFLAGS).
* 2003-03-09 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-101-1/+7
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Take 3 new args used by NPTL on new kernels. From Paul Mackerras <paulus@samba.org>.
* Update.Ulrich Drepper2003-03-071-3/+3
| | | | | | 2003-03-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.
* 2003-03-07 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-072-4/+3
| | | | | * sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo. * sysdeps/s390/s390-64/sysdep.h (L): Likewise.
* 2003-03-04 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2003-03-072-41/+3
| | | | | | | * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded stubs, we have INLINE_SYSCALL. * sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE, MAP_NONBLOCK.
* (_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.Ulrich Drepper2003-03-061-1/+1
|
* * sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.Roland McGrath2003-03-051-13/+5
| | | | | | | (elf_machine_rela): Always use RESOLVE_MAP, needed for R_PPC64_JMP_SLOT as well as TLS cases. (BIT_INSERT): Move parenthesis where it ought to have been. Reported by Steven Munroe <sjmunroe@us.ibm.com>.
* Update.Ulrich Drepper2003-03-041-21/+12
| | | | | | 2003-03-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
* Update.Ulrich Drepper2003-03-041-4/+13
| | | | | * sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new clone parameters.
* Clarify comment.Andreas Jaeger2003-03-041-19/+24
|
* Update.Ulrich Drepper2003-03-041-1/+6
| | | | | * sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic version is just fine.
* Update.Ulrich Drepper2003-03-031-2/+1
| | | | | | | 2003-03-03 Ulrich Drepper <drepper@redhat.com> * include/sched.h (__clone2): Use ... instead of adding all the new parameters.
* 2003-03-03 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-032-9/+0
| | | | | | * sysdeps/powerpc/powerpc32/elf/configure.in: Don't define PI_STATIC_AND_HIDDEN. * sysdeps/powerpc/powerpc32/elf/configure: Regenerated.
* Update.Ulrich Drepper2003-03-031-3/+8
| | | | | | | | 2003-03-03 Ian Wienand <ianw@gelato.unsw.edu.au> * sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone flags. * include/sched.h: Update clone2 prototype.
* Update.Ulrich Drepper2003-03-035-16/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor if ccs parameter isn't valid. Reported by Andreas Schwab. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support for system call numbers > 255. * sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL, INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, INTERNAL_SYSCALL): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL, INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0, INTERNAL_SYSCALL): Likewise. 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv array if it is the initial dtv. 2003-03-03 Ulrich Drepper <drepper@redhat.com> * po/es.po: Update from translation team. * po/fr.po: Likewise. * po/sk.po: Likewise. * po/sv.po: Likewise.
* Update.Ulrich Drepper2003-03-0310-50/+85
| | | | | | | | | | | | | | | | | | | | | 2003-03-03 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry. * misc/sys/mman.h: Add prototype for remap_file_pages. * sysdeps/generic/remap_file_pages.c: New file. * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE and MAP_NONBLOCK. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.
* * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.Roland McGrath2003-03-034-0/+19
| | | | | | | | | | | | | | * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from argument type. * sysdeps/ia64/dl-lookupcfg.h: Update decl. * sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias. * sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias. * locale/Versions (libc: GLIBC_2.3): Move those to ... * sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file. * sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise. * Versions.def (libc): Add GLIBC_2.3.3 set.
* 2003-03-03 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-034-9/+7
| | | | | | | | * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from argument type. * sysdeps/ia64/dl-lookupcfg.h: Update decl.
* Stub implementation of remap_file_pages.Ulrich Drepper2003-03-031-0/+35
|
* * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.Roland McGrath2003-03-032-5/+6
| | | | * sysdeps/ia64/dl-machine.h: Update decl.
* * sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing Andreas Jaeger2003-03-031-1/+1
| | | | brace.
* 2003-03-02 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-031-1/+3
| | | | * sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
* Update.Ulrich Drepper2003-03-031-1/+4
| | | | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* Update.Ulrich Drepper2003-03-0310-37/+427
| | | | | | | | 2003-03-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_MONOTONIC_CLOCK. * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* Define CLOCK_MONOTONIC.Ulrich Drepper2003-03-031-1/+3
|
* * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): RenamedRoland McGrath2003-03-032-29/+70
| | | | | | | | from dl_reloc_overflow, make global. (__process_machine_rela): Update callers. * sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow. Add attribute_hidden to __process_machine_rela decl. (elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.
* * sysdeps/generic/libc-start.c (__libc_start_main): Don't assign constRoland McGrath2003-03-032-5/+4
| | | | variable.
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):Roland McGrath2003-03-024-194/+242
| | | | | | | | | | | | | | | | | | | | | | Don't use weak_extern for dl_rtld_map. Instead check only if [SHARED]. (elf_machine_rela): Clean up. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up. PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>. * sysdeps/powerpc/powerpc32/elf/configure.in: New file. * sysdeps/powerpc/powerpc32/elf/configure: New generated file. * elf/tls-macros.h [__powerpc__ && !__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support new relocs for TLS. * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these macros out of [SHARED]. (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros. * elf/elf.h: Define R_PPC_* relocs for TLS support. Clean up R_PPC64_* macro definition comments.
* 2003-03-02 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-021-8/+14
| | | | | | * sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these macros out of [SHARED]. (TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.
* * elf/dl-reloc.c (allocate_static_tls): Fix calculations.Roland McGrath2003-03-011-1/+0
| | | | | | | | | | | | | | | From Jakub Jelinek <jakub@redhat.com>. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change, which duplicated the O_DIRECT defn. 2003-03-01 GOTO Masanori <gotom@debian.or.jp> * stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived random functions. * resolv/Makefile (tests): Don't depend on $(objpfx)mtrace-tst-leaks when cross compiling.
* (_dl_start_user): Access __libc_stack_end through GOT since it is a global ↵Andreas Schwab2003-03-011-2/+2
| | | | symbol.
* (O_DIRECT): Define.Ulrich Drepper2003-03-012-1/+3
|
* * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): RemoveRoland McGrath2003-02-282-57/+34
| | | | | | | | | | | | special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to repeat it and avoids the test for the common case. Clean up and fix calculations for TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ... * sysdeps/powerpc/dl-tls.h: ... here. (TLS_TP_OFFSET): New macro. * sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.
* Update.Ulrich Drepper2003-02-271-0/+4
| | | | | | | 2003-02-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to code generation changes in recent gcc.
* * sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):Roland McGrath2003-02-272-13/+14
| | | | | | | Rename argument to avoid symbol conflict. * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h [__USE_GNU] (O_DIRECT): New macro.