Commit Graph

310 Commits

Author SHA1 Message Date
Ulrich Drepper
1dc5a942c9 Kill __syscall* bits. 1998-10-31 23:38:23 +00:00
Ulrich Drepper
26ecf6a886 (INLINE_SYSCALL): New. 1998-10-31 23:38:09 +00:00
Ulrich Drepper
9dda87abb5 (__FDS_BITS): New macro to access fds_bits member. 1998-10-28 14:41:28 +00:00
Ulrich Drepper
ad427949d1 Include bits/pthreadtypes.h only not for POSIX 199506. 1998-10-26 15:43:18 +00:00
Ulrich Drepper
04cfab5065 Rename __syscall_pwrite64 to __syscall_pwrite. 1998-10-26 11:09:12 +00:00
Ulrich Drepper
b227d2e7eb (__fd_set): Define element as fds_bits only is __USE_XOPEN. Otherwise
use __fds_bits.
1998-10-25 09:10:44 +00:00
Ulrich Drepper
0b78da0365 (timeval): Protect with __need_timeval. 1998-10-25 09:09:44 +00:00
Ulrich Drepper
e1a011e731 (LOCK_SH, LOCK_EX, LOCK_NB, LOCK_UN): Protect with __USE_BSD. 1998-10-25 09:09:29 +00:00
Ulrich Drepper
ec86258b00 (__pathconf): Use path as first argument to statfs. 1998-10-24 10:59:25 +00:00
Ulrich Drepper
47754990f4 (O_NOFOLLOW): New macro. 1998-10-23 23:24:00 +00:00
Ulrich Drepper
d8f1bea433 Remove duplicate ustat definition. 1998-10-23 14:00:35 +00:00
Ulrich Drepper
3e79e19491 Handle _PC_LINK_MAX here. 1998-10-23 13:41:33 +00:00
Ulrich Drepper
5e9b4624ad [subdir=signal] (sysdep_routines): Add various rt_* functions. 1998-10-21 15:40:22 +00:00
Ulrich Drepper
1d40317e33 Add various __syscall_* definitions. 1998-10-21 15:28:22 +00:00
Ulrich Drepper
c220db51b0 Add O_DIRECTORY. 1998-10-16 16:29:19 +00:00
Ulrich Drepper
edb87b12b3 Remove __kernel_termios again. Use char[44] to define size of the struct. 1998-10-15 09:21:29 +00:00
Ulrich Drepper
a7077ca4f2 Include termios.h to have all types defined. 1998-10-15 07:50:31 +00:00
Ulrich Drepper
fa03e7a0eb Define __kernel_termios here instead of including kernel_termios.h. 1998-10-14 12:59:04 +00:00
Ulrich Drepper
f3afb0fffa (inline_outb): Fix output parameter format string.
(inline_outw): Likewise.
1998-10-13 16:25:31 +00:00
Ulrich Drepper
9230582571 (CFLAGS-ioperm.c): New variable to prevent warnings from use of modern CPU
instructions.
1998-10-12 12:56:56 +00:00
Ulrich Drepper
a8d236a8b7 (platform): Add missing Ruffian entry. 1998-10-08 13:09:39 +00:00
Ulrich Drepper
4fbbde2934 List Ruffian in platforms[]. 1998-09-29 22:41:48 +00:00
Ulrich Drepper
f65fc5cb2d Don't mention bits/mman.h. 1998-09-23 16:37:13 +00:00
Ulrich Drepper
b720449067 (SA_ONSTACK): Define. 1998-09-22 12:44:47 +00:00
Ulrich Drepper
1af688f19c Define O_DIRECT.
Correct comment for O_LARGEFILE.
1998-08-26 00:06:05 +00:00
Richard Henderson
d0c425dbc5 * sysdeps/unix/sysv/linux/alpha/brk.S: Use jmp macro for relaxation.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1998-08-23 04:08:55 +00:00
Richard Henderson
06f351fa61 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix .prologue;
non-standard pv usage.
1998-08-23 04:07:48 +00:00
Ulrich Drepper
33a6c3dded Generated from configure.in. 1998-08-21 22:29:47 +00:00
Ulrich Drepper
619385e232 New file, contains test for recent Linux 2.1.100+ headers. 1998-08-21 22:29:33 +00:00
Ulrich Drepper
29f4d62f47 Remove O_READ and O_WRITE. 1998-08-20 17:36:51 +00:00
Ulrich Drepper
8e7410c350 (recvmsg, sendmsg): Update aliases for cancelation. 1998-08-12 17:06:17 +00:00
Ulrich Drepper
708e91e6e2 Undef glob*64 before playing with symbol versions. 1998-08-12 17:06:03 +00:00
Ulrich Drepper
b9fd2790b9 Empty file. We already have a glob64 implementation. 1998-08-10 15:54:05 +00:00
Ulrich Drepper
8ef5e9065c Add glob64 as a weak alias for __new_glob. Likewise for globfree64. 1998-08-10 15:53:42 +00:00
Ulrich Drepper
197b1bfd03 Don't define CLK_TCK for strictly ISO C compliant programs. 1998-07-30 12:45:33 +00:00
Ulrich Drepper
54cdfc81d5 Also define __getrusage. 1998-07-22 16:53:40 +00:00
Ulrich Drepper
bb3ebfdb47 Define __intptr_t. 1998-07-08 22:52:22 +00:00
Ulrich Drepper
668a0ed59b Handle Linux/Alpha specific cases. 1998-07-08 22:45:07 +00:00
Ulrich Drepper
1b99d03e6a Define __syscall_recvmsg and __syscall_sendmsg. 1998-07-05 15:22:20 +00:00
Ulrich Drepper
22bf6f3448 File name for sendmsg and recvmsg syscalls is __ protected. 1998-07-05 14:45:16 +00:00
Ulrich Drepper
1b1f0c36e3 Version definitions. 1998-07-02 22:33:35 +00:00
Ulrich Drepper
2e28d2fb79 Define size_t. 1998-06-30 12:07:42 +00:00
Ulrich Drepper
6cc7c3b3c0 Include pthreadtypes.h. 1998-06-30 12:02:24 +00:00
Ulrich Drepper
11c1d87fd2 Add sigstack here. 1998-06-18 21:49:26 +00:00
Ulrich Drepper
1037e1f40a Include sys/types.h before glob.h. 1998-06-17 17:59:03 +00:00
Ulrich Drepper
a3a2cb21be Include glob.h before defining prototypes. 1998-06-17 10:17:53 +00:00
Ulrich Drepper
bb71df5f5f Add prototypes for the __new_* functions. 1998-06-15 11:03:50 +00:00
Ulrich Drepper
7d3d725cc6 Definitions for sigstack functions. 1998-06-10 10:58:58 +00:00
Ulrich Drepper
e0ebc3b2ef Use __ASSEMBLER__ test macro not ASSEMBLER. 1998-05-29 10:20:59 +00:00
Richard Henderson
bde3fab6ee * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
directly instead of include_next.  Add missing semicolons.
        * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
        Add missing semicolons.
1998-05-21 01:18:56 +00:00
Ulrich Drepper
59f4b0c86c Wrapper around current code to convert from and back to old glob_t format. 1998-05-12 12:20:54 +00:00
Ulrich Drepper
cab5b83e4d Wrapper around generic code to add version information. 1998-05-12 12:20:27 +00:00
Ulrich Drepper
5df1e78b29 Compile oldglob in posix subdir. 1998-05-12 12:20:06 +00:00
Ulrich Drepper
7214b180b3 Add oldglob.c. 1998-05-12 12:19:53 +00:00
Richard Henderson
50a430afa2 Don't mark pread and pwrite as EXTRA. 1998-05-11 11:05:13 +00:00
Richard Henderson
423363a172 (sysdep_routines): Remove statfs and fstatfs. 1998-05-11 11:04:27 +00:00
Ulrich Drepper
b13ae75e55 Add SIGCLD definition. 1998-04-29 16:05:50 +00:00
Ulrich Drepper
68f722de86 (ftruncate): Make __ftruncate the strong symbol, and add weak alias. 1998-04-24 15:29:55 +00:00
Ulrich Drepper
c79c90357e Add __lseek64 alias for __llseek. 1998-04-08 07:10:11 +00:00
Ulrich Drepper
161756fe4f Wrapper for adjtimex syscall. 1998-03-31 23:12:58 +00:00
Ulrich Drepper
3117030c12 (sysdep_routines): Add adjtimex. 1998-03-31 23:11:52 +00:00
Ulrich Drepper
c4f60035d5 (socket): Added. 1998-03-29 17:01:51 +00:00
Ulrich Drepper
59ff3eca16 (__readdir64): New strong alias. 1998-03-29 17:01:42 +00:00
Ulrich Drepper
4c0a65f62f Add sizes.h. 1998-03-25 15:53:22 +00:00
Ulrich Drepper
be07ac90bc Correct typo. 1998-03-12 09:18:49 +00:00
Richard Henderson
ee0671d1a1 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
* sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
        osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
        osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
1998-03-01 10:53:22 +00:00
Richard Henderson
9ba8164eb6 * shlib-versions: Match alpha*.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
        * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
        Implement copysign* with and without __ prefix.
        Likewise for fabs; use builtin for gcc 2.8.
        (floor*): New.
        (fdim*): New.
        * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
        (R_SPARC*): Match current v9 ABI.
        * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
        * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
        * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
        * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
        * sysdeps/generic/getresgid.c: Use prototype form because of warning.
        * sysdeps/unix/sysv/linux/getdents.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
        * sysdeps/unix/grantpt.c (argv): Fix consts.
        * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
        * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1998-03-01 00:56:41 +00:00
Ulrich Drepper
f0b71999ee (_NSIG): Changed to 64. 1998-02-26 17:16:51 +00:00
Ulrich Drepper
edc43054d4 Make versioned symbols only for shared library.
Fix ENOSYS branch.
1998-02-26 17:16:26 +00:00
Ulrich Drepper
23713ff9db Code to handle compatibility of syscall for adjtimex interface. 1998-02-26 17:15:43 +00:00
Ulrich Drepper
d958c12167 Code to handle compatibility of syscall for adjtime interface. 1998-02-26 17:15:38 +00:00
Ulrich Drepper
0f04509d00 (sysdep_routines): Added adjtimex and old_adjtimex. 1998-02-26 17:14:58 +00:00
Ulrich Drepper
0c70eb4af3 (struct kernel_sigaction): Define. 1998-02-24 15:22:07 +00:00
Ulrich Drepper
09e8bdd3cd (rt_sigreturn): Make compatible with older kernels. 1998-02-17 15:26:57 +00:00
Ulrich Drepper
d7d1f4badd (_ioperm): Map all ports starting from 0 not only from `from'. 1998-02-16 18:13:11 +00:00
Ulrich Drepper
4fba2352f8 Pointer sizes. 1998-02-12 18:22:18 +00:00
Ulrich Drepper
e1f251a3ae Add getres[ug]id. 1998-02-10 20:05:38 +00:00
Richard Henderson
73bc81179e * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
* sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
Follow POSIX and make tv_sec a time_t.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
new tv64 syscall as well as fall back to tv32.
* sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
1998-02-04 10:17:52 +00:00
Ulrich Drepper
6534c4544b Add rt_sigaction.S. 1998-02-01 13:13:23 +00:00
Ulrich Drepper
cbb1b7f55c Add net/route.h. 1998-01-30 11:37:34 +00:00
Richard Henderson
651f8ea8fc * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
unimplemented OSF/1 definitions so that they are not accidentally seen.
1998-01-26 22:52:51 +00:00
Richard Henderson
18a702a8a3 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
of the trampoline function into the macro.
* sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
kernel 2.1.82 has this fixed.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
* sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
1998-01-26 22:04:53 +00:00
Ulrich Drepper
3b56dfe148 Add change to support sigaction on kernels > 2.1.7x. 1998-01-25 19:12:46 +00:00
Ulrich Drepper
649d6c334b Define _STATBUF_ST_RDEV. 1998-01-25 17:00:01 +00:00
Ulrich Drepper
cdf0977855 Define SIG_HOLD. 1998-01-25 16:55:24 +00:00
Ulrich Drepper
92ce4393c9 Add definition of __t_scalar_t and __t_uscalar_t. 1998-01-25 16:49:50 +00:00
Ulrich Drepper
909a2333c7 Define the cancelable socket functions as __libc_xxx with __xxx as
weak alias.
1998-01-21 17:03:32 +00:00
Ulrich Drepper
18199b1e50 Add __mmap64 and mmap64 aliases to mmap. 1997-12-28 15:24:24 +00:00
Ulrich Drepper
7a114d161c Empty file since mmap == mmap64. 1997-12-28 15:23:32 +00:00
Ulrich Drepper
91c6e1837b Replace sa_handler with k_sa_handler. 1997-12-28 15:22:52 +00:00
Ulrich Drepper
fa6e5ab44c Linux/Alpha specific route.h 1997-12-25 12:14:08 +00:00
Ulrich Drepper
ceb64ad89a Define __ipc_pid_t. 1997-12-22 20:21:44 +00:00
Ulrich Drepper
14bb1c1b08 LFS support. 1997-12-22 20:20:47 +00:00
Ulrich Drepper
77d5a2df47 Add xxx64 alias for fstatfs, statfs, getrlimit, setrlimit, ftruncate
and truncate.
1997-12-22 20:20:09 +00:00
Ulrich Drepper
2988b6bbfb Really make egcs support. 1997-12-22 20:19:45 +00:00
Ulrich Drepper
8dd9b4bddd Define __id_t.
Correct definition of __FDMASK.
1997-12-14 22:19:40 +00:00
Ulrich Drepper
94b8f61643 Define as old_kernel_sigaction. 1997-12-14 22:19:05 +00:00
Ulrich Drepper
7e89694bc0 Define syscall as __llseek and make llseek and lseek64 weak aliases. 1997-12-01 17:12:23 +00:00
Ulrich Drepper
d2d68a74d0 Include <termios.h> not <bits/termios.h>. 1997-12-01 17:12:09 +00:00
Ulrich Drepper
905714080f Issue error message if the header is used directly. 1997-11-26 04:14:44 +00:00
Ulrich Drepper
2645f7aaad Use struct assignment instead of memcpy to let the compiler use
whatever it regards as optimal.
1997-11-11 23:54:33 +00:00
Ulrich Drepper
575e2908df Add newline 1997-10-31 23:13:26 +00:00
Ulrich Drepper
6c43790ef6 Add __ino64_t, and __off64_t. Reorganize. 1997-10-31 22:52:56 +00:00
Ulrich Drepper
def4a5f0c3 Define _STAT_VER_KERNEL. 1997-10-31 22:52:42 +00:00
Ulrich Drepper
c573a9c69c (struct dirent): For consistency, force d_ino to use ino_t and
supply padding.
1997-10-31 22:52:34 +00:00
Ulrich Drepper
ee6f798644 Add struct glibc2_stat for backward compatibility. Define
XSTAT_IS_XSTAT64.
1997-10-31 22:52:16 +00:00
Ulrich Drepper
5276568158 Empty file. 1997-10-31 22:51:57 +00:00
Ulrich Drepper
0d230eb77c Add xstatconv.c. 1997-10-31 22:51:31 +00:00
Ulrich Drepper
05da9c9f2e Convert between kernel_stat and the userland version indicated. 1997-10-31 22:51:10 +00:00
Ulrich Drepper
a1bee79921 Add pread and pwrite with weak aliases for *64 functions. 1997-10-26 20:06:34 +00:00
Ulrich Drepper
9cf9670ffb New empty file. 1997-10-26 20:06:09 +00:00
Ulrich Drepper
3abeec50c6 Add stat LFS extensions. 1997-10-06 02:24:05 +00:00
Ulrich Drepper
b64c790011 Add flock LFS extensions. 1997-10-06 02:19:29 +00:00
Ulrich Drepper
f059549514 Define LFS types. 1997-10-06 02:15:04 +00:00
Ulrich Drepper
cfe3af132c Linux/Alpha specific dirent definitions. 1997-10-06 02:12:31 +00:00
Ulrich Drepper
17cf8c5c98 Correct comment for SA_RESTART. 1997-08-14 01:53:36 +00:00
Ulrich Drepper
c1dcd33f63 Add some files. 1997-08-10 18:29:45 +00:00
Ulrich Drepper
177c2e9a31 New file. Prevent using kernel header. 1997-08-10 17:58:48 +00:00
Ulrich Drepper
25fd8251b3 Rename sys/kernel_termios.h to kernel_termios.h. 1997-07-06 21:52:07 +00:00
Ulrich Drepper
db31c86395 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-26 22:16:52 +00:00
Ulrich Drepper
36e28152c9 Update and reformat copyright, remove trailing white spaces and send
through unexpand.
1997-06-23 21:54:51 +00:00
Ulrich Drepper
775690148e Linux/Alpha specific info header. 1997-06-21 02:49:46 +00:00
Ulrich Drepper
f735960c20 moved up. 1997-06-21 02:49:27 +00:00
Ulrich Drepper
761ac1b6d0 Kernel specific termios struct. 1997-06-21 02:48:51 +00:00
Ulrich Drepper
788c7990eb Moved to bits/. 1997-06-21 02:40:36 +00:00
Ulrich Drepper
405916ef4b <foo.h> -> <bits/foo.h>. 1997-06-21 01:37:20 +00:00
Ulrich Drepper
68b8d6f1fd (__fd_mask): Change type to `unsigned long int'. 1997-06-01 10:48:17 +00:00
Ulrich Drepper
ef490e68e8 Undef some bits we may have gotten from <linux/posix_types.h>. 1997-05-31 00:46:33 +00:00
Ulrich Drepper
3acff87e5b Tiny cleanups. 1997-05-31 00:46:24 +00:00
Ulrich Drepper
f97d5b5f4d Add copyright.
(rdfpcr): Use excb rather than trapb.  Be more efficient about
getting at the fpcr.
(wrfpcr): Likewise.
(__setfpucw): Reformat.
1997-05-31 00:46:15 +00:00
Ulrich Drepper
2521516d30 Add definition for Miata. 1997-05-31 00:46:01 +00:00
Ulrich Drepper
9aa1421fe0 Don't use jmp macro to make sure the stack frame is released the very
instruction before the real jump out.
1997-05-31 00:45:54 +00:00
Ulrich Drepper
0f85544d18 Likewise tuck the thread data onto the new thread's stack. 1997-05-07 15:31:06 +00:00
Ulrich Drepper
c0fda13c38 Don't presume that the kernel will preserve non-call-saved registers;
save and restore a0 across the system call.
1997-05-07 15:30:58 +00:00
Ulrich Drepper
75635b00de Save the function argument in t0 rather than a4 to avoid it being
clobbered.
1997-04-30 15:49:27 +00:00
Ulrich Drepper
6383b7f583 (OXTABS): Don't define. 1997-03-27 01:58:32 +00:00
Ulrich Drepper
ccc9296868 (OXTABS): Define as alias for XTABS. 1997-03-22 04:09:37 +00:00
Ulrich Drepper
d44e567483 Include ctype.h for isdigit. 1997-03-20 19:35:32 +00:00
Ulrich Drepper
465b53087d Don't define O_NORW. 1997-03-18 04:17:55 +00:00
Ulrich Drepper
de806c59bb [__USE_GNU]: Add O_READ, O_WRITE and O_NORW. 1997-03-16 20:12:24 +00:00
Ulrich Drepper
bd0059411f (struct stat): Change definition to use prescribed types for elements.
(_STAT_VER): Change to value 2.
1997-03-16 20:11:57 +00:00
Ulrich Drepper
ca22c3b98a Add kernel_stat.h 1997-03-16 19:39:48 +00:00
Ulrich Drepper
28c50ce97f update from main archive 970304 1997-03-04 05:53:20 +00:00
Ulrich Drepper
058af9f0a6 update from main archive 970128 1997-01-29 03:50:12 +00:00
Ulrich Drepper
2afcaa9026 update from main archive 970127 1997-01-28 03:59:28 +00:00
Ulrich Drepper
4cc93c083b update from main archive 970126 1997-01-27 06:02:00 +00:00
Ulrich Drepper
48e698a89c update from main archive 970124 1997-01-25 02:36:30 +00:00
Ulrich Drepper
b568adc31d update from main archive 970122 1997-01-24 02:23:43 +00:00
Ulrich Drepper
dc37f3e59d update from main archive 970121 1997-01-23 04:24:10 +00:00
Ulrich Drepper
9a82d002aa update from main archive 970121 1997-01-22 05:25:54 +00:00