Andreas Schwab
f10fa39cc7
* sysdeps/m68k/fpu/fegetexcept.c: New file.
...
* sysdeps/m68k/fpu/fedisblxcpt.c: New file.
* sysdeps/m68k/fpu/feenablxcpt.c: New file.
2000-08-16 15:08:45 +00:00
Ulrich Drepper
eb76534ecc
(__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
...
(alphasort64, readdir64, readdir64_r, scandir64, versionsort64): Likewise.
2000-08-14 17:39:48 +00:00
Ulrich Drepper
8f7d68ab04
(DIRENT_TYPE): Define.
2000-08-14 17:39:31 +00:00
Ulrich Drepper
5b5a4299b4
Define __clockid_t and __timer_t.
2000-08-14 05:23:10 +00:00
Ulrich Drepper
8a632183fb
__clockid_t and __timer_t are now defined in bits/types.h.
2000-08-14 05:22:20 +00:00
Ulrich Drepper
9ff6d9a067
Define thread types also for POSIX95.
2000-08-14 04:50:13 +00:00
Andreas Jaeger
1ce1bc0d3d
(F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
2000-08-12 09:59:40 +00:00
Andreas Jaeger
56cb41faed
* 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.
2000-08-12 09:29:03 +00:00
Ulrich Drepper
206065a117
Linux/Arm implementation of versionsort64.
2000-08-12 08:21:01 +00:00
Ulrich Drepper
7e626298f0
Linux/Arm implementation of scandir64.
2000-08-12 08:20:53 +00:00
Ulrich Drepper
fe8e1d5f91
Linux/Arm implementation of readdir64_r.
2000-08-12 08:20:43 +00:00
Ulrich Drepper
f4e95ada8a
Linux/Arm implementation of readdir64.
2000-08-12 08:20:37 +00:00
Ulrich Drepper
f5d4fa3fe4
Linux/Arm implementation of getdents64.
2000-08-12 08:20:30 +00:00
Ulrich Drepper
adb0bd509b
Linux/Arm implementation of alphasort64.
2000-08-12 08:20:21 +00:00
Ulrich Drepper
7c27fb615e
(__ino64_t): Change to __u_quad_t.
2000-08-12 05:07:57 +00:00
Ulrich Drepper
3579fe4e8a
(__xstat_conv): Remove unused prototype.
2000-08-12 04:48:40 +00:00
Ulrich Drepper
a510d2b69c
Linux/Alpha getdents64 implementation.
2000-08-12 04:48:27 +00:00
Ulrich Drepper
b2db50fd18
Linux/Alpha egtdents implementation.
2000-08-12 04:48:19 +00:00
Andreas Jaeger
2489c7f179
Synch struct stat64 and stat with current MIPS kernel.
2000-08-10 12:39:48 +00:00
Ulrich Drepper
031a1712e4
Include kernel-features.h.
2000-08-10 04:21:28 +00:00
Ulrich Drepper
d4e2464608
Add _test_and_set.c.
2000-08-02 22:41:58 +00:00
Ulrich Drepper
8efcd38cde
Undo last change.
2000-08-02 15:27:16 +00:00
Ulrich Drepper
305f4d2cd1
[subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
2000-08-01 19:11:07 +00:00
Ulrich Drepper
55fc2728f5
Add oldgetrlimit, oldsetrlimit for GLIBC_2.0.
2000-08-01 19:10:53 +00:00
Andreas Jaeger
156a8cfcd4
* sysdeps/unix/sysv/linux/mips/bits/sigstack.h: New file. On MIPS
...
the order of struct sigaltstack members is different.
2000-07-31 08:19:13 +00:00
Ulrich Drepper
69a935560b
fcntl.h definitions for Linux/Arm.
2000-07-30 16:07:40 +00:00
Ulrich Drepper
a27fd4306a
(fix_bad_pc24): New function.
...
(elf_machine_rel): Use it for out-of-range PC24 relocs.
2000-07-29 19:32:27 +00:00
Ulrich Drepper
63ac74aa94
(PSEUDO_RET): New macro.
...
(ret): Redefine to PSEUDO_RET.
(PSEUDO): Remove jump to syscall_error.
2000-07-29 18:03:21 +00:00
Greg McGary
e6bd4dbf3a
* 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'.
2000-07-29 08:09:56 +00:00
Andreas Jaeger
da671ea07a
* 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.
2000-07-28 13:37:26 +00:00
Andreas Jaeger
797c09d821
Rename MSG_URG TO MSG_CONFIRM following kernel 2.4.0 (MSG_URG was never
...
used).
2000-07-27 15:12:23 +00:00
Greg McGary
1e43162758
* 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.
2000-07-27 06:13:09 +00:00
Greg McGary
ca67152c2a
* 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.
2000-07-26 18:21:15 +00:00
Andreas Jaeger
c52761c183
* sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Stringify using
...
__STRING(entry) and not #entry.
(_RTLD_EPILOGUE): Likewise.
* sysdeps/mips/mips64/dl-machine.h: Likewise.
2000-07-25 10:32:02 +00:00
Andreas Schwab
b297c341de
Remove mmap64 alias.
2000-07-24 13:33:15 +00:00
Ulrich Drepper
f8bc20d3fa
Define RTLD_NOLOAD and RTLD_NODELETE.
2000-07-20 22:52:53 +00:00
Andreas Jaeger
4ce0ef7a86
(elf_machine_rela): Pass 0 instead of NULL to elf_machine_fixup_plt
...
t argument to silence GCC.
2000-07-18 14:14:51 +00:00
Andreas Jaeger
f37f52a546
Fix copy & error in weak_alias.
2000-07-18 08:40:57 +00:00
Greg McGary
23e6128c4e
* 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.
2000-07-17 22:36:16 +00:00
Greg McGary
84b5ff5c97
* 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
2000-07-17 22:28:59 +00:00
Andreas Jaeger
8af6401387
Add libgcc frame handling functions.
2000-07-13 11:46:49 +00:00
Andreas Jaeger
cc5d8c397b
* 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.
2000-07-10 16:23:37 +00:00
Andreas Jaeger
74cb5b6093
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.
2000-07-10 13:51:45 +00:00
Greg McGary
e3d6c5810b
* 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.
2000-07-07 02:19:05 +00:00
Ulrich Drepper
71005584b8
Add __libc_sigaction.
2000-07-07 00:47:05 +00:00
Greg McGary
6f5d6cb60d
* 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.
2000-07-06 23:42:33 +00:00
Greg McGary
573d31d4d3
* 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.
2000-07-06 00:48:39 +00:00
Andreas Jaeger
6964aca34a
Fix type of fpu_control_t.
...
(_FPU_GETCW): Remove extra colon.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-07-05 15:37:11 +00:00
Ulrich Drepper
22fb102e6b
(elf_machine_rela) [r_type == R_ALPHA_REFQUAD]: Use memcpy to load and
...
store value from relocation address to prevent unaligned trap.
2000-07-01 05:08:03 +00:00
Andreas Schwab
7228f3cac1
Replace arg-count with signatures.
2000-06-23 11:09:25 +00:00