Ulrich Drepper
6f7638eb9d
ELF setjmp for Arm.
1998-03-18 14:40:58 +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
3500923da8
(syscall_error): Support PIC and re-entrant code.
1998-03-18 14:31:30 +00:00
Ulrich Drepper
7733906da7
Support PIC.
1998-03-18 14:31:22 +00:00
Ulrich Drepper
ed6b842088
Floating point exception definitions.
1998-03-18 14:29:48 +00:00
Ulrich Drepper
fe0955cdc4
Change format of .type directive. Correct comment about floating
...
point to reflect current reality.
1998-03-18 14:29:30 +00:00
Ulrich Drepper
2e4ed6f1f8
Call __sigjmp_save through PLT
1998-03-18 14:29:20 +00:00
Ulrich Drepper
d024bf59e6
Optimized memset version.
1998-03-18 14:29:09 +00:00
Ulrich Drepper
2c2c129dd4
Startup code for Arm.
1998-03-18 14:29:01 +00:00
Ulrich Drepper
046378657f
Arm/ELF definitions.
1998-03-18 14:28:36 +00:00
Ulrich Drepper
0bee7da30d
Call __sigsetjmp by correct name.
1998-03-18 14:27:59 +00:00
Ulrich Drepper
120b2b39d6
Remove floating point code.
1998-03-18 14:27:40 +00:00
Andreas Schwab
4f558ff150
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
...
isless, islessequal, islessgreater, isunordered): Return zero or
one.
1998-03-13 01:27:51 +00:00
Ulrich Drepper
be07ac90bc
Correct typo.
1998-03-12 09:18:49 +00:00
Ulrich Drepper
caa27d8e14
LinuxThreads library.
1998-03-11 12:42:24 +00:00
Andreas Schwab
69235f764b
* sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
...
init stuff.
1998-03-11 01:32:12 +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
Ulrich Drepper
b8b84ae26c
Rename function to __ffs and make ffs a weak alias.
1998-03-09 09:09:46 +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
Ulrich Drepper
48a686308e
(SYSCALL_ERROR_HANDLER): Don't store into global errno if we already
...
store through __errno_location.
1998-03-06 11:38:58 +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
Andreas Schwab
1e0c166557
* sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
...
offsets into the GOT.
(RTLD_START): Likewise.
1998-03-04 02:36:01 +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
3616c197cd
Add _errno definition.
1998-02-26 17:14:15 +00:00
Ulrich Drepper
265bcb263d
Added ".set noat"/".set at".
1998-02-26 17:13:29 +00:00
Ulrich Drepper
f635bc2865
(feraiseexcept): Use a dummy for FE_DIVBYZERO. Kludge for
...
FE_UNDERFLOW.
1998-02-26 16:29:41 +00:00
Ulrich Drepper
d424955575
(FE_TOWARDZERO): Correct typo.
1998-02-26 08:38:37 +00:00
Ulrich Drepper
0c70eb4af3
(struct kernel_sigaction): Define.
1998-02-24 15:22:07 +00:00
Andreas Schwab
ef5e0ac67b
Stub file
1998-02-18 01:32:32 +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
Ulrich Drepper
e0e16dbb5b
(EOVERFLOW): Added.
1998-02-10 20:01:29 +00:00
Ulrich Drepper
9ab963e5ef
Define __need_FOPEN_MAX, not _STDIO_H, before including
...
<bits/stdio_lim.h>.
1998-02-10 20:01:12 +00:00
Ulrich Drepper
028502bf1e
SysV compliant context switch interface.
1998-02-10 19:59:41 +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
e85e76352c
Fix typo.
1998-01-30 12:26:36 +00:00
Ulrich Drepper
401a9d9e66
Fix a typo.
1998-01-30 12:24:41 +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
9ba537d289
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Remove the 3rd arg and add
...
declaration for _dl_runtime_resolve and _dl_runtime_profile.
1998-01-25 03:51:19 +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
5faf38aeab
Add definition of FP_ILOGB0 and FP_ILOGNAN.
1998-01-21 17:00: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
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
48a0be2705
(RLIM_INFINITY) [__USE_FILE_OFFSET64]: Make long long constant.
...
(RLIM64_INFINITY): Likewise.
1997-12-22 18:58:39 +00:00
Ulrich Drepper
60688571b0
(EBUSY): Added.
1997-12-22 18:56:55 +00:00
Ulrich Drepper
7eaf35c740
Don't define exp2 inline.
...
Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
1997-12-22 18:53:56 +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
c96aeaa4e3
(EAGAIN): Added.
...
(EIO): Likewise.
(ENOSPC): Likewise.
(EEXIST): Likewise.
(__errno_location): Likewise.
1997-12-14 22:10:59 +00:00
Ulrich Drepper
3632b95d0a
Protect declarations of inline functions by feature tests to avoid
...
warning about missing prototype declarations.
1997-12-14 22:09:47 +00:00
Ulrich Drepper
ac442bf7a9
(fenv_t): Add member to hold fpiar value, to match spirit of the
...
standard.
1997-12-14 22:09:29 +00:00
Ulrich Drepper
053ed29047
Save/restore fpiar.
1997-12-14 22:09:13 +00:00
Ulrich Drepper
49f3765caf
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Add missing parameters.
1997-12-14 21:53:11 +00:00
Ulrich Drepper
1a5bb722c3
Syscalls for Linux/ARM.
1997-12-08 03:01:53 +00:00
Ulrich Drepper
17bba157e3
(ENOTTY): Added.
1997-12-08 02:55:11 +00:00
Ulrich Drepper
53b18c667b
(_STDIO_H): Define before including <bits/stdio_lim.h>
1997-12-08 02:55:00 +00:00
Ulrich Drepper
2e67c045f2
(_dl_runtime_resolve): Care for prefix.
...
(_start): Likewise.
1997-12-08 02:50:09 +00:00
Ulrich Drepper
f873ad64be
Linux/ARM implementation.
1997-12-04 00:02:58 +00:00
Ulrich Drepper
fc1eaef3e8
Don't define ___LIBC_INTERNAL_MATH_INLINES here.
1997-12-03 23:31:37 +00:00
Ulrich Drepper
4ff61542a8
Define _SETJMP_H before including <bits/setjmp.h>.
1997-12-03 23:20:36 +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
d5cd798ccb
Define _ASM and _SETJMP_H to get definitions.
1997-12-01 17:09:25 +00:00
Ulrich Drepper
905714080f
Issue error message if the header is used directly.
1997-11-26 04:14:44 +00:00
Ulrich Drepper
e00fbfc6aa
Define optimizations if __LIBC_INTERNAL_MATH_INLINES is defined.
1997-11-22 18:47:44 +00:00
Ulrich Drepper
e729bad58b
Define __LIBC_INTERNAL_MATH_INLINES instead of
...
__LIBC_M81_MATH_INLINES.
1997-11-22 18:45:43 +00:00
Ulrich Drepper
c48d19d0d5
Use __APCS_32__ to decide whether or not to preserve condition codes
...
on function call.
1997-11-18 02:39:35 +00:00
Ulrich Drepper
a5343fec83
Remove setjmp_aux.c.
1997-11-18 02:39:11 +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
0fe3c9c4df
Include <bits/errno.h> not <errnos.h>.
1997-11-13 00:18:09 +00:00
Ulrich Drepper
2ecd6b510f
Define INFINITY as of type float.
...
Define DECIMAL_DIG.
1997-11-13 00:15:53 +00:00