about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-06-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-09 Ulrich Drepper <drepper@redhat.com> Rewrite error message handling. * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to _dl_catch_error. * elf/dl-error (struct catch): Add objname member. (_dl_signal_error): Take new parameter with object name. When passing message on simply store object name and duplicate error message. (_dl_catch_error): Take new parameter. Store object name in the place pointed to. * include/dlfcn.h: Adjust _dl_catch_error prototype. * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. * elf/dl-open.c (_dl_open): Likewise. * elf/rtld.c (dl_main): Likewise. * elf/dl-close.c: Mark error messages with N_(). * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * elf/dl-lookup.c: Add comments about problems with error message translations. * elf/dl-reloc.c: Likewise. * elf/dl-version.c: Likewise.
* Update.Ulrich Drepper2000-06-105-0/+396
| | | | | | | | | | 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
* Update.Ulrich Drepper2000-06-102-0/+96
| | | | | | | * sysdeps/unix/sysv/linux/ia64/brk.S: New file. * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. 2000-06-09 Jes Sorensen <jes@linuxcare.com>
* Update.Ulrich Drepper2000-06-106-0/+303
| | | | | | | | | | | | 2000-06-09 Jes Sorensen <jes@linuxcare.com> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
* Update.Ulrich Drepper2000-06-091-2/+10
| | | | | | | | 2000-06-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder to find correct mount point despite wrong information from the kernel.
* Update.Ulrich Drepper2000-06-091-0/+1
| | | | * sysdeps/i386/Dist: Add bp-asm.h.
* Update.Ulrich Drepper2000-06-091-2/+2
| | | | | | * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use defaultdir variable instead of "/var/shm" everywhere. (defaultdir): Change to /dev/shm/.
* Update.Ulrich Drepper2000-06-091-1/+1
| | | | | | 2000-06-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (defaultdir): Change to /dev/shm/.
* * sysdeps/i386/bp-asm.h: New file. Greg McGary2000-06-0938-420/+732
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack offsets. Add ENTER/LEAVE macros for optionally maintaining frame-pointer chain when debugging. * sysdeps/i386/add_n.S: Likewise. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise. 2000-06-08 Greg McGary <greg@mcgary.org> * sysdeps/i386/bp-asm.h: New file. * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack offsets. Add ENTER/LEAVE macros for optionally maintaining frame-pointer chain when debugging. * sysdeps/i386/add_n.S: Likewise. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise.
* Update.Ulrich Drepper2000-06-081-0/+22
| | | | * sysdeps/unix/sysv/linux/getdtsz.c: New file.
* Update.Ulrich Drepper2000-06-081-5/+7
| | | | | * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as 256 and don't use OPEN_MAX.
* Update.Ulrich Drepper2000-06-082-4/+8
| | | | * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
* Define LINUX_LINK_MAX and use it instead of LINK_MAX.Ulrich Drepper2000-06-081-2/+6
|
* Update.Ulrich Drepper2000-06-081-2/+12
| | | | | * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX unless user defined it.
* Update.Ulrich Drepper2000-06-081-2/+11
| | | | | * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX if not defined by the user.
* Update.Ulrich Drepper2000-06-084-0/+88
| | | | | | | | | | | | | | | | * include/elf.h: Include also <dl-dtprocnum.h>. * elf/dl-deps.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-rel.h: Likewise. * elf/dynamic-link.h: Likewise. * elf/link.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-dtprocnum.h: New file. * sysdeps/ia64/dl-dtprocnum.h: New file. * sysdeps/mips/dl-dtprocnum.h: New file. * sysdeps/sparc/dl-dtprocnum.h: New file.
* Update.Ulrich Drepper2000-06-081-1/+1
| | | | * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
* Update.Ulrich Drepper2000-06-081-0/+3
| | | | | | | | | | | | * dlfcn/dlfcn.h: Pretty print dladdr declaraction. * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK. (_dl_dynamic_weak): New variable. * elf/dl-support.c: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak. * elf/do-lookup.h: If we find a weak definition treat it like a normal symbol unless _dl_dynamic_weak is nonzero. In the latter case treat it like before.
* Update.Ulrich Drepper2000-06-071-3/+3
| | | | | | | 2000-06-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags): Update.
* Update.Ulrich Drepper2000-06-071-0/+4
| | | | | | | | | | | | 2000-06-07 Andreas Jaeger <aj@suse.de> * elf/Makefile: Build ldconfig only when building shared libraries. 2000-06-07 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if __USE_ISOC99. (fdimf, __fdim, fdim): Likewise.
* * sysdeps/mips/elf/start.S: Trim redundant code.Greg McGary2000-06-071-11/+2
| | | | * sysdeps/mips/elf/start.S: Trim redundant code.
* * sysdeps/powerpc/memset.S: Define & use symbolic register names. Greg McGary2000-06-065-378/+401
| | | | | | | | | | | | | | Use C comments throughout. Line up operands column with tabs. * sysdeps/powerpc/strchr.S: Likewise. * sysdeps/powerpc/strcmp.S: Likewise. * sysdeps/powerpc/strcpy.S: Likewise. * sysdeps/powerpc/strlen.S: Likewise. * sysdeps/powerpc/memset.S: Define & use symbolic register names. Use C comments throughout. Line up operands column with tabs. * sysdeps/powerpc/strchr.S: Likewise. * sysdeps/powerpc/strcmp.S: Likewise. * sysdeps/powerpc/strcpy.S: Likewise. * sysdeps/powerpc/strlen.S: Likewise.
* * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Greg McGary2000-06-061-1/+1
| | | | | | | | Get low part of &__curbrk with @l. 2000-06-06 Greg McGary <greg@mcgary.org> * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]: Get low part of &__curbrk with @l.
* Update.Ulrich Drepper2000-06-041-1/+2
| | | | | | | 2000-06-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh if -ffast-math.
* Update.Ulrich Drepper2000-06-045-69/+70
| | | | | | | | | | | | | 2000-06-01 Jakub Jelinek <jakub@redhat.com> * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all inlines to match prototypes in mathcalls.h. * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise. * sysdeps/powerpc/dl-start.S: Close open comment.
* Update.Andreas Jaeger2000-06-031-1/+1
| | | | | | | | | | 2000-06-03 Andreas Jaeger <aj@suse.de> * sysdeps/powerpc/dl-start.S: Close open comment. 2000-06-03 Jakub Jelinek <jakub@redhat.com> * inet/Versions: Fix typo in rresvport_af export.
* * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo. Andreas Jaeger2000-06-021-4/+4
| | | | Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
* Update.Ulrich Drepper2000-06-021-4/+5
| | | | | * sysdeps/generic/initfini.c (_init): One less relocation. Don't have extra call to __gmon_start__, use the pointer we already have.
* Update.Ulrich Drepper2000-06-011-2/+6
| | | | | | | | 2000-06-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/elf/setjmp.S: Work around change is recent binutils. gas now emits a jump through the PLT instead of a relative jump if the jump target is an exported symbol.
* Define AIX_CBAUD.Ulrich Drepper2000-05-311-0/+1
|
* Update.Andreas Jaeger2000-05-312-1/+7
| | | | | | | | | | | | | | 2000-05-31 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for gregset_t. * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache. Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of syscall. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of Andreas Jaeger2000-05-312-2/+4
| | | | | syscall. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* Update.Ulrich Drepper2000-05-301-1/+1
| | | | * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
* Update.Andreas Jaeger2000-05-306-0/+459
| | | | | | | | | | | 2000-05-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/mips/truncate64.c: New file. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file. * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file. * sysdeps/unix/sysv/linux/mips/pread.c: Readded file. * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
* Update.Ulrich Drepper2000-05-291-0/+1
| | | | | | 2000-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
* Update.Andreas Jaeger2000-05-276-146/+15
| | | | | | | | | | | | | | | | | | | | | 2000-05-27 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/arm/pread.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check endianness to decide how to pass arguments. * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise. * elf/vismain.c: Use test-skeleton interface. (TEST_FUNCTION): New macro. (do_test): Renamed from main.
* * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the ↵Andreas Jaeger2000-05-273-197/+0
| | | | normal version now. * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
* (gaih_inet): If req->ai_family == AF_UNSPEC don't allow the IPv6 lookup to ↵Ulrich Drepper2000-05-271-0/+12
| | | | return mapped IPv4 addresses.
* * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order Andreas Jaeger2000-05-262-7/+14
| | | | | of arguments dependend on endianness. * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* Update.Ulrich Drepper2000-05-261-4/+4
| | | | | * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code was switched.
* Update.Andreas Jaeger2000-05-267-221/+19
| | | | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the normal version now. * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise. * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check endianness to check how to pass argument. * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
* Update.Andreas Jaeger2000-05-262-7/+33
| | | | | | | | | | | | | | | | | | | | 2000-05-26 Andreas Jaeger <aj@suse.de> * elf/ldconfig.h: Update parameter list for process_elf_file. * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file): Add parameter file_length and pass it ot process_elf*file. * sysdeps/generic/readelflib.c (check_ptr): New. (process_elf_file): Use check_ptr to check all accesses to the mmapped file. Add parameter file_length. * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify library names. * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion. Closes PR libc/1573, reported by Bradley White <bww@laurelnetworks.com>.
* Update.Ulrich Drepper2000-05-251-0/+2
| | | | | | | 2000-05-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if __FAST_MATH__ is defined.
* Update.Ulrich Drepper2000-05-251-30/+38
| | | | | | | | | | | | | 2000-05-22 Andreas Jaeger <aj@suse.de> * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c, CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c. * manual/math.texi (FP Function Optimizations): Document gcc -ffast-math behaviour with mathinlines. * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline functions unless -ffast-math is given to gcc.
* Update.Ulrich Drepper2000-05-251-1/+3
| | | | | | | 2000-05-23 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf, __sincosl): Guard with __USE_GNU.
* Update.Ulrich Drepper2000-05-252-36/+69
| | | | | | | | | | | * csu/Makefile (routines): Add check_fds. * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID binaries. Add various __builtin_expect. * sysdeps/generic/libc-start.c: Move check_fds and helper functions... * sysdeps/generic/check_fds.c: ...here. New file. * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID binaries if file /etc/suid-debug is available.
* Update.Andreas Jaeger2000-05-241-3/+7
| | | | | * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double words.
* Update.Andreas Jaeger2000-05-241-0/+5
| | | | | * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS): Define it for newer kernels.
* Remove K&R support.Andreas Jaeger2000-05-231-2/+2
|
* Update.Andreas Jaeger2000-05-2317-76/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * csu/munch-tmpl.c (__libc_init): Remove K&R support. * dirent/scandir64.c: Likewise. * pwd/getpw.c: Likewise. * stdlib/bsearch.c (bsearch): Likewise. * stdlib/tst-strtoll.c: Likewise. * localedata/collate-test.c: Likewise. * localedata/xfrm-test.c: Likewise. * posix/bsd-getpgrp.c: Likewise. * sysdeps/alpha/fpu/bits/fenv.h: Likewise. * sysdeps/generic/bits/siginfo.h: Likewise. * sysdeps/generic/bits/sockaddr.h: Likewise. * sysdeps/generic/sys/swap.h: Likewise. * sysdeps/generic/sys/sysinfo.h: Likewise. * sysdeps/generic/vfork.c: Likewise. * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise. * sysdeps/mach/hurd/fdopen.c: Likewise. * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise. * sysdeps/unix/sysv/linux/readv.c: Likewise. * sysdeps/unix/sysv/linux/writev.c: Likewise. * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise. * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes. * shadow/lckpwdf.c: Likewise. * stdlib/tst-strtol.c: Likewise. * sysdeps/generic/tcsetattr.c: Likewise. * sysdeps/unix/sysv/linux/ttyname.c: Likewise. * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.