Ulrich Drepper
9259ad13c3
(__old_globfree): Also copy gl_offs.
2005-01-27 20:52:04 +00:00
Richard Henderson
0141927118
* sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Add support
...
for NPTL where the PID is stored at userlevel and needs to be
reset when CLONE_THREAD is not used.
nptl/
* sysdeps/unix/sysv/linux/alpha/clone.S: New file.
* sysdeps/alpha/tcb-offsets.sym (TID_OFFSET): New.
2004-12-17 10:11:44 +00:00
Roland McGrath
5fbac7cf7e
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Use
__NTH instead of __THROW in the inline definition.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Likewise.
2004-12-15 01:00:56 +00:00
Roland McGrath
2b35938bce
2004-10-18 Maciej W. Rozycki <macro@mips.com>
...
* sysdeps/unix/sysv/linux/mips/bits/mman.h
(PROT_GROWSDOWN, PROT_GROWSUP): New macros.
2004-12-15 01:00:48 +00:00
Roland McGrath
9db87dc9e2
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Update RETINSTR use.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2004-12-04 21:20:30 +00:00
Roland McGrath
47f0752a48
2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
...
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
Use it instead of __THUMB_INTERWORK__. Make RETINSTR take
only a condition and a register.
* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
__THUMB_INTERWORK__.
(_dl_start_user): Use BX.
* sysdeps/arm/strlen.S: Use DO_RET.
* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/arm/clone.S,
sysdeps/unix/sysv/linux/arm/mmap.S,
sysdeps/unix/sysv/linux/arm/mmap64.S,
sysdeps/unix/sysv/linux/arm/socket.S,
sysdeps/unix/sysv/linux/arm/sysdep.h,
sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
2004-12-04 21:20:17 +00:00
Ulrich Drepper
f0b94226b1
Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include
...
sgidefs.h twice.
2004-11-27 20:01:03 +00:00
Andreas Jaeger
232e0cb8d6
Regenerate.
2004-11-24 04:42:45 +00:00
Andreas Jaeger
ae9e3809f9
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated asm-unistd.h.
2004-11-24 04:38:31 +00:00
Andreas Jaeger
8de3c5f1fe
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection in generated syscall-list.h
2004-11-24 04:38:15 +00:00
Andreas Jaeger
73a227e200
Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout.
2004-11-24 04:37:35 +00:00
Andreas Jaeger
b8ddf7a11f
Include <sgidefs.h>. Use _ABIO32, _ABIN32 and _ABI64 for ABI selection
...
throughout.
2004-11-24 04:36:11 +00:00
Andreas Jaeger
56eb7d3add
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
...
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Formatting fixes
throughout.
2004-11-22 12:47:50 +00:00
Ulrich Drepper
6deb629a54
Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and
...
pthread-functions.h includes. Include setxid.h. Use
INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the
HAVE_PTR__NPTL_SETXID guarded snippets.
2004-11-12 01:15:06 +00:00
Richard Henderson
463402af3a
* sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align.
...
(linefeed): Remove.
(register_dump): Rewrite to generate into a flat buffer instead
of into iovecs.
2004-11-04 18:39:10 +00:00
Richard Henderson
8cc7e0507d
* sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
...
* sysdeps/unix/sysv/linux/alpha/setresgid.c: New file.
* sysdeps/unix/sysv/linux/alpha/setresuid.c: New file.
* sysdeps/unix/sysv/linux/alpha/setreuid.c: New file.
2004-11-01 05:31:54 +00:00
Alexandre Oliva
cbd6a07c56
* sysdeps/unix/sysv/linux/linuxthreads/sysdep-cancel.h: Moved...
...
* sysdeps/unix/sysv/linux/am33/linuxthreads/sysdep-cancel.h:
... here, where it should have been added in the first place.
2004-10-25 07:11:57 +00:00
Alexandre Oliva
d115c0d8f6
Added Matsushita AM33/2.0 port.
2004-10-23 00:33:35 +00:00
Andreas Jaeger
145f3f8a3c
(__SYSCALL_CLOBBERS): Add "memory".
2004-10-18 05:16:08 +00:00
Richard Henderson
885186d085
* sysdeps/unix/sysv/linux/alpha/register-dump.h: New file.
...
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h (SIGCONTEXT): Add
_code argument, pass sigcontext by pointer.
(SIGCONTEXT_EXTRA_ARGS): Likewise.
(GET_PC, GET_FRAME, GET_STACK): Expect ctx as pointer.
2004-10-15 09:34:45 +00:00
Richard Henderson
36f86ab9ac
* sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype
...
style definition.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If
__ASSUME_TIMEVAL64, define __adjtime directly rather than
via strong_alias.
2004-10-15 07:06:56 +00:00
Roland McGrath
94645659a4
2004-10-04 Roland McGrath <roland@redhat.com>
...
* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol
to rtld_errno.
* sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it,
and don't define any other errno names.
* sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in
place of errno.
* sysdeps/unix/i386/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
* sysdeps/unix/x86_64/sysdep.S: Likewise.
2004-10-04 20:59:38 +00:00
Ulrich Drepper
6fae1eca92
(pthread_cond_t): Add __extension__ to long long types.
2004-09-28 10:29:32 +00:00
Richard Henderson
93207f7d2d
* sysdeps/unix/sysv/linux/alpha/vfork.S: Use libc_hidden_def.
2004-09-15 12:22:09 +00:00
Ulrich Drepper
2bb0696559
Remove uses of __P and __PMT.
2004-09-14 04:24:52 +00:00
Ulrich Drepper
ebb9960651
Define rwlock types also for __USE_XOPEN2K.
2004-09-12 18:40:45 +00:00
Ulrich Drepper
493814089b
(__pthread_once): Use atomic_increment instead of atomic_exchange_and_add.
2004-09-08 06:11:35 +00:00
Richard Henderson
0af1bbc9f2
* sysdeps/alpha/fpu/fraiseexcpt.c: Remove file.
...
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_IEEE_RAISE_EXCEPTION): New.
* sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: New file.
* sysdeps/unix/sysv/linux/alpha/kernel_sysinfo.h: New file.
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use it.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
2004-09-06 02:19:36 +00:00
Richard Henderson
df8419fe0a
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
...
Move definition inside libpthread, libc, librt check. Provide
definition for rtld.
2004-09-06 01:12:02 +00:00
Ulrich Drepper
19eca5d62f
(pthread_cond_t): Rename __data.__clock to __data.__nwaiters, make it
...
unsigned int.
2004-09-02 18:51:31 +00:00
Ulrich Drepper
c80ce440fb
Include sgidefs.h only if NO_SGIDEFS_H isn't defined.
2004-08-26 16:59:14 +00:00
Richard Henderson
13e579e4f9
* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
...
instead of $31. Zero $15.
* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
2004-08-25 19:59:01 +00:00
Andreas Jaeger
e8805e8d3f
[BZ #341 ]
...
(O_NOATIME): Define.
2004-08-23 07:28:45 +00:00
Roland McGrath
ca5c03379c
2004-08-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h (enum __rusage_who):
Remove __RUSAGE_BOTH constant and RUSAGE_BOTH macro.
* sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
2004-08-16 08:51:46 +00:00
Roland McGrath
0bec0145c4
2004-08-15 Roland McGrath <roland@frob.com>
...
* csu/elf-init.c: Update copyright terms including special exception
for these trivial files, which are statically linked into executables
that use dynamic linking for the significant library code.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/alpha/elf/initfini.c: Likewise.
* sysdeps/alpha/elf/start.S: Likewise.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/generic/initfini.c: Likewise.
* sysdeps/generic/mknod.c: Likewise.
* sysdeps/hppa/elf/initfini.c: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/i386/i686/hp-timing.c: Likewise.
* sysdeps/ia64/elf/initfini.c: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/ia64/hp-timing.c: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/start.c: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-32/initfini.c: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/s390/s390-64/initfini.c: Likewise.
* sysdeps/sh/elf/initfini.c: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/hp-timing.c: Likewise.
* sysdeps/standalone/i386/start.S: Likewise.
* sysdeps/standalone/i960/start.S: Likewise.
* sysdeps/standalone/m68k/m68020/start.S: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/sysv/aix/start.s: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/x86_64/elf/initfini.c: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.
2004-08-16 04:51:04 +00:00
Ulrich Drepper
ea0b49e7f8
Define non-standard RUSAGE_ enums as __RUSAGE_ and adjust macros
...
accordingly.
2004-08-13 05:46:37 +00:00
Ulrich Drepper
4214993aa0
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
2004-08-12 18:05:26 +00:00
Ulrich Drepper
744a7b202e
(RLIMIT_SIGPENDING, RLIMIT_MSGQUEUE): Add.
...
(RLIMIT_NLIMITS, RLIM_NLIMITS): Adjust.
Define non-standard RLIMIT__ enums as __RLIMIT_ and adjust macros
accordingly.
2004-08-12 18:04:51 +00:00
Ulrich Drepper
c908feca74
Add __BEGIN_DECLS for __getpagesize declaration.
2004-08-12 17:27:20 +00:00
Andreas Jaeger
5c3c0a7a13
Add semtimedop.
2004-07-21 06:13:15 +00:00
Andreas Jaeger
c654366496
($(objpfx)syscall-%.h): Sort by syscalls. Make sure we get headers such
...
as sgidefs.h from the build tree before just-installed ones.
2004-07-20 16:37:41 +00:00
Andreas Jaeger
24c4c341e3
Use standard names for ABI macros, include sgidefs.h where appropriate.
2004-07-20 16:35:32 +00:00
Ulrich Drepper
64d5339733
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
2004-06-03 15:57:42 +00:00
Ulrich Drepper
e0a27e2f47
(FUTEX_CMP_REQUEUE): Define.
...
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally. Return non-zero if error, zero if success.
2004-06-03 15:57:25 +00:00
Ulrich Drepper
5341b8057c
(pthread_cond_t): Add __broadcast_seq field.
2004-05-18 20:16:32 +00:00
Ulrich Drepper
524a69be2a
Export __libc_alpha_cache_shape as a private symbol.
2004-05-07 01:57:35 +00:00
Ulrich Drepper
8dbe95aa6a
Linux/Alpha sysconf definitions.
2004-05-07 01:57:19 +00:00
Ulrich Drepper
58ed091a43
Linux/Alpha startup code in ld.so.
2004-05-07 01:57:04 +00:00
Ulrich Drepper
b1225f7208
(F_SETOWN, F_GETOWN): Define if __USE_BSD or __USE_UNIX98.
2004-05-03 21:39:39 +00:00
Andreas Schwab
e52ded1809
Use __attribute_used__.
2004-04-23 20:41:42 +00:00