about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Update.Ulrich Drepper2003-02-271-6/+7
| | | | | | | 2003-02-24 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix unwind info.
* * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.Roland McGrath2003-02-262-8/+196
| | | | * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
* Revert unintentional commits.Roland McGrath2003-02-268-306/+39
|
* linuxthreads/ChangeLogRoland McGrath2003-02-258-39/+306
| | | | | | | | 2003-02-25 Roland McGrath <roland@redhat.com> * sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs. * sysdeps/powerpc/powerpc64/dl-tls.h: New file.
* 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-02-252-0/+137
| | | | | | | | | | | * elf/elf.h: Add new R_PPC64_* relocs for TLS. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define. * sysdeps/powerpc/powerpc64/elf/configure.in: New file. * sysdeps/powerpc/powerpc64/elf/configure: New file (generated). * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
* 2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-02-251-0/+8
| | | | | * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.
* Update.Ulrich Drepper2003-02-251-2/+0
| | | | | | | 2003-02-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES test.
* 2003-02-24 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-241-0/+3
| | | | * sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
* 2003-02-23 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-241-20/+9
| | | | | * sysdeps/posix/pause.c: New file. * sysdeps/unix/common/pause.c: File removed.
* Update.Ulrich Drepper2003-02-241-3/+2
| | | | | | * Makefile (tests): Add tst-tls1 and tst-tls2. * tst-tls1.c: New file. * tst-tls2.c: New file.
* Update.Ulrich Drepper2003-02-241-58/+49
| | | | * sysdeps/generic/bits/confname.h: Remove #ifs.
* Avoid warning.Ulrich Drepper2003-02-231-1/+3
|
* * malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.Roland McGrath2003-02-221-4/+9
| | | | | | | | | | | | | | | | | | * malloc/thread-freeres.c: New file. * malloc/Makefile (aux): Add it. * sunrpc/Versions (GLIBC_PRIVATE): Removed. * sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section "__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set. * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix. 2003-02-21 Roland McGrath <roland@frob.com> * sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open. * iconvdata/Makefile (tests): Add bug-iconv3 only if [$(have-thread-library) = yes].
* 2003-02-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-222-2/+2
| | | | | * sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix. * sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.