Richard Henderson
b17d80b12f
* sysdeps/alpha/Makefile: New file.
...
* sysdeps/alpha/tcb-offsets.sym: New file.
* sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (SINGLE_THREAD_P):
Use MULTIPLE_THREADS_OFFSET to implement !libpthread !libc version.
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Rewrite based
on powerpc version.
2004-01-13 09:36:22 +00:00
Richard Henderson
cfbf1a2f78
* sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_xxx_8_int):
...
Cast old up to uint64_t before back down to inner width.
(__arch_compare_and_exchange_xxx_16_int): Likewise.
(__arch_compare_and_exchange_xxx_32_int): Likewise.
(__arch_compare_and_exchange_xxx_64_int): Likewise.
(__arch_compare_and_exchange_val_8_int): Cast result to
the type of the memory.
(__arch_compare_and_exchange_val_16_int): Likewise.
(__arch_compare_and_exchange_val_32_int): Likewise.
(__arch_compare_and_exchange_val_64_int): Likewise.
(atomic_compare_and_exchange_bool_acq): Use __atomic_bool_bysize.
(atomic_compare_and_exchange_bool_rel): Likewise.
* sysdeps/unix/alpha/sysdep.h: Select inline_syscall_r0_asm
based on HAVE___THREAD instead of USE_TLS.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIMEX32): New.
(__adjtimex_tv64): Use it.
* sysdeps/unix/sysv/linux/alpha/semctl.c (__new_semctl): Cast
to void* rather than directly to the compatibility structure type.
* sysdeps/unix/sysv/linux/alpha/shmctl.c (__new_shmctl): Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.c (struct kernel_sigaction):
Forward declare.
2004-01-13 09:15:58 +00:00
Ulrich Drepper
3d87932d45
Define PROT_GROWSDOWN and PROT_GROWSUP.
2003-09-25 16:42:43 +00:00
Ulrich Drepper
aec9c3ef29
Not needed anymore.
2003-09-24 05:36:39 +00:00
Roland McGrath
25c0b916b6
2003-09-08 Roland McGrath <roland@frob.com>
...
* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
2003-09-09 06:44:48 +00:00
Ulrich Drepper
ea72a68d42
Change type of pthread_t to be compatible with LT.
2003-09-08 23:56:13 +00:00
Ulrich Drepper
49d7842ab5
Remove unused __syscall_* prototypes.
2003-09-03 03:21:27 +00:00
Ulrich Drepper
dc7f67a8e8
(__syscall_rt_sigaction): New prototype.
2003-09-03 03:15:08 +00:00
Ulrich Drepper
0e4d3d9dbd
(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
...
rt_sigqueueinfo and rt_sigpending.
2003-09-03 03:14:43 +00:00
Ulrich Drepper
d87ab9bc12
Additional versions for Linux/Alpha.
2003-09-03 03:10:25 +00:00
Ulrich Drepper
82019706cf
POSIX limits for Linux/Alpha.
2003-09-03 03:10:01 +00:00
Jakub Jelinek
c6df9debb1
New file.
2003-09-01 21:38:14 +00:00
Ulrich Drepper
a6df4fa6a2
(posix_fadvise64): Add V flag.
2003-08-17 00:34:12 +00:00
Ulrich Drepper
f98259f8e3
Don't add new posix_fadvise64_64 syscall.
2003-08-16 08:06:54 +00:00
Ulrich Drepper
a4164f54c6
Define posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry.
2003-08-16 06:18:46 +00:00
Ulrich Drepper
591ef241f8
(__SSIZE_T_TYPE): Define.
2003-07-31 19:34:16 +00:00
Ulrich Drepper
775a8c02e1
Header with a.out binary format definitions.
2003-07-25 09:04:57 +00:00
Ulrich Drepper
85d3b8cbf5
(_STATFS_F_FRSIZE): Define.
2003-07-12 19:30:54 +00:00
Ulrich Drepper
dc7d6605c8
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
...
success return actual return value from the syscall, not 0.
2003-07-08 03:42:27 +00:00
Ulrich Drepper
5400aba699
Asm macros for definition of cancelable syscall wrappers for nptl on Alpha.
2003-07-01 20:22:49 +00:00
Ulrich Drepper
22c9b5efb9
sem_post implementation for nptl on Alpha.
2003-07-01 20:22:23 +00:00
Ulrich Drepper
3b47913dc8
pthread_once implementation for nptl on Alpha.
2003-07-01 20:22:10 +00:00
Ulrich Drepper
a06fb001ba
vfork implementation for nptl on Alpha.
2003-07-01 20:21:45 +00:00
Ulrich Drepper
92f7ea1cbc
Low level lock definitions for nptl on Alpha.
2003-07-01 20:21:32 +00:00
Ulrich Drepper
f34839aa4d
Alpha specific fork in nptl on Alpha.
2003-07-01 20:20:57 +00:00
Ulrich Drepper
877333746e
Alpha specific nptl code to start thread.
2003-07-01 20:20:36 +00:00
Ulrich Drepper
707cd6ca79
Public semaphore type definitions for Alpha.
2003-07-01 20:20:19 +00:00
Ulrich Drepper
77e4ae304e
Public type definitions for nptl on Alpha.
2003-07-01 20:20:04 +00:00
Ulrich Drepper
10578c2ed3
Makefile for nptl on Alpha.
2003-07-01 20:19:46 +00:00
Richard Henderson
4feb1bb5b6
* sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
2003-06-30 23:21:49 +00:00
Ulrich Drepper
e31adc6532
(struct statfs): Add f_frsize field.
...
(struct statfs64): Likewise.
2003-06-24 17:13:44 +00:00
Richard Henderson
1fbb61a95d
* sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
...
* sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
libc_hidden_def.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
on them.
2003-06-24 16:38:45 +00:00
Richard Henderson
4f6923e1f5
* sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
...
the 64-bit syscall name.
2003-06-24 16:26:34 +00:00
Richard Henderson
2002663413
* sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.
2003-06-20 19:24:17 +00:00
Richard Henderson
ebcd2cd199
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
...
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
Unset for alpha.
(__ASSUME_TIMEVAL64): Set for alpha.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
adjtimex, osf_sigprocmask, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
__ASSUME_TIMEVAL64. Reorg tv64 functions to avoid uninit variable.
* sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
* 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/ieee_get_fp_control.S: Streamline
PIC code sequence.
* sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
* sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
sys_ustat, sys_mknod, adjtimex, old_adjtimex.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
defer to __syscall_name; error for rt_sigaction.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.
2003-06-20 16:24:36 +00:00
Ulrich Drepper
c27758e9c6
Don't inline the function. Export them. Prepend __ to name.
2003-06-11 22:37:05 +00:00
Richard Henderson
48e0ec3c48
* sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
...
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* sysdeps/alpha/elf/start.S: Likewise. Remove pointless allocation.
* sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
entry sequence and explicit relocs. Add unwind info for sigreturn
and rt_sigreturn.
* configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
* configure: Regenerate.
2003-06-06 05:54:15 +00:00
Richard Henderson
a382880a4c
* sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
...
Annotate some parameters.
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.
2003-06-06 05:52:52 +00:00
Richard Henderson
44774a1c27
* sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
2003-06-06 05:51:53 +00:00
Ulrich Drepper
9219434c89
(IPCOP_semtimedop): Define.
2003-05-02 23:24:56 +00:00
Ulrich Drepper
c3e16ef8ed
Define SI_TKILL.
2003-04-21 07:27:10 +00:00
Ulrich Drepper
4a05f4cc08
Sync with Linux 2.5.67.
2003-04-19 18:31:57 +00:00
Ulrich Drepper
614ba8f749
(_NSIG): Define to 65.
2003-04-01 06:16:53 +00:00
Ulrich Drepper
49d354ccdc
(struct siginfo): Avoid no-op padding element.
2003-03-26 23:41:57 +00:00
Ulrich Drepper
8eecb601ef
(struct siginfo): Adjust timer info for what the kernel provides these days.
...
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
Remove struct __pthread_attr_s forward declaration.
2003-03-26 04:48:10 +00:00
Ulrich Drepper
f30a759d97
(__TIMER_T_TYPE): Define as void*.
2003-03-25 21:59:17 +00:00
Ulrich Drepper
aca56a7fa5
Define MAP_POPULATE and MAP_NONBLOCK.
2003-03-03 09:58:55 +00:00
Ulrich Drepper
28445fd3b2
Add posix_fadvise64 syscall.
2003-02-05 23:29:25 +00:00
Ulrich Drepper
94b1e5e52f
Remove __GI_* aliases, already added by make-syscalls.sh.
2003-01-31 03:40:10 +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
411c121bce
Move inline syscall bits to sysdeps/unix/alpha/sysdep.h.
2003-01-12 19:23:41 +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
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
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
7de021d588
(__GI_accept): New alias to accept.
2002-12-31 20:44:02 +00:00
Ulrich Drepper
9526f1fb77
Define SHM_HUGETLB.
2002-12-20 10:31:10 +00:00
Ulrich Drepper
762566f73f
(msgrcv, msgsnd): Make cancelable.
2002-12-18 01:27:42 +00:00
Ulrich Drepper
9de983ba90
(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
...
sendto, osf_select): Make cancelable.
2002-12-15 00:49:51 +00:00
Ulrich Drepper
3bfd489bb9
(__libc_sigsuspend): Likewise.
2002-12-10 20:33:27 +00:00
Ulrich Drepper
b344de66b6
(__libc_select): New alias.
2002-12-10 20:33:12 +00:00
Ulrich Drepper
3a56243bb0
(struct sigevent): Change type of _attribute to void*.
2002-12-05 00:23:59 +00:00
Roland McGrath
3c49a7f2c2
2002-12-02 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
caller from EXTRA to -.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-12-03 07:28:08 +00:00
Ulrich Drepper
8545e2d25e
(inline_syscall*): Avoid "=v" constraints.
2002-11-28 22:47:27 +00:00
Roland McGrath
543d2ed9aa
2002-11-07 Richard Henderson <rth@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Re-include protect.
Kill argument registers across the inline syscall.
2002-11-08 02:18:49 +00:00
Roland McGrath
d5a256add3
2002-11-07 Richard Henderson <rth@redhat.com>
...
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* 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/rt_sigaction.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/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
2002-11-08 02:18:48 +00:00
Roland McGrath
e8b06fdf73
2002-11-07 Richard Henderson <rth@redhat.com>
...
* elf/tls-macros.h: Add alpha versions.
* sysdeps/alpha/dl-machine.h (elf_machine_rela): Handle TLS relocs.
* sysdeps/unix/alpha/sysdep.S: Support USE___THREAD.
* sysdeps/unix/alpha/sysdep.h: Likewise. Add SYSCALL_ERROR_HANDLER.
* sysdeps/unix/sysv/linux/alpha/brk.S: Use it.
* sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
* 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/rt_sigaction.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/sigsuspend.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
* sysdeps/unix/sysv/linux/alpha/clone.S: Add user_tid and tls args.
2002-11-08 02:18:45 +00:00
Roland McGrath
7bee643fff
2002-10-23 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Moved to ...
* sysdeps/unix/sysv/linux/bits/statvfs.h: ... here.
(ST_NODIRATIME): Restore fixed value of 2048.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: File removed.
2002-10-23 23:48:58 +00:00
Roland McGrath
70c6be6165
2002-10-23 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs):
Use __SWORD_TYPE instead of int for member types.
(struct statfs64): Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/statfs.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/statfs.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/statfs.h: File removed.
2002-10-23 23:48:55 +00:00
Roland McGrath
c537c91430
2002-10-23 Roland McGrath <roland@redhat.com>
...
Rearranged <bits/types.h> definitions to reduce duplication.
* sysdeps/generic/bits/types.h: Rewritten, using macros from
<bits/wordsize.h> and new header <bits/typesizes.h>.
* posix/Makefile (headers): Add bits/typesizes.h here.
* sysdeps/generic/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: New file.
* sysdeps/mach/hurd/bits/typesizes.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/mips/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/types.h: File removed.
* posix/sys/types.h [__USE_POSIX199506 || __USE_UNIX98]: Include
<bits/pthreadtypes.h> here, not in <bits/types.h>.
* signal/signal.h: Likewise.
2002-10-23 23:48:50 +00:00
Roland McGrath
54df0cf57d
2002-10-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL, INLINE_SYSCALL1)
(inline_syscall_clobbers, inline_syscall0, inline_syscall1)
(inline_syscall2, inline_syscall3, inline_syscall4, inline_syscall5)
(inline_syscall6): Move these macros ...
* sysdeps/unix/sysv/linux/alpha/sysdep.h: ... to here.
2002-10-18 22:37:29 +00:00
Roland McGrath
ccc5fdb26b
2002-10-18 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/unix/sysv/linux/pathconf.h (statfs_link_max): Add inline.
(statfs_filesize_max): New function.
* sysdeps/unix/sysv/linux/linux_fsinfo.h (JFFS_SUPER_MAGIC,
JFFS2_SUPER_MAGIC, JFS_SUPER_MAGIC, NTFS_SUPER_MAGIC,
ROMFS_SUPER_MAGIC, UDF_SUPER_MAGIC): Define.
* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use
statfs_filesize_max.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pathconf.c: Removed.
2002-10-18 19:03:49 +00:00
Roland McGrath
cfe08a2c2a
2002-10-16 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/fpathconf.c (LINUX_LINK_MAX): Move macro ...
* sysdeps/unix/sysv/linux/linux_fsinfo.h (LINUX_LINK_MAX): ... here.
* sysdeps/unix/sysv/linux/pathconf.h: New file.
(statfs_link_max): New function, guts from fpathconf.c.
* sysdeps/unix/sysv/linux/fpathconf.c: Rewritten using that.
* sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
* sysdeps/unix/sysv/linux/alpha/pathconf.c (__pathconf): Rewritten
to use the linux/pathconf.c code by #include rather than duplication.
* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__pathconf): Likewise.
2002-10-16 22:09:41 +00:00
Roland McGrath
a527394147
2002-10-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Use size_t
instead of int for msg_iovlen, instead of socklen_t for msg_controllen.
Other than the previously incorrect sign of msg_iovlen, this is a
no-op on 32-bit platforms. On 64-bit platforms it makes this header
match their layouts as well, so the following are now identical to it.
* sysdeps/unix/sysv/linux/s390/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/sparc/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: File removed.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: File removed.
2002-10-16 01:02:28 +00:00
Ulrich Drepper
cd4fba2b2b
(__fpathconf): Add support for reiserfs and xfs.
2002-10-16 00:36:59 +00:00
Roland McGrath
506ee216c4
2002-10-13 Roland McGrath <roland@frob.com>
...
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-10-14 01:03:03 +00:00
Ulrich Drepper
96408c1d8c
Not needed anymore. The generic version is sufficient.
2002-10-03 08:57:30 +00:00
Ulrich Drepper
5a0ab8474e
Remove net/route.h.
2002-10-03 08:54:48 +00:00
Roland McGrath
20f7e3e794
2002-09-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed.
It was indentical to the linux/bits/time.h file.
2002-09-25 01:57:50 +00:00
Ulrich Drepper
0d272f7da5
pipe implementation for Linux/Alpha.
2002-08-29 00:00:38 +00:00
Ulrich Drepper
50d9769d4b
Error codes for Linux/Alpha.
2002-08-28 23:58:00 +00:00
Ulrich Drepper
6735862339
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
...
(librt): Add aio_cancel and aio_cancel64 as GLIBC_2.3.
2002-08-28 23:55:01 +00:00
Ulrich Drepper
48fa58aa12
Add dl-brk.S.
2002-08-28 08:54:42 +00:00
Roland McGrath
13d6ef283d
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
* sysdeps/unix/alpha/pipe.S: ... here.
* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.
2002-08-26 11:37:32 +00:00
Ulrich Drepper
28fdb447c1
Define SHMLBA.
2002-08-23 22:26:25 +00:00
Andreas Jaeger
1077d52cfb
Remove *xattr syscalls.
2002-08-23 09:29:00 +00:00
Andreas Jaeger
074a6e5efa
Add *xattr syscalls with version 2.3.
2002-08-15 09:01:52 +00:00
Ulrich Drepper
28b5d5afc6
(glob, globfree, globfree64): Add libc_hidden_ver.
2002-08-05 00:31:32 +00:00
Ulrich Drepper
a42044dc37
(__xmknod): Add libc_hidden_def.
2002-08-04 09:23:46 +00:00
Ulrich Drepper
9f0c7fbd18
Remove all __GI_* aliases.
2002-08-03 19:44:44 +00:00
Ulrich Drepper
78413eec88
Add __GI_ aliases.
2002-08-03 06:58:54 +00:00
Ulrich Drepper
da5f5f7986
Add libc_hidden_def. Remove undef and INTDEF.
2002-08-03 06:57:53 +00:00
Ulrich Drepper
4def79b563
(__adjtimex_internal): Add alias.
2002-07-27 08:40:18 +00:00
Andreas Jaeger
4223e67fa1
Fix typo.
2002-07-08 16:58:14 +00:00
Andreas Jaeger
8248bb200e
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New.
...
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New.
* sysdeps/unix/sysv/linux/syscalls.list (sendfile): Remove EXTRA.
(sendfile64): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (sendfile): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (sendfile):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Likewise.
2002-06-07 12:33:51 +00:00
Ulrich Drepper
79c8c187bb
Add readahead syscall. Add sendfile64 alias to sendfile syscall.
2002-05-30 23:23:09 +00:00
Ulrich Drepper
a514656381
(__recvmsg, __sendmsg): Add aliases.
2002-05-15 00:20:02 +00:00
Ulrich Drepper
337ca8062e
Add __connect_internal.
2002-04-19 07:56:42 +00:00
Ulrich Drepper
016f45be9b
Define __gettimeofday alias.
2002-04-14 09:12:57 +00:00
Ulrich Drepper
521d1bc7f4
brk implementation for dynamic linker.
2002-04-06 01:34:06 +00:00