Andreas Schwab
fd202ea4b7
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Make _errno a weak alias,
...
not a strong alias.
1998-07-01 01:42:09 +00:00
Ulrich Drepper
ea8df133cc
Include pthreadtypes.h.
...
Define size_t.
1998-06-30 12:08:40 +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
Andreas Schwab
2cd493384a
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
...
definition.
(PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
1998-06-10 01:37:21 +00:00
Ulrich Drepper
c61de13d2c
Use C_SYMBOL_NAME when referring to errno and _errno.
1998-06-01 13:37:18 +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
7500ff18c7
Correct handling of arguments.
1998-05-19 16:12:40 +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
7829f6c432
[subdir=elf]: Define sysdep-others, not others.
1998-05-08 15:02:44 +00:00
Ulrich Drepper
096031e14c
(PSEUDO): On error, call __syscall_error rather than syscall_error
...
directly.
1998-04-30 16:57:25 +00:00
Ulrich Drepper
a62da3689a
mmap syscall interface for Linux/ARM.
1998-04-30 16:57:14 +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
ec39d34aed
Allow inclusion from netinet.in.h.
1998-04-07 09:12:51 +00:00
Ulrich Drepper
859d74afa9
2.0 kernel support.
1998-04-07 09:11:50 +00:00
Ulrich Drepper
80509c667f
(__syscall_error): Same for PIC and non-PIC now. Correctly negate
...
error number.
(errno): Use `%' not `@' in .type directives.
1998-04-03 12:06:51 +00:00
Ulrich Drepper
24e022cf82
(PSEUDO): Fix typo introduced in last change.
1998-04-03 08:23:11 +00:00
Ulrich Drepper
2284fbe2ac
Correct test for error and use PLTJMP() rather than explicit (PLT).
1998-04-01 09:14:55 +00:00
Ulrich Drepper
ff550b1f27
(SYSCALL_ERROR_HANDLER): Always define, not only #ifndef PIC.
...
(DO_CALL): Pass fifth argument correctly in R4.
(PSEUDO): Correct test for error, call syscall_error through PLT if PIC.
1998-04-01 09:11:44 +00:00
Andreas Schwab
c4dc6c456e
* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
...
* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
install lddlibc4.
1998-04-01 00:53:13 +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
0f2a261a38
(ENTRY): Correct error jump.
1998-03-18 14:34:49 +00:00
Ulrich Drepper
ff259c29e8
Check correctly for error return; call syscall_error through PLT.
1998-03-18 14:33:53 +00:00
Ulrich Drepper
be07ac90bc
Correct typo.
1998-03-12 09:18:49 +00:00
Ulrich Drepper
2d4c61a667
Add various SOL_* constants.
1998-03-10 22:42:23 +00:00
Ulrich Drepper
1ad3a6fb0f
Adds lots of missing AF_* and PF_* constants.
1998-03-10 22:33:58 +00:00
Andreas Schwab
1c03144cf7
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
...
Readd lost negate.
* sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
1998-03-09 03:20:41 +00:00
Andreas Schwab
56d7f02931
* sysdeps/m68k/add_n.S: Use ENTRY and END macros.
...
* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/submul_1.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
[_LIBC_REENTRANT]: Don't store into global errno.
* sysdeps/m68k/sysdep.h: New file.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
(DO_CALL): Change to expect syscall name as argument.
(PSEUDO): Pass syscall_name to DO_CALL.
(SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
errno.
1998-03-06 01:48:50 +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
de0268b44e
Correct typo (ccept->accept).
1998-01-30 11:39:44 +00:00
Ulrich Drepper
c44a108279
Not to be used.
1998-01-30 11:39:21 +00:00
Ulrich Drepper
caec183cea
Add bits/mman.h.
1998-01-30 11:38:04 +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
41fe80e1bc
Allow __socket to be redefined.
1998-01-21 17:03:20 +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
5eb1fd7864
Types for Linux MIPS.
1997-12-22 20:42:51 +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
1a5bb722c3
Syscalls for Linux/ARM.
1997-12-08 03:01:53 +00:00
Ulrich Drepper
f873ad64be
Linux/ARM implementation.
1997-12-04 00:02:58 +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
d2099b0d6d
(SYS_ify): Don't add SWI_BASE in twice.
1997-11-13 00:19:24 +00:00
Ulrich Drepper
c4b0b9530e
(profil_counter): Use correct name to access PC.
1997-11-13 00:19:12 +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