platform/upstream/glibc.git
23 years agoAlpha fedisableexcept implementaton.
Ulrich Drepper [Thu, 17 Aug 2000 18:46:15 +0000 (18:46 +0000)]
Alpha fedisableexcept implementaton.

23 years agoAlpha feenableexcept implementation.
Ulrich Drepper [Thu, 17 Aug 2000 18:45:58 +0000 (18:45 +0000)]
Alpha feenableexcept implementation.

23 years agoApha fegetexcept implementation.
Ulrich Drepper [Thu, 17 Aug 2000 18:45:35 +0000 (18:45 +0000)]
Apha fegetexcept implementation.

23 years ago* sysdeps/m68k/fpu/fegetexcept.c: New file.
Andreas Schwab [Wed, 16 Aug 2000 15:08:45 +0000 (15:08 +0000)]
* sysdeps/m68k/fpu/fegetexcept.c: New file.
* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
* sysdeps/m68k/fpu/feenablxcpt.c: New file.

23 years ago(__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
Ulrich Drepper [Mon, 14 Aug 2000 17:39:48 +0000 (17:39 +0000)]
(__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64): Likewise.

23 years ago(DIRENT_TYPE): Define.
Ulrich Drepper [Mon, 14 Aug 2000 17:39:31 +0000 (17:39 +0000)]
(DIRENT_TYPE): Define.

23 years agoDefine __clockid_t and __timer_t.
Ulrich Drepper [Mon, 14 Aug 2000 05:23:10 +0000 (05:23 +0000)]
Define __clockid_t and __timer_t.

23 years ago__clockid_t and __timer_t are now defined in bits/types.h.
Ulrich Drepper [Mon, 14 Aug 2000 05:22:20 +0000 (05:22 +0000)]
__clockid_t and __timer_t are now defined in bits/types.h.

23 years agoDefine thread types also for POSIX95.
Ulrich Drepper [Mon, 14 Aug 2000 04:50:13 +0000 (04:50 +0000)]
Define thread types also for POSIX95.

23 years ago(F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
Andreas Jaeger [Sat, 12 Aug 2000 09:59:40 +0000 (09:59 +0000)]
(F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc.

23 years ago * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
Andreas Jaeger [Sat, 12 Aug 2000 09:29:03 +0000 (09:29 +0000)]
    * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Add .set
        mips2 for assembler.
        * sysdeps/mips/pt-machine.h (testandset): Add .set mips2 for
        assembler.
        (__compare_and_swap): Likewise.
        * sysdeps/mips/pspinlock.c (__pthread_spin_lock): Likewise.

23 years agoLinux/Arm implementation of versionsort64.
Ulrich Drepper [Sat, 12 Aug 2000 08:21:01 +0000 (08:21 +0000)]
Linux/Arm implementation of versionsort64.

23 years agoLinux/Arm implementation of scandir64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:53 +0000 (08:20 +0000)]
Linux/Arm implementation of scandir64.

23 years agoLinux/Arm implementation of readdir64_r.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:43 +0000 (08:20 +0000)]
Linux/Arm implementation of readdir64_r.

23 years agoLinux/Arm implementation of readdir64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:37 +0000 (08:20 +0000)]
Linux/Arm implementation of readdir64.

23 years agoLinux/Arm implementation of getdents64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:30 +0000 (08:20 +0000)]
Linux/Arm implementation of getdents64.

23 years agoLinux/Arm implementation of alphasort64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:21 +0000 (08:20 +0000)]
Linux/Arm implementation of alphasort64.

23 years ago(__ino64_t): Change to __u_quad_t.
Ulrich Drepper [Sat, 12 Aug 2000 05:07:57 +0000 (05:07 +0000)]
(__ino64_t): Change to __u_quad_t.

23 years ago(__xstat_conv): Remove unused prototype.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:40 +0000 (04:48 +0000)]
(__xstat_conv): Remove unused prototype.

23 years agoLinux/Alpha getdents64 implementation.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:27 +0000 (04:48 +0000)]
Linux/Alpha getdents64 implementation.

23 years agoLinux/Alpha egtdents implementation.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:19 +0000 (04:48 +0000)]
Linux/Alpha egtdents implementation.

23 years agoSynch struct stat64 and stat with current MIPS kernel.
Andreas Jaeger [Thu, 10 Aug 2000 12:39:48 +0000 (12:39 +0000)]
Synch struct stat64 and stat with current MIPS kernel.

23 years agoInclude kernel-features.h.
Ulrich Drepper [Thu, 10 Aug 2000 04:21:28 +0000 (04:21 +0000)]
Include kernel-features.h.

23 years agoAdd _test_and_set.c.
Ulrich Drepper [Wed, 2 Aug 2000 22:41:58 +0000 (22:41 +0000)]
Add _test_and_set.c.

23 years agoUndo last change.
Ulrich Drepper [Wed, 2 Aug 2000 15:27:16 +0000 (15:27 +0000)]
Undo last change.

23 years ago[subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
Ulrich Drepper [Tue, 1 Aug 2000 19:11:07 +0000 (19:11 +0000)]
[subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit.

23 years agoAdd oldgetrlimit, oldsetrlimit for GLIBC_2.0.
Ulrich Drepper [Tue, 1 Aug 2000 19:10:53 +0000 (19:10 +0000)]
Add oldgetrlimit, oldsetrlimit for GLIBC_2.0.

23 years ago * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
Andreas Jaeger [Mon, 31 Jul 2000 08:19:13 +0000 (08:19 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/sigstack.h:  New file.  On MIPS
the order of struct sigaltstack members is different.

23 years agofcntl.h definitions for Linux/Arm.
Ulrich Drepper [Sun, 30 Jul 2000 16:07:40 +0000 (16:07 +0000)]
fcntl.h definitions for Linux/Arm.

23 years ago(fix_bad_pc24): New function.
Ulrich Drepper [Sat, 29 Jul 2000 19:32:27 +0000 (19:32 +0000)]
(fix_bad_pc24): New function.
(elf_machine_rel): Use it for out-of-range PC24 relocs.

23 years ago(PSEUDO_RET): New macro.
Ulrich Drepper [Sat, 29 Jul 2000 18:03:21 +0000 (18:03 +0000)]
(PSEUDO_RET): New macro.
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.

23 years ago * sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
Greg McGary [Sat, 29 Jul 2000 08:09:56 +0000 (08:09 +0000)]
* sysdeps/arm/frame.h (struct layout): Make pointers __unbounded.
* sysdeps/generic/frame.h: Likewise.
* sysdeps/generic/backtrace.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded.  Wrap bounds around variable `current'.
* sysdeps/generic/segfault.c (ADVANCE_STACK_FRAME): Wrap bounds
around return value.
(catch_segfault): Qualify frame-pointer chain and return address
pointers as __unbounded.  Wrap bounds around variable `current'.
* sysdeps/i386/backtrace.c (struct layout): Make pointers __unbounded.
(ADVANCE_STACK_FRAME): Wrap bounds around return value.
* sysdeps/powerpc/backtrace.c (struct layout): Make pointers __unbounded.
(__backtrace): Qualify frame-pointer chain and return address
pointers as __unbounded.  Wrap bounds around variable `current'.

23 years ago * sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
Andreas Jaeger [Fri, 28 Jul 2000 13:37:26 +0000 (13:37 +0000)]
* sysdeps/unix/sysv/linux/mips/Dist: Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines): Add
_test_and_set.
(headers): Add sys/tas.h.
* sysdeps/unix/sysv/linux/mips/Versions: Export _test_and_set for
GLIBC_2.2 from libc.
* sysdeps/unix/sysv/linux/mips/_test_and_set.c: New file.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: New file for
_test_and_set.

23 years agoRename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
Andreas Jaeger [Thu, 27 Jul 2000 15:12:23 +0000 (15:12 +0000)]
Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
used).

23 years ago * sysdeps/gnu/bits/msq.h: Qualify kernel's
Greg McGary [Thu, 27 Jul 2000 06:13:09 +0000 (06:13 +0000)]
* sysdeps/gnu/bits/msq.h: Qualify kernel's
data structure pointers as __unbounded.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/generic/bp-semctl.h: New file.
* sysdeps/unix/sysv/linux/msgctl.c: Qualify kernel's data structure
pointers as __unbounded.  Check bounds of syscall args.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/semop.c: Likewise.
* sysdeps/unix/sysv/linux/shmat.c: Likewise.
* sysdeps/unix/sysv/linux/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/shmdt.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Likewise.

23 years ago * sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
Greg McGary [Wed, 26 Jul 2000 18:21:15 +0000 (18:21 +0000)]
* sysdeps/generic/bp-checks.h (__memchr): Remove incorrect decl.
(__ubp_memchr): Add correct decl.
(_CHECK_STRING): Use __ubp_memchr.
* sysdeps/alpha/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
New alias for unbounded-pointer __memchr.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.

24 years ago * sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
Andreas Jaeger [Tue, 25 Jul 2000 10:32:02 +0000 (10:32 +0000)]
* sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
__STRING(entry) and not #entry.
(_RTLD_EPILOGUE): Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.

24 years agoRemove mmap64 alias.
Andreas Schwab [Mon, 24 Jul 2000 13:33:15 +0000 (13:33 +0000)]
Remove mmap64 alias.

24 years agoDefine RTLD_NOLOAD and RTLD_NODELETE.
Ulrich Drepper [Thu, 20 Jul 2000 22:52:53 +0000 (22:52 +0000)]
Define RTLD_NOLOAD and RTLD_NODELETE.

24 years ago(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
Andreas Jaeger [Tue, 18 Jul 2000 14:14:51 +0000 (14:14 +0000)]
(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
t argument to silence GCC.

24 years agoFix copy & error in weak_alias.
Andreas Jaeger [Tue, 18 Jul 2000 08:40:57 +0000 (08:40 +0000)]
Fix copy & error in weak_alias.

24 years ago * sysdeps/generic/bp-checks.h: Use unbounded __memchr
Greg McGary [Mon, 17 Jul 2000 22:36:16 +0000 (22:36 +0000)]
* sysdeps/generic/bp-checks.h: Use unbounded __memchr
rather than non-existent __ubp_memchr.
(CHECK_STRINGopt, CHECK_FCNTL, BOUNDED_N, BOUNDED_1): New macros.
(_CHECK_STRING, _CHECK_N): New macros.
(CHECK_STRING, CHECK_N, CHECK_Nopt): Rewrite in terms of _CHECK_*.
(CHECK_IOCTL): Move inside `#if !__ASSEMBLER__'.
* sysdeps/alpha/memchr.S: Change strong name to "__memchr".
Add weak alias "memchr".
* sysdeps/generic/memchr.c: Likewise.
* sysdeps/i386/memchr.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/m68k/memchr.S: Likewise.
* sysdeps/sparc/sparc32/memchr.S: Likewise.
* sysdeps/sparc/sparc64/memchr.S: Likewise.
* sysdeps/vax/memchr.s: Likewise.

24 years ago * sysdeps/unix/make-syscalls.sh: Handle new arg signature
Greg McGary [Mon, 17 Jul 2000 22:28:59 +0000 (22:28 +0000)]
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters F, I, S, W.  Remove unused keyletter V.  Surround
signature argnames with angle-brackets for use as word delimiters,
and to induce syntax errors for any args not handled.  Split
multi-echo echoes and comment each stage.
* sysdeps/unix/common/syscalls.list: Refine & correct signatures.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list

24 years agoAdd libgcc frame handling functions.
Andreas Jaeger [Thu, 13 Jul 2000 11:46:49 +0000 (11:46 +0000)]
Add libgcc frame handling functions.

24 years ago * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
Andreas Jaeger [Mon, 10 Jul 2000 16:23:37 +0000 (16:23 +0000)]
* sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
it's overridden by libpthreads.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.

24 years ago2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
Andreas Jaeger [Mon, 10 Jul 2000 13:51:45 +0000 (13:51 +0000)]
2000-07-10  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>

* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
that gpreg really points to the GOT section of the calling object.
Scan all PT_LOAD segments of objects for stub_pc, instead of only
checking a start address of first one.
Fix typos.
* sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
Likewise.

* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.

24 years ago * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
Greg McGary [Fri, 7 Jul 2000 02:19:05 +0000 (02:19 +0000)]
* sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
New macros.
* sysdeps/generic/strcpy.c: Add bounds checks.
* sysdeps/unix/fxstat.c: Likewise.
* sysdeps/unix/xstat.c: Likewise.
* sysdeps/unix/common/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/execve.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/getcwd.c: Likewise.
* sysdeps/unix/sysv/linux/getdents.c: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/ptrace.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.

24 years agoAdd __libc_sigaction.
Ulrich Drepper [Fri, 7 Jul 2000 00:47:05 +0000 (00:47 +0000)]
Add __libc_sigaction.

24 years ago * string/endian.h (__LONG_LONG_PAIR): New macro.
Greg McGary [Thu, 6 Jul 2000 23:42:33 +0000 (23:42 +0000)]
* string/endian.h (__LONG_LONG_PAIR): New macro.
* sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/truncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years ago * sysdeps/generic/bp-checks.h: New file.
Greg McGary [Thu, 6 Jul 2000 00:48:39 +0000 (00:48 +0000)]
* sysdeps/generic/bp-checks.h: New file.
* sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
with list of #include files.
* sysdeps/unix/make-syscalls.sh: Handle new arg signature
keyletters a, b, B, f, n, N, P, v, V.  Fixup some indentation.
Don't generate BP thunk if `V' appears in signature.
Generate thunks with complete bounds checks.
* sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
* sysdeps/unix/inet/syscalls.list: Likewise.
* sysdeps/unix/mman/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.

24 years ago Fix type of fpu_control_t.
Andreas Jaeger [Wed, 5 Jul 2000 15:37:11 +0000 (15:37 +0000)]
Fix type of fpu_control_t.
(_FPU_GETCW): Remove extra colon.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.

24 years ago(elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
Ulrich Drepper [Sat, 1 Jul 2000 05:08:03 +0000 (05:08 +0000)]
(elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
store value from relocation address to prevent unaligned trap.

24 years agoReplace arg-count with signatures.
Andreas Schwab [Fri, 23 Jun 2000 11:09:25 +0000 (11:09 +0000)]
Replace arg-count with signatures.

24 years ago * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
Andreas Jaeger [Fri, 23 Jun 2000 07:55:36 +0000 (07:55 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
SYS_mincore, SYS_madvise): Added.

24 years agoFix signature of execve.
Andreas Jaeger [Fri, 23 Jun 2000 06:26:24 +0000 (06:26 +0000)]
Fix signature of execve.

24 years agoReplace arg-count with signatures.
Andreas Jaeger [Thu, 22 Jun 2000 21:12:27 +0000 (21:12 +0000)]
Replace arg-count with signatures.

24 years agoDefine __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM.
Ulrich Drepper [Thu, 22 Jun 2000 17:58:17 +0000 (17:58 +0000)]
Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM.

24 years agoFix one more typoe for sysctl.
Andreas Jaeger [Thu, 22 Jun 2000 13:50:01 +0000 (13:50 +0000)]
Fix one more typoe for sysctl.

24 years agoFix sysctl entry.
Andreas Jaeger [Thu, 22 Jun 2000 13:38:05 +0000 (13:38 +0000)]
Fix sysctl entry.

24 years agoDeltas for math test suite on MIPS
Andreas Jaeger [Tue, 20 Jun 2000 14:16:21 +0000 (14:16 +0000)]
Deltas for math test suite on MIPS

24 years ago * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
Andreas Jaeger [Tue, 20 Jun 2000 13:05:21 +0000 (13:05 +0000)]
* sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
first.

* sysdeps/mips/fpu/feholdexcpt.c: New file.

* sysdeps/mips/fpu/fraiseexcpt.c: New file.

24 years agoInclude <sysdeps/generic/memusage.h>.
Ulrich Drepper [Tue, 20 Jun 2000 06:33:57 +0000 (06:33 +0000)]
Include <sysdeps/generic/memusage.h>.

24 years agoMacro to allow memory usage tracking.
Ulrich Drepper [Tue, 20 Jun 2000 06:29:45 +0000 (06:29 +0000)]
Macro to allow memory usage tracking.

24 years agoRenamed to memusage.h.
Ulrich Drepper [Tue, 20 Jun 2000 06:29:15 +0000 (06:29 +0000)]
Renamed to memusage.h.

24 years ago * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
Andreas Jaeger [Sun, 18 Jun 2000 17:20:01 +0000 (17:20 +0000)]
* sysdeps/mips/dl-machine.h: Always use $25 as jump register.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.

24 years agoDefine LINUX_LINK_MAX.
Ulrich Drepper [Sun, 18 Jun 2000 05:21:59 +0000 (05:21 +0000)]
Define LINUX_LINK_MAX.

24 years agoDefine LINK_MAX.
Ulrich Drepper [Sun, 18 Jun 2000 05:19:19 +0000 (05:19 +0000)]
Define LINK_MAX.

24 years agoAdd libgcc frame handling functions here.
Ulrich Drepper [Thu, 15 Jun 2000 06:59:07 +0000 (06:59 +0000)]
Add libgcc frame handling functions here.

24 years ago * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
Andreas Jaeger [Wed, 14 Jun 2000 13:13:58 +0000 (13:13 +0000)]
* sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
entry point.
Reported by Jim Pick <jim@jimpick.com>.

24 years agoAdditional files to distribute for AIX.
Ulrich Drepper [Wed, 14 Jun 2000 00:44:54 +0000 (00:44 +0000)]
Additional files to distribute for AIX.

24 years agoAdd oldgetrlimit64.c.
Ulrich Drepper [Wed, 14 Jun 2000 00:32:09 +0000 (00:32 +0000)]
Add oldgetrlimit64.c.

24 years ago * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
Andreas Jaeger [Tue, 13 Jun 2000 14:33:22 +0000 (14:33 +0000)]
* sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
Patch by Ralf Baechle <ralf@gnu.org>.

24 years agoDT_THISPROCNUM definition for MIPS.
Ulrich Drepper [Thu, 8 Jun 2000 04:48:05 +0000 (04:48 +0000)]
DT_THISPROCNUM definition for MIPS.

24 years ago(__fdimf): Only declare if __USE_ISOC99.
Ulrich Drepper [Wed, 7 Jun 2000 16:53:09 +0000 (16:53 +0000)]
(__fdimf): Only declare if __USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.

24 years ago * sysdeps/mips/elf/start.S: Trim redundant code.
Greg McGary [Wed, 7 Jun 2000 00:30:05 +0000 (00:30 +0000)]
* sysdeps/mips/elf/start.S: Trim redundant code.

24 years agoAdd __THROW to all inlines to match prototypes in mathcalls.h.
Ulrich Drepper [Sun, 4 Jun 2000 16:10:51 +0000 (16:10 +0000)]
Add __THROW to all inlines to match prototypes in mathcalls.h.

24 years ago * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Andreas Jaeger [Fri, 2 Jun 2000 13:10:38 +0000 (13:10 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

24 years ago * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
Andreas Jaeger [Wed, 31 May 2000 12:03:35 +0000 (12:03 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.

24 years ago * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
Andreas Jaeger [Wed, 31 May 2000 12:00:45 +0000 (12:00 +0000)]
* sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.

24 years ago(__old_glob): Loose __P.
Ulrich Drepper [Tue, 30 May 2000 23:44:42 +0000 (23:44 +0000)]
(__old_glob): Loose __P.

24 years ago * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
Andreas Jaeger [Tue, 30 May 2000 12:50:17 +0000 (12:50 +0000)]
* 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.

24 years ago(compare_and_swap): Return result.
Ulrich Drepper [Mon, 29 May 2000 00:59:18 +0000 (00:59 +0000)]
(compare_and_swap): Return result.

24 years ago * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
Andreas Jaeger [Sat, 27 May 2000 16:49:57 +0000 (16:49 +0000)]
    * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
        normal version now.
        * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.

24 years ago * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
Andreas Jaeger [Sat, 27 May 2000 16:49:02 +0000 (16:49 +0000)]
    * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
        normal version now.
        * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.

24 years ago * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
Andreas Jaeger [Fri, 26 May 2000 15:45:57 +0000 (15:45 +0000)]
* 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.

24 years agoLinux/Arm spinlock implementation.
Ulrich Drepper [Thu, 25 May 2000 05:28:08 +0000 (05:28 +0000)]
Linux/Arm spinlock implementation.

24 years ago * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
Andreas Jaeger [Wed, 24 May 2000 16:16:17 +0000 (16:16 +0000)]
* sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
words.

24 years agoRemove K&R support.
Andreas Jaeger [Tue, 23 May 2000 09:07:17 +0000 (09:07 +0000)]
Remove K&R support.

24 years ago Remove K&R support, use ANSI C prototypes.
Andreas Jaeger [Tue, 23 May 2000 08:42:59 +0000 (08:42 +0000)]
 Remove K&R support, use ANSI C prototypes.

24 years ago2000-05-21 Jakub Jelinek <jakub@redhat.com>
Andreas Jaeger [Mon, 22 May 2000 09:25:13 +0000 (09:25 +0000)]
2000-05-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.

24 years ago2000-05-17 Jakub Jelinek <jakub@redhat.com>
Andreas Jaeger [Wed, 17 May 2000 17:18:49 +0000 (17:18 +0000)]
2000-05-17  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
__extension__ to hexadecimal floating constant notation.
* sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
* sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
Likewise.
* sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
* sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
HUGE_VALL): Likewise.
(HUGE_VALL): Set to HUGE_VAL on sparc32.

24 years ago2000-05-13 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sat, 13 May 2000 18:18:03 +0000 (18:18 +0000)]
2000-05-13  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
Linux 2.3.99pre7.
(AF_PPPOX): Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
(AF_PPPOX): Likewise.

24 years ago2000-05-08 Jakub Jelinek <jakub@redhat.com>
Andreas Jaeger [Mon, 8 May 2000 15:40:26 +0000 (15:40 +0000)]
2000-05-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
call to elf_machine_fixup_plt.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.

24 years agoNew file. Use getpagesize syscall if available.
Andreas Schwab [Mon, 8 May 2000 15:01:07 +0000 (15:01 +0000)]
New file.  Use getpagesize syscall if available.

24 years agoMoved to sysdeps/unix/sysv/linux/powerpc/aix.
Ulrich Drepper [Fri, 5 May 2000 19:54:08 +0000 (19:54 +0000)]
Moved to sysdeps/unix/sysv/linux/powerpc/aix.

24 years ago(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.
Ulrich Drepper [Fri, 5 May 2000 07:12:09 +0000 (07:12 +0000)]
(elf_machine_fixup_plt): Change return valuie to lookup_t and return the value.

24 years agoLinux dirent structure definition.
Ulrich Drepper [Mon, 1 May 2000 23:43:43 +0000 (23:43 +0000)]
Linux dirent structure definition.

24 years agoFunctions to convert AIX dirent structure to Linux form.
Ulrich Drepper [Mon, 1 May 2000 23:43:22 +0000 (23:43 +0000)]
Functions to convert AIX dirent structure to Linux form.

24 years ago(F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K.
Ulrich Drepper [Sun, 30 Apr 2000 07:12:32 +0000 (07:12 +0000)]
(F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K.

24 years agoNot needed anymore.
Ulrich Drepper [Fri, 28 Apr 2000 05:11:59 +0000 (05:11 +0000)]
Not needed anymore.