Ulrich Drepper
ca0eea4226
Add support for cancellation handling and handle both __NR_pwrite64 and
...
__NR_pwrite.
2003-01-27 19:01:03 +00:00
Ulrich Drepper
8c5a1c7889
Add support for cancellation handling and handle both __NR_pread64 and
...
__NR_pread.
2003-01-27 19:00:40 +00:00
Andreas Schwab
fab80146ed
(_dl_start_user): Use pc-relative addressing to save GOT entries.
2003-01-25 23:07:04 +00:00
Roland McGrath
3de1f4af04
2003-01-21 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/alpha/sysdep.h (inline_syscall0,
inline_syscall1, inline_syscall2, inline_syscall3,
inline_syscall4, inline_syscall5, inline_syscall6): Add __volatile__.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INTERNAL_SYSCALL): Add
__attribute__((unused)) to ChEcK.
2003-01-22 02:07:54 +00:00
Ulrich Drepper
af215add0a
(EPILOGUE, GPSAVEREG): New.
...
(LOADGP) [!PIC]: Rewrite to preserve caller's gp.
2003-01-17 19:19:55 +00:00
Ulrich Drepper
2c7ba672ef
Helper code for TLS setup in static libc.
2003-01-17 19:19:37 +00:00
Ulrich Drepper
6edfd8f2f6
(elf_machine_type_class): Add TLS relocs for class PLT.
2003-01-17 19:18:51 +00:00
Ulrich Drepper
0aced2c569
(__vfork): Conditionally branch to __fork even if __NR_vfork is not defined.
2003-01-15 01:06:06 +00:00
Ulrich Drepper
9da3df1021
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO,
...
INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define.
2003-01-15 01:02:03 +00:00
Ulrich Drepper
259eb5cdb8
(INLINE_SYSCALL): Undefined before defining.
2003-01-14 01:23:59 +00:00
Ulrich Drepper
aaadd842d8
Add inline syscall definitions.
...
(PSEUDO_LOADGP): Remove.
(PSEUDO_PROLOGUE): Load GP in non-pic case.
(SYSCALL_ERROR_LABEL): New.
(PSEUDO): Use it in error branch.
(PSEUDO_END): Add $syscall_error label.
2003-01-12 19:25:52 +00:00
Ulrich Drepper
411c121bce
Move inline syscall bits to sysdeps/unix/alpha/sysdep.h.
2003-01-12 19:23:41 +00:00
Ulrich Drepper
df162e7602
Use correct definition of errno for NOT_IN_libc.
2003-01-12 19:23:03 +00:00
Ulrich Drepper
a48dbdf044
(elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied.
2003-01-12 19:22:32 +00:00
Ulrich Drepper
f5e2ab0edb
vfork implementation for LinuxThreads/Arm.
2003-01-12 09:16:06 +00:00
Ulrich Drepper
e62ed29b3b
(PSEUDO_RET): Correctly unstack lr.
...
(UNDOARGS_5): Fix ordering of pushes and pops.
(SINGLE_THREAD_P_PIC): New.
(SINGLE_THREAD_P_INT): Likewise.
(SINGLE_THREAD_P): Implement in terms of above. Restore lr if it was stacked.
(PSEUDO): Use SINGLE_THREAD_P_INT.
2003-01-12 09:14:25 +00:00
Ulrich Drepper
191cbebf58
Add cancellation support.
2003-01-12 09:06:28 +00:00
Ulrich Drepper
6ad3dd03b3
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
2003-01-12 08:47:37 +00:00
Andreas Jaeger
9cc157d474
* sysdeps/unix/mips/fork.S: add PSEUDO_END.
...
* sysdeps/unix/mips/brk.S: Likewise.
* sysdeps/unix/mips/pipe.S: Likewise.
2003-01-11 15:26:35 +00:00
Andreas Schwab
c7aa3cacfc
GET_NPROCS_PARSER for m68k.
2003-01-10 15:36:20 +00:00
Andreas Schwab
defd0faa3f
(JUMPTARGET): Undefine before defining it.
2003-01-10 14:08:16 +00:00
Andreas Schwab
2eb7464224
Optimize for kernels which are known to have the vfork syscall.
2003-01-10 14:05:26 +00:00
Andreas Schwab
f3555d4089
Regenerated.
2003-01-09 15:30:03 +00:00
Ulrich Drepper
aeeec7fb5e
(INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO):
...
Add err argument.
(INTERNAL_SYSCALL_DECL): Define.
2003-01-09 04:09:26 +00:00
Ulrich Drepper
51c050b0f7
Add INTERNAL_SYSCALL_DECL, add err argument to INTERNAL_SYSCALL* macros.
2003-01-09 04:06:05 +00:00
Ulrich Drepper
c05bc2ca7b
(__socket): Use SYSCALL_ERROR in place of __syscall_error.
2003-01-08 00:15:33 +00:00
Ulrich Drepper
2f0910ca96
(PSEUDO): Remove .type directive.
...
(PSEUDO_RET): Use SYSCALL_ERROR in place of __syscall_error.
(SYSCALL_ERROR): New.
(SYSCALL_ERROR_HANDLER) [NOT_IN_libc]: Provide local copy of error
handling code.
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.
2003-01-08 00:15:07 +00:00
Ulrich Drepper
721fe4656c
(syscall_error): Optimise a little.
...
[__LIBC_REENTRANT]: Unify PIC and non-PIC cases.
2003-01-08 00:14:43 +00:00
Ulrich Drepper
b8cce412d2
(ntp_adjtime): New weak alias.
2003-01-07 23:51:48 +00:00
Ulrich Drepper
2e2b5f5622
Add cancellation handling.
2003-01-07 00:48:34 +00:00
Ulrich Drepper
7d983cbb36
(PSEUDO): Use PSEUDO_PREPARE_ARGS.
2003-01-07 00:47:52 +00:00
Ulrich Drepper
ddf42be0e2
Syscall cancellation handling for Arm.
2003-01-07 00:39:17 +00:00
Ulrich Drepper
d45a8f827e
(inline_syscall_r0_constraint): Rename to...
...
(inline_syscall_r0_out_constraint): ... this. Add =.
(inline_syscall[0-6]): Use inline_syscall_r0_out_constraint.
2003-01-06 23:52:06 +00:00
Andreas Schwab
eff2079d51
(sysdep-CFLAGS): Increase inline limit.
2003-01-06 18:11:24 +00:00
Andreas Schwab
a89c56aac4
(elf_machine_runtime_setup): Make sure this is always inlined.
...
(elf_machine_rela): Likewise.
2003-01-06 18:10:46 +00:00
Andreas Schwab
c0713cc0e0
(CFLAGS-.oS): Append -fPIC.
2003-01-05 17:14:17 +00:00
Andreas Schwab
2bf8a54e87
Add nanosecond fields.
2003-01-04 22:51:16 +00:00
Ulrich Drepper
d0a6689abf
(inline_syscall_r0_asm): New.
...
(inline_syscall_r0_constraint): New.
(inline_syscall[0-6]): Use them.
2003-01-03 21:59:45 +00:00
Ulrich Drepper
eb22472e6f
(__sigaction, sigaction): Protect weak_alias and libc_hidden_weak with
...
#ifndef LIBC_SIGACTION.
2003-01-03 00:42:10 +00:00
Ulrich Drepper
7de021d588
(__GI_accept): New alias to accept.
2002-12-31 20:44:02 +00:00
Ulrich Drepper
40efe6690b
(accept): Add libc_hidden_def.
2002-12-31 20:41:23 +00:00
Ulrich Drepper
ff1d023da3
(__lseek): Add libc_hidden_def.
2002-12-31 20:40:18 +00:00
Ulrich Drepper
db16023193
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).
2002-12-31 20:37:32 +00:00
Andreas Jaeger
7922283928
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
...
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms. Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2002-12-31 13:24:33 +00:00
Ulrich Drepper
c505de0a40
Add __GI___vfork alias.
2002-12-31 11:10:33 +00:00
Ulrich Drepper
7e587d1822
Add __GI___fork alias.
2002-12-31 11:07:26 +00:00
Ulrich Drepper
7a077bd196
Add libc_hidden_def for __fork.
2002-12-31 11:05:04 +00:00
Ulrich Drepper
c63e402a12
Add libc_hidden_def for __nanosleep.
2002-12-31 10:22:40 +00:00
Ulrich Drepper
044758323b
Add __GI__setjmp alias.
2002-12-31 09:35:36 +00:00
Andreas Schwab
e88c122c4f
Add cancellation support.
2002-12-27 22:15:18 +00:00