Ulrich Drepper [Mon, 2 Oct 2000 22:04:18 +0000 (22:04 +0000)]
Add missing .mips0 at the end of inline assembler code.
Andreas Jaeger [Mon, 2 Oct 2000 08:49:05 +0000 (08:49 +0000)]
Add RLIMIT_LOCKS.
Andreas Jaeger [Mon, 2 Oct 2000 08:47:39 +0000 (08:47 +0000)]
Synch with Linux 2.4.0-test9-pre8.
Ulrich Drepper [Sun, 1 Oct 2000 22:36:00 +0000 (22:36 +0000)]
(RTLD_START): Fix computation of envp argument passed to _dl_init.
Ulrich Drepper [Fri, 29 Sep 2000 22:02:28 +0000 (22:02 +0000)]
Type definitions for nscd on Alpha.
Andreas Jaeger [Fri, 29 Sep 2000 20:24:30 +0000 (20:24 +0000)]
Protect DN_* by __USE_GNU.
Andreas Jaeger [Fri, 29 Sep 2000 19:07:03 +0000 (19:07 +0000)]
Synch with Linux 2.4.0-test9-pre7.
Ulrich Drepper [Fri, 29 Sep 2000 06:50:53 +0000 (06:50 +0000)]
(elf_machine_rela): Handle unaligned relocation also for R_ALPHA_RELATIVE.
Ulrich Drepper [Fri, 29 Sep 2000 01:30:19 +0000 (01:30 +0000)]
Add RLIMIT_LOCKS.
Andreas Schwab [Tue, 26 Sep 2000 17:34:57 +0000 (17:34 +0000)]
Ulps for m68k.
Andreas Jaeger [Fri, 22 Sep 2000 07:35:56 +0000 (07:35 +0000)]
Alpha specific ulps.
Ulrich Drepper [Tue, 19 Sep 2000 00:18:10 +0000 (00:18 +0000)]
Add fpu/fenv_libc.h.
Andreas Jaeger [Mon, 18 Sep 2000 16:40:35 +0000 (16:40 +0000)]
* sysdeps/mips/dl-machine.h (_RTLD_PROLOGUE): Reformat. Declare
as function.
(_RTLD_EPILOGUE): Reformat. Declare size of entry function.
(ELF_MACHINE_BEFORE_RTLD_RELOC): Relocate the dynamic linker itself so
it will even work when not loaded to the standard address.
(RTLD_START): Reformat. Call _dl_start in a way that is safe even
before the dynamic linker itself is relocated.
Andreas Jaeger [Mon, 18 Sep 2000 16:39:45 +0000 (16:39 +0000)]
Add ipc_priv.h.
Andreas Jaeger [Mon, 18 Sep 2000 16:39:27 +0000 (16:39 +0000)]
MIPS specific file. MIPS always had 32 bit uids.
Ulrich Drepper [Mon, 18 Sep 2000 00:28:16 +0000 (00:28 +0000)]
(INLINE_SYSCALL): Fix last patch.
Ulrich Drepper [Sun, 17 Sep 2000 19:54:50 +0000 (19:54 +0000)]
(INLINE_SYSCALL): Fix last patch.
Ulrich Drepper [Sat, 16 Sep 2000 22:59:10 +0000 (22:59 +0000)]
Reorder ieee754 implies so that ldbl-* comes first.
Andreas Jaeger [Fri, 15 Sep 2000 18:15:57 +0000 (18:15 +0000)]
(FE_NOMASK_ENV): Define.
Andreas Jaeger [Fri, 15 Sep 2000 18:15:31 +0000 (18:15 +0000)]
(__fesetenv): Handle FE_NOMASK_ENV.
Ulrich Drepper [Fri, 15 Sep 2000 17:48:53 +0000 (17:48 +0000)]
(INLINE_SYSCALL): Add memory clobber.
Ulrich Drepper [Fri, 15 Sep 2000 17:48:15 +0000 (17:48 +0000)]
(inline_syscall_clobbers): Add memory clobber.
Andreas Jaeger [Fri, 15 Sep 2000 12:57:40 +0000 (12:57 +0000)]
Use fenv_libc.h
Andreas Jaeger [Fri, 15 Sep 2000 12:57:14 +0000 (12:57 +0000)]
New file, common definitions for feenableexcept/fedisableexcept/fegetexcept.
Andreas Jaeger [Fri, 15 Sep 2000 12:24:49 +0000 (12:24 +0000)]
MIPS specific version s of feenableexcept, fedisableexcept, fegetexcept.
Ulrich Drepper [Thu, 14 Sep 2000 01:40:14 +0000 (01:40 +0000)]
(__cmsg_nxthdr): Fix test for no more entries.
Ulrich Drepper [Wed, 13 Sep 2000 21:46:56 +0000 (21:46 +0000)]
(CLOCKS_PER_SEC): Make a long int constant since this is what clock_t is.
Andreas Jaeger [Fri, 8 Sep 2000 08:12:57 +0000 (08:12 +0000)]
* sysdeps/unix/sysv/linux/arm/lockf64.c: New file.
* sysdeps/unix/sysv/linux/arm/fcntl.c: New file.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h
(F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8.
(F_GETLK,F_SETLK,F_SETLKW): Handle __USE_FILE_OFFSET64 correctly.
Andreas Jaeger [Thu, 7 Sep 2000 15:44:36 +0000 (15:44 +0000)]
Fix last checkin.
Andreas Jaeger [Thu, 7 Sep 2000 15:44:15 +0000 (15:44 +0000)]
Linux/MIPS specific lockf64 version.
Andreas Jaeger [Thu, 7 Sep 2000 14:53:05 +0000 (14:53 +0000)]
* sysdeps/mips/dl-machine.h (RESOLVE_GOTSYM): Fix calls to
dl_lookup.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise.
Andreas Jaeger [Thu, 7 Sep 2000 14:51:43 +0000 (14:51 +0000)]
Add __syscall_fcntl.
Andreas Jaeger [Thu, 7 Sep 2000 11:56:20 +0000 (11:56 +0000)]
fcntl/fcntl64 for Linux/MIPS.
Andreas Jaeger [Thu, 7 Sep 2000 08:17:25 +0000 (08:17 +0000)]
Add getdents64.
Andreas Jaeger [Thu, 7 Sep 2000 08:17:04 +0000 (08:17 +0000)]
(SYS_getdents64): New.
(SYS_fcntl64): New.
Andreas Jaeger [Wed, 6 Sep 2000 10:52:05 +0000 (10:52 +0000)]
New file with soft-fp specific files.
Andreas Jaeger [Wed, 6 Sep 2000 08:21:55 +0000 (08:21 +0000)]
[$(subdir) = misc]: Use sysdep_headers instead of headers for make dist.
Andreas Jaeger [Tue, 5 Sep 2000 19:33:23 +0000 (19:33 +0000)]
Follow changes for <bits/stat.h>
Andreas Jaeger [Tue, 5 Sep 2000 19:33:13 +0000 (19:33 +0000)]
Use st_pad5.
Andreas Schwab [Tue, 5 Sep 2000 15:17:27 +0000 (15:17 +0000)]
New file.
Andreas Jaeger [Tue, 5 Sep 2000 08:41:37 +0000 (08:41 +0000)]
Moved from soft-fp/sysdeps/mips/sfp-machine.h.
Andreas Jaeger [Tue, 5 Sep 2000 08:40:54 +0000 (08:40 +0000)]
Moved from soft-fp/sysdeps/alpha/sfp-machine.h.
Andreas Jaeger [Tue, 5 Sep 2000 08:37:09 +0000 (08:37 +0000)]
Moved from soft-fp/sysdeps/mips/mips64/sfp-machine.h
Andreas Jaeger [Sat, 2 Sep 2000 15:03:41 +0000 (15:03 +0000)]
Fixes for fcntl64.
Ulrich Drepper [Fri, 1 Sep 2000 06:57:40 +0000 (06:57 +0000)]
(FP_ILOGB0): Use values which don't produce warnings.
Ulrich Drepper [Fri, 1 Sep 2000 06:32:15 +0000 (06:32 +0000)]
Make FP_ILOGB0 and FP_ILOGBNAN int values.
Ulrich Drepper [Fri, 1 Sep 2000 04:41:12 +0000 (04:41 +0000)]
Change type of FE_*_ENV macros to const fenv_t*.
Ulrich Drepper [Sun, 27 Aug 2000 01:01:17 +0000 (01:01 +0000)]
[$(subdir)==resource] (sysdep_routines): Add oldgetrlimit64.
Ulrich Drepper [Thu, 24 Aug 2000 07:39:29 +0000 (07:39 +0000)]
Add fpu/fenv_libc.h.
Andreas Jaeger [Wed, 23 Aug 2000 06:54:33 +0000 (06:54 +0000)]
Use __setrlimit as strong name.
Ulrich Drepper [Tue, 22 Aug 2000 09:08:48 +0000 (09:08 +0000)]
(sysctl): Remove.
Ulrich Drepper [Sat, 19 Aug 2000 16:38:21 +0000 (16:38 +0000)]
Not needed anymore.
Ulrich Drepper [Sat, 19 Aug 2000 16:37:40 +0000 (16:37 +0000)]
Only use for non-LFS getdents.
Ulrich Drepper [Sat, 19 Aug 2000 16:14:56 +0000 (16:14 +0000)]
Linux/Arm version of glob64.
Ulrich Drepper [Sat, 19 Aug 2000 16:14:18 +0000 (16:14 +0000)]
Add glob64@@GLIBC_2.2.
Ulrich Drepper [Sat, 19 Aug 2000 16:07:53 +0000 (16:07 +0000)]
(FE_DENORMAL): New.
(FE_MAP_DMZ, FE_MAP_UMZ, FE_NONIEEE_ENV): New.
Ulrich Drepper [Sat, 19 Aug 2000 16:07:37 +0000 (16:07 +0000)]
Use <fenv_libc.h>.
Ulrich Drepper [Sat, 19 Aug 2000 16:06:09 +0000 (16:06 +0000)]
fenv definitions for Linux/Alpha.
Andreas Jaeger [Fri, 18 Aug 2000 06:11:11 +0000 (06:11 +0000)]
Add pads to show alignment for structs stat and stat64.
Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Ulrich Drepper [Fri, 18 Aug 2000 00:09:47 +0000 (00:09 +0000)]
Remove special d_ino handling.
Ulrich Drepper [Thu, 17 Aug 2000 18:46:15 +0000 (18:46 +0000)]
Alpha fedisableexcept implementaton.
Ulrich Drepper [Thu, 17 Aug 2000 18:45:58 +0000 (18:45 +0000)]
Alpha feenableexcept implementation.
Ulrich Drepper [Thu, 17 Aug 2000 18:45:35 +0000 (18:45 +0000)]
Apha fegetexcept implementation.
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.
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.
Ulrich Drepper [Mon, 14 Aug 2000 17:39:31 +0000 (17:39 +0000)]
(DIRENT_TYPE): Define.
Ulrich Drepper [Mon, 14 Aug 2000 05:23:10 +0000 (05:23 +0000)]
Define __clockid_t and __timer_t.
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.
Ulrich Drepper [Mon, 14 Aug 2000 04:50:13 +0000 (04:50 +0000)]
Define thread types also for POSIX95.
Andreas Jaeger [Sat, 12 Aug 2000 09:59:40 +0000 (09:59 +0000)]
(F_GETLK64, F_SETLK64, F_SETLKW64): Define with F_GETLK etc.
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.
Ulrich Drepper [Sat, 12 Aug 2000 08:21:01 +0000 (08:21 +0000)]
Linux/Arm implementation of versionsort64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:53 +0000 (08:20 +0000)]
Linux/Arm implementation of scandir64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:43 +0000 (08:20 +0000)]
Linux/Arm implementation of readdir64_r.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:37 +0000 (08:20 +0000)]
Linux/Arm implementation of readdir64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:30 +0000 (08:20 +0000)]
Linux/Arm implementation of getdents64.
Ulrich Drepper [Sat, 12 Aug 2000 08:20:21 +0000 (08:20 +0000)]
Linux/Arm implementation of alphasort64.
Ulrich Drepper [Sat, 12 Aug 2000 05:07:57 +0000 (05:07 +0000)]
(__ino64_t): Change to __u_quad_t.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:40 +0000 (04:48 +0000)]
(__xstat_conv): Remove unused prototype.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:27 +0000 (04:48 +0000)]
Linux/Alpha getdents64 implementation.
Ulrich Drepper [Sat, 12 Aug 2000 04:48:19 +0000 (04:48 +0000)]
Linux/Alpha egtdents implementation.
Andreas Jaeger [Thu, 10 Aug 2000 12:39:48 +0000 (12:39 +0000)]
Synch struct stat64 and stat with current MIPS kernel.
Ulrich Drepper [Thu, 10 Aug 2000 04:21:28 +0000 (04:21 +0000)]
Include kernel-features.h.
Ulrich Drepper [Wed, 2 Aug 2000 22:41:58 +0000 (22:41 +0000)]
Add _test_and_set.c.
Ulrich Drepper [Wed, 2 Aug 2000 15:27:16 +0000 (15:27 +0000)]
Undo last change.
Ulrich Drepper [Tue, 1 Aug 2000 19:11:07 +0000 (19:11 +0000)]
[subdir=resource] (sysdep_routines): Add oldgetrlimit, oldsetrlimit.
Ulrich Drepper [Tue, 1 Aug 2000 19:10:53 +0000 (19:10 +0000)]
Add oldgetrlimit, oldsetrlimit for GLIBC_2.0.
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.
Ulrich Drepper [Sun, 30 Jul 2000 16:07:40 +0000 (16:07 +0000)]
fcntl.h definitions for Linux/Arm.
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.
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.
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'.
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.
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).
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.
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.
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.
Andreas Schwab [Mon, 24 Jul 2000 13:33:15 +0000 (13:33 +0000)]
Remove mmap64 alias.
Ulrich Drepper [Thu, 20 Jul 2000 22:52:53 +0000 (22:52 +0000)]
Define RTLD_NOLOAD and RTLD_NODELETE.
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.