Commit Graph

2203 Commits

Author SHA1 Message Date
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
Andreas Jaeger
e4586ea96c * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
SYS_mincore, SYS_madvise): Added.
2000-06-23 07:55:36 +00:00
Andreas Jaeger
d0371ae0a3 Fix signature of execve. 2000-06-23 06:26:24 +00:00
Andreas Jaeger
b63d27b615 Replace arg-count with signatures. 2000-06-22 21:12:27 +00:00
Ulrich Drepper
afda99352c Define __S_TYPEISMQ, __S_TYPEISSEM, and __S_TYPEISSHM. 2000-06-22 17:58:17 +00:00
Andreas Jaeger
52783ef8b6 Fix one more typoe for sysctl. 2000-06-22 13:50:01 +00:00
Andreas Jaeger
41c427da07 Fix sysctl entry. 2000-06-22 13:38:05 +00:00
Andreas Jaeger
0a725b6114 Deltas for math test suite on MIPS 2000-06-20 14:16:21 +00:00
Andreas Jaeger
d9560fca3d * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
first.

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

	* sysdeps/mips/fpu/fraiseexcpt.c: New file.
2000-06-20 13:05:21 +00:00
Ulrich Drepper
c92d72a8fe Include <sysdeps/generic/memusage.h>. 2000-06-20 06:33:57 +00:00
Ulrich Drepper
949eb60694 Macro to allow memory usage tracking. 2000-06-20 06:29:45 +00:00
Ulrich Drepper
3f56045a39 Renamed to memusage.h. 2000-06-20 06:29:15 +00:00
Andreas Jaeger
feaff18976 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
2000-06-18 17:20:01 +00:00
Ulrich Drepper
0d1cec93d5 Define LINUX_LINK_MAX. 2000-06-18 05:21:59 +00:00
Ulrich Drepper
821954bf6c Define LINK_MAX. 2000-06-18 05:19:19 +00:00
Ulrich Drepper
91f51e028b Add libgcc frame handling functions here. 2000-06-15 06:59:07 +00:00
Andreas Jaeger
49e1806ccb * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
entry point.
	Reported by Jim Pick <jim@jimpick.com>.
2000-06-14 13:13:58 +00:00
Ulrich Drepper
a759aecd6b Additional files to distribute for AIX. 2000-06-14 00:44:54 +00:00
Ulrich Drepper
91931049ec Add oldgetrlimit64.c. 2000-06-14 00:32:09 +00:00
Andreas Jaeger
66268e64b9 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
Patch by Ralf Baechle <ralf@gnu.org>.
2000-06-13 14:33:22 +00:00
Ulrich Drepper
959c224a4a DT_THISPROCNUM definition for MIPS. 2000-06-08 04:48:05 +00:00
Ulrich Drepper
d3d5b656c5 (__fdimf): Only declare if __USE_ISOC99.
(fdimf, __fdim, fdim): Likewise.
2000-06-07 16:53:09 +00:00
Greg McGary
fa39016a27 * sysdeps/mips/elf/start.S: Trim redundant code. 2000-06-07 00:30:05 +00:00
Ulrich Drepper
eb29107be8 Add __THROW to all inlines to match prototypes in mathcalls.h. 2000-06-04 16:10:51 +00:00
Andreas Jaeger
c3b737cb0d * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-06-02 13:10:38 +00:00
Andreas Jaeger
ba747ea161 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
gregset_t.

	* sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2000-05-31 12:03:35 +00:00
Andreas Jaeger
6d5a02529d * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
syscall.
	* sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2000-05-31 12:00:45 +00:00
Ulrich Drepper
f41d856feb (__old_glob): Loose __P. 2000-05-30 23:44:42 +00:00
Andreas Jaeger
245061db80 * 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.
2000-05-30 12:50:17 +00:00
Ulrich Drepper
a07cbd1894 (compare_and_swap): Return result. 2000-05-29 00:59:18 +00:00
Andreas Jaeger
dae4f11aac * sysdeps/unix/sysv/linux/arm/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2000-05-27 16:49:57 +00:00
Andreas Jaeger
00842512db * sysdeps/unix/sysv/linux/mips/pread.c: Removed, we can use the
normal version now.
        * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2000-05-27 16:49:02 +00:00
Andreas Jaeger
cd60509b8f * 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.
2000-05-26 15:45:57 +00:00
Ulrich Drepper
438c135094 Linux/Arm spinlock implementation. 2000-05-25 05:28:08 +00:00
Andreas Jaeger
4decd16ab5 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
words.
2000-05-24 16:16:17 +00:00
Andreas Jaeger
cf0d650794 Remove K&R support. 2000-05-23 09:07:17 +00:00
Andreas Jaeger
d41b66ce6a Remove K&R support, use ANSI C prototypes. 2000-05-23 08:42:59 +00:00
Andreas Jaeger
e4a8c0f332 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.
2000-05-22 09:25:13 +00:00
Andreas Jaeger
5d1aa2e61b 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.
2000-05-17 17:18:49 +00:00
Andreas Jaeger
3a1e20c64a 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.
2000-05-13 18:18:03 +00:00
Andreas Jaeger
21dd216cd4 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.
2000-05-08 15:40:26 +00:00
Andreas Schwab
bb0607a2aa New file. Use getpagesize syscall if available. 2000-05-08 15:01:07 +00:00
Ulrich Drepper
102e7428d3 Moved to sysdeps/unix/sysv/linux/powerpc/aix. 2000-05-05 19:54:08 +00:00
Ulrich Drepper
408c9db5d3 (elf_machine_fixup_plt): Change return valuie to lookup_t and return the value. 2000-05-05 07:12:09 +00:00
Ulrich Drepper
e72c26d751 Linux dirent structure definition. 2000-05-01 23:43:43 +00:00
Ulrich Drepper
4ca971409e Functions to convert AIX dirent structure to Linux form. 2000-05-01 23:43:22 +00:00
Ulrich Drepper
37dca96f1c (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. 2000-04-30 07:12:32 +00:00
Ulrich Drepper
db7f627b6e Not needed anymore. 2000-04-28 05:11:59 +00:00
Ulrich Drepper
b9a57ab615 (_dl_start_user): Fix the _dl_skip_args handling. 2000-04-28 03:25:46 +00:00
Ulrich Drepper
9790568c2b (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. 2000-04-22 06:55:19 +00:00
Ulrich Drepper
64fe7d3c70 (__fstatfs64): Add alias. 2000-04-22 06:55:02 +00:00
Ulrich Drepper
0a5f55b135 Surround uses of $f28 with .set noat/at to shut up warnings. 2000-04-22 06:54:50 +00:00
Ulrich Drepper
fa04216d3b (__syscall_shmctl): Declare. 2000-04-22 06:54:35 +00:00
Ulrich Drepper
b6e679a8ac (__syscall_semctl): Declare. 2000-04-22 06:54:21 +00:00
Ulrich Drepper
bce847003b (__syscall_msgctl): Declare. 2000-04-22 06:54:09 +00:00
Andreas Jaeger
8ef0fc0495 2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
2000-04-21 22:03:39 +00:00
Andreas Jaeger
5494bc3a50 2000-04-21 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
	* sysdeps/mips/mips64/add_n.S: Likewise.
	* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
	* sysdeps/mips/mips64/lshift.S: Likewise.
	* sysdeps/mips/mips64/mul_1.S: Likewise.
	* sysdeps/mips/mips64/rshift.S: Likewise.
	* sysdeps/mips/mips64/setjmp.S: Likewise.
	* sysdeps/mips/mips64/sub_n.S: Likewise.
	* sysdeps/mips/mips64/submul_1.S: Likewise.

	* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
	and update comment.  The strtab from _dl_relocate_object can be
	used.
2000-04-21 16:37:58 +00:00
Ulrich Drepper
5714e99571 Fix type of len argument. 2000-04-18 19:43:07 +00:00
Ulrich Drepper
b146f38432 Define ACC_INVOKER. 2000-04-18 19:41:18 +00:00
Ulrich Drepper
e110de6683 Define ID_EFFECTIVE. 2000-04-18 19:38:24 +00:00
Andreas Jaeger
5166e402b8 2000-04-18 Andreas Jaeger <aj@suse.de>
* sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
2000-04-18 18:31:00 +00:00
Ulrich Drepper
46737e2def Don't try to include <sys/id.h>. 2000-04-18 17:56:51 +00:00
Ulrich Drepper
a24525ca53 Fix typo. 2000-04-18 17:54:56 +00:00
Ulrich Drepper
f7bc29f16f Define STX_NORMAL and STX_64. 2000-04-18 17:42:20 +00:00
Ulrich Drepper
19250f4f64 Define STX_NORMAL. 2000-04-18 17:41:57 +00:00
Ulrich Drepper
6f571f1f69 AIX utimes implementation. 2000-04-18 17:41:27 +00:00
Ulrich Drepper
51ce962681 AIX ustat implementation. 2000-04-18 17:40:45 +00:00
Ulrich Drepper
3c6dd57c14 AIX unlink implementation. 2000-04-18 17:40:14 +00:00
Ulrich Drepper
49bfeb5b7b AIX umask implementation. 2000-04-18 17:39:34 +00:00
Ulrich Drepper
42ae56646a AIX ulimit implementation. 2000-04-18 17:38:42 +00:00
Ulrich Drepper
361684a9a2 AIX times implementation. 2000-04-18 17:36:12 +00:00
Ulrich Drepper
79be7d26af AIX tcsetattr implementation. 2000-04-18 17:33:41 +00:00
Ulrich Drepper
bc84839066 AIX tcgetattr implementation. 2000-04-18 17:32:06 +00:00
Ulrich Drepper
2b6e50c981 Define NGROUPS. 2000-04-18 17:26:12 +00:00
Ulrich Drepper
1fcf9f3339 AIX sync implementation. 2000-04-18 17:25:35 +00:00
Ulrich Drepper
be97d53c5e AIX symlink implementation. 2000-04-18 17:24:57 +00:00
Ulrich Drepper
3768742b5c AIX cf[sg]et[io]speed implementations. 2000-04-18 17:23:08 +00:00
Ulrich Drepper
5dfa9a8791 AIX socketpair implementation. 2000-04-18 17:21:56 +00:00
Ulrich Drepper
6d46f52217 AIX socket implementation. 2000-04-18 17:20:43 +00:00
Ulrich Drepper
7960128f5d AIX sgistack implementation. 2000-04-18 17:20:01 +00:00
Ulrich Drepper
8089d978a5 AIX sigaltstack implementation. 2000-04-18 17:19:16 +00:00
Ulrich Drepper
3cac390299 AIX shmget implementation. 2000-04-18 17:18:37 +00:00
Ulrich Drepper
58aea19680 AIX shmdt implementation. 2000-04-18 17:18:00 +00:00
Ulrich Drepper
d117b99008 AIX shmctl implementation. 2000-04-18 17:17:12 +00:00
Ulrich Drepper
8c0364334c AIX shmat implementation. 2000-04-18 17:16:24 +00:00
Ulrich Drepper
b7ed538a9d Define ID_REAL. 2000-04-18 16:17:51 +00:00
Ulrich Drepper
74cb21ae8f AIX setsockopt implementation. 2000-04-18 16:17:20 +00:00
Ulrich Drepper
4d70663df0 AIX setsid implementation. 2000-04-18 16:16:41 +00:00
Ulrich Drepper
2c4f60902a AIX setrlimit64 implementation. 2000-04-18 16:15:59 +00:00
Ulrich Drepper
6376e31c11 AIX setrlimit implementation. 2000-04-18 16:15:14 +00:00
Ulrich Drepper
bb67907d47 Define ID_EFFECTIVE and ID_REAL. 2000-04-18 16:13:05 +00:00
Ulrich Drepper
9cf10be3d4 AIX setpriority implementation. 2000-04-18 16:11:54 +00:00
Ulrich Drepper
9142cbef04 AIX setpgrp implementation. 2000-04-18 16:10:47 +00:00
Ulrich Drepper
f7446ac75b AIX setpgid implementation. 2000-04-18 16:09:37 +00:00
Ulrich Drepper
08d89c57c2 AIX setgroups implementation. 2000-04-18 16:08:31 +00:00
Ulrich Drepper
7d83250b89 Define ID_EFFECTIVE. 2000-04-18 16:07:13 +00:00