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
598b541b8c
2002-11-06 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
2002-11-06 22:14:25 +00:00
Roland McGrath
9752ed23d7
2002-11-05 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/mips/sysdep.h [! __PIC__] (PSEUDO): Add nop after jump.
From Johannes Stezenbach <js@convergence.de>.
2002-11-06 03:19:47 +00:00
Roland McGrath
f732ef26a8
2002-11-05 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/mips/Versions (libc: GLIBC_2.0): Change
#errlist-compat magic comment to give 123 as size.
(libc: GLIBC_2.1): Remove this set, moving #errlist-compat magic to ...
(libc: GLIBC_2.2): ... here.
(libc: GLIBC_2.3): Likewise.
2002-11-06 02:53:24 +00:00
Roland McGrath
9cd89c3a1f
2002-11-02 H.J. Lu <hjl@gnu.org>
...
* sysdeps/unix/sysv/linux/mips/syscalls.list (s_execve): Set
caller to EXTRA instead of execve.
2002-11-02 23:13:16 +00:00
Roland McGrath
db8eb98510
2002-10-29 Jakub Jelinek <jakub@redhat.com>
...
* sysdeps/gnu/siglist.c (PTR_SIZE_STR): Remove.
(__old_sys_siglist, __old_sys_sigabbrev): Use strong_alias and
declare_symbol.
* sysdeps/mach/hurd/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): Remove.
(OLD_SIGLIST_SIZE): Define.
* sysdeps/unix/sysv/linux/arm/siglist.c: Remove.
2002-11-01 20:48:33 +00:00
Roland McGrath
8b995f35b9
2002-10-25 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/init-first.c (init): Remove [! SHARED]
conditional from __libc_multiple_libcs access. Remove kludge for weak
symbol access with old compilers we no longer support.
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
* sysdeps/generic/libc-start.c (__libc_start_main): Likewise.
2002-10-25 19:41:24 +00:00
Roland McGrath
35ebee609c
2002-10-24 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/ldsodefs.h (_dl_starting_up): Declare it here.
* sysdeps/unix/sysv/linux/init-first.c: Not here.
* sysdeps/powerpc/elf/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/libc-start.c: Or here.
* sysdeps/unix/sysv/aix/start-libc.c: Or here.
* sysdeps/unix/sysv/aix/init-first.c: Or here.
* sysdeps/generic/libc-start.c: Or here.
* sysdeps/unix/sysv/linux/init-first.c (init): Protect _dl_starting_up
access with [! SHARED].
* sysdeps/unix/sysv/aix/init-first.c (init): Likewise.
2002-10-24 19:13:38 +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
69211cccc6
2002-10-19 Roland McGrath <roland@redhat.com>
...
* configure: Regenerated (using Autoconf 2.54).
* sysdeps/alpha/elf/configure: Likewise.
* sysdeps/generic/configure: Likewise.
* sysdeps/i386/elf/configure: Likewise.
* sysdeps/ia64/elf/configure: Likewise.
* sysdeps/mach/hurd/configure: Likewise.
* sysdeps/mach/configure: Likewise.
* sysdeps/unix/configure: Likewise.
* sysdeps/unix/common/configure: Likewise.
* sysdeps/unix/sysv/aix/configure: Likewise.
* sysdeps/unix/sysv/linux/configure: Likewise.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.
* sysdeps/x86_64/elf/configure: Likewise.
2002-10-19 20:03: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
6474e421d6
2002-10-18 Jeff Bailey <jbailey@gnu.org>
...
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 22:15:36 +00:00
Roland McGrath
aa858c3e99
2002-10-18 Jeff Bailey <jbailey@gnu.org>
...
* sysdeps/alpha/elf/configure.in: Remove unneeded sinclude statement.
* sysdeps/generic/configure.in: Likewise.
* sysdeps/i386/elf/configure.in: Likewise.
* sysdeps/ia64/elf/configure.in: Likewise.
* sysdeps/mach/configure.in: Likewise.
* sysdeps/mach/hurd/configure.in: Likewise.
* sysdeps/unix/configure.in: Likewise.
* sysdeps/unix/common/configure.in: Likewise.
* sysdeps/unix/sysv/aix/configure.in: Likewise.
* sysdeps/unix/sysv/linux/configure.in: Likewise.
* sysdeps/unix/sysv/linux/mips/configure.in: Likewise.
* sysdeps/x86_64/elf/configure.in: Likewise.
2002-10-18 19:38:00 +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
Roland McGrath
ac33e75b3e
2002-10-15 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/bits/resource.h: Replaced with the contents
of the sysdeps/unix/sysv/linux/i386/bits/resource.h file.
All the following files were identical or equivalent to it.
* sysdeps/unix/sysv/linux/i386/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/arm/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/cris/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/hppa/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/ia64/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/m68k/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/sh/bits/resource.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/bits/resource.h: File removed.
2002-10-16 01:02:24 +00:00
Ulrich Drepper
cd4fba2b2b
(__fpathconf): Add support for reiserfs and xfs.
2002-10-16 00:36:59 +00:00
Ulrich Drepper
75380e2be2
(profil_counter): Add hack to prevent the compiler from clobbering the signal
...
context.
2002-10-14 17:26:14 +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
Roland McGrath
0a26934100
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.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* 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.
2002-10-14 01:02:53 +00:00
Roland McGrath
d030d52da2
2002-10-07 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/errno.c: New file.
* csu/Makefile (aux): New variable, list errno.
* sysdeps/unix/sysv/linux/i386/sysdep.S (errno, _errno): Remove defns.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/arm/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/cris/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Likewise.
* sysdeps/unix/alpha/sysdep.S: Likewise.
* sysdeps/generic/start.c: Likewise.
* sysdeps/unix/start.c: Likewise.
* sysdeps/unix/arm/start.c: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
* sysdeps/unix/sparc/start.c: Likewise.
* sysdeps/unix/sysv/irix4/start.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: File removed.
2002-10-11 10:51:31 +00:00
Ulrich Drepper
402dbb2e81
(__writev): Rename to __libc_writev and make old name an alias.
2002-10-09 09:35:00 +00:00
Ulrich Drepper
c45957343f
(waitid): Rename to __waitid and make old name an alias.
2002-10-09 09:28:58 +00:00
Ulrich Drepper
ce9fa295f0
(__readv): Rename to __libc_readv and make old name an alias.
2002-10-09 09:25:29 +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
Ulrich Drepper
91bd985838
Regenerated: autoconf sysdeps/unix/sysv/aix/configure.in
2002-10-02 05:08:36 +00:00
Roland McGrath
700494fc4b
2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
...
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
[__USE_GNU] (F_SETLEASE, F_GETLEASE, F_NOTIFY): New macros.
[__USE_GNU] (DN_ACCESS, DN_MODIFY, DN_CREATE, DN_DELETE, DN_RENAME,
DN_ATTRIB, DN_MULTISHOT): New macros.
2002-10-01 19:42:01 +00:00
Ulrich Drepper
9fe8d7ced1
Update comment and remove stdio=libio setting.
2002-09-28 18:03:10 +00:00
Ulrich Drepper
8ee7624e87
Not needed anymore.
2002-09-28 18:02:05 +00:00
Andreas Jaeger
b1cbca217e
Fix number of args to syscall.
2002-09-28 13:40:10 +00:00
Ulrich Drepper
0a398af98d
SysV shared memory definitions for Linux/PA.
2002-09-28 04:05:23 +00:00
Ulrich Drepper
895185c62e
SysV semaphore definitions for Linux/PA.
2002-09-28 04:04:44 +00:00
Ulrich Drepper
535cdc5140
SysV message queue definitions for Linux/PA.
2002-09-28 04:03:54 +00:00
Ulrich Drepper
53c72cc1d6
IPC definitions for Linux/PA.
2002-09-28 04:02:56 +00:00
Andreas Jaeger
dafc949f65
Add syscall_exit.
2002-09-25 11:09:55 +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
Roland McGrath
c5947147ec
2002-09-18 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
Add libc_hidden_def.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2002-09-18 17:45:53 +00:00
Andreas Jaeger
ad9dff54b0
Add readahead syscall.
2002-09-13 07:12:28 +00:00
Roland McGrath
e699500013
2002-09-04 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Turn into inline functions.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h (sigset_set_old_mask,
sigset_get_old_mask): Likewise.
2002-09-05 18:51:44 +00:00
Ulrich Drepper
0d272f7da5
pipe implementation for Linux/Alpha.
2002-08-29 00:00:38 +00:00
Ulrich Drepper
d86c4cf889
(ECANCELED): Define to ECANCELLED if not defined by kernel headers.
2002-08-28 23:58:20 +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
0c605f5013
(libc): Add #errlist-compat comments at GLIBC_2.0, GLIBC_2.1 and GLIBC_2.3.
2002-08-28 23:53:22 +00:00
Ulrich Drepper
bbb3856d85
Avoid unescaped newlines in string constants.
2002-08-28 21:26:20 +00:00
Ulrich Drepper
48fa58aa12
Add dl-brk.S.
2002-08-28 08:54:42 +00:00
Ulrich Drepper
658e7fb4a4
Extra files to distribute for SunOS <= 4.
2002-08-28 08:39:11 +00:00
Ulrich Drepper
bbc364a939
Extra files to distribute for OSF.
2002-08-28 08:36:00 +00:00
Ulrich Drepper
00167bfefd
Extra files to distribute on HP.
2002-08-28 08:35:02 +00:00
Ulrich Drepper
2547aab14a
Additional files to distribute for Unix on Arm.
2002-08-28 08:30:53 +00:00
Ulrich Drepper
b45f281680
Add sys/user.h.
2002-08-27 16:06:03 +00:00
Roland McGrath
0a59ce67bf
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/gnu/Versions: New file.
* sysdeps/unix/sysv/linux/Versions (libc: GLIBC_2.1): Remove
_sys_errlist; sys_errlist; _sys_nerr; sys_nerr; from here.
* sysdeps/gnu/Makefile ($(..)sysdeps/gnu/errlist-compat.c): New target.
($(objpfx)errlist.d): Depend on $(..)sysdeps/gnu/errlist-compat.c.
* sysdeps/gnu/errlist.awk: Make output define _sys_errlist_internal
and _sys_nerr_internal instead of anything else. Make it include
"errlist-compat.c" if [!NOT_IN_libc && !ERRLIST_NO_COMPAT].
Make it emit some asm magic if [EMIT_ERR_MAX].
* sysdeps/gnu/errlist.c: Regenerated.
* sysdeps/gnu/errlist-compat.awk: New file.
* sysdeps/gnu/errlist-compat.c: New file (generated).
* sysdeps/mach/hurd/errlist.c (ERRLIST_NO_COMPAT): New macro.
(_sys_errlist_internal): Define this as a macro for _hurd_errlist.
(_sys_nerr_internal): Define this is a macro for _hurd_nerr.
(SYS_ERRLIST, SYS_NERR): Macros removed.
(sys_nerr, _sys_nerr): Remove these weak aliases.
* sysdeps/unix/sysv/linux/errlist.c: File removed.
* sysdeps/unix/sysv/linux/errlist.h: File removed.
* sysdeps/unix/sysv/linux/arm/errlist.c: File removed.
2002-08-27 09:22:36 +00:00
Roland McGrath
1717fd72fb
2002-08-26 Roland McGrath <roland@redhat.com>
...
* sysdeps/generic/sigset-cvt-mask.h (sigset_set_old_mask): Replace
macro with inline function.
(sigset_get_old_mask): Likewise.
* sysdeps/posix/sigblock.c (__sigblock): Update callers.
* sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigvec.c (__sigvec, sigvec_wrapper_handler): Likewise.
* sysdeps/unix/sysv/aix/sigset-cvt-mask.h
(sigset_set_old_mask, sigset_get_old_mask): Make these macros return
values.
* sysdeps/unix/sysv/linux/sigset-cvt-mask.h: Likewise.
* sysdeps/unix/sysv/sysv4/sigset-cvt-mask.h: Likewise.
2002-08-27 02:43:04 +00:00
Roland McGrath
ae287b1900
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/fork.S: Fix PSEUDO_END argument.
* sysdeps/unix/arm/fork.S: Likewise.
2002-08-26 11:37:38 +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
Roland McGrath
631d94cb30
2002-07-06 Bruno Haible <bruno@clisp.org>
...
* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
2002-08-26 11:37:24 +00:00
Ulrich Drepper
564fb196d6
SysV message queue definitions for Linux/MIPS.
2002-08-26 01:49:55 +00:00
Ulrich Drepper
9c3c87e2ec
Update comment regarding placement of errno definition.
2002-08-24 23:26:47 +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
Roland McGrath
94a376cc2c
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/grp.h (setgroups): Add libc_hidden_proto.
* sysdeps/generic/setgroups.c: Add libc_hidden_def.
* sysdeps/mach/hurd/setgroups.c: Likewise.
* sysdeps/unix/sysv/irix4/setgroups.c: Likewise.
* sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2002-08-13 01:07:58 +00:00
Roland McGrath
84091b65ff
2002-08-12 Roland McGrath <roland@redhat.com>
...
* include/sys/wait.h (__waitpid): Add libc_hidden_proto.
* sysdeps/unix/sysv/sco3.2.4/waitpid.S: Add libc_hidden_def.
* sysdeps/unix/sysv/sysv4/waitpid.c: Add libc_hidden_weak.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/aix/waitpid.c: Likewise.
* sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
* sysdeps/generic/waitpid.c: Likewise.
2002-08-13 01:07:52 +00:00
Roland McGrath
f994831e93
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/sys/stat.h (__fxstat_internal, __fxstat64_internal,
__lxstat_internal, __lxstat64_internal): Remove.
(__fxstat, __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64):
Add hidden_proto.
* sysdeps/generic/fxstat.c (__fxstat): Add hidden_def.
Remove INTDEF where present, remove #undef at the beginning.
* sysdeps/generic/fxstat64.c (__fxstat64): Likewise.
* sysdeps/generic/lxstat.c (__lxstat): Likewise.
* sysdeps/generic/lxstat64.c (__lxstat64): Likewise.
* sysdeps/generic/xstat.c (__xstat): Likewise.
* sysdeps/generic/xstat64.c (__xstat64): Likewise.
* sysdeps/mach/hurd/dl-sysdep.c (__xstat64, __fxstat64): Likewise.
* sysdeps/mach/hurd/fxstat.c (__fxstat): Likewise.
* sysdeps/mach/hurd/fxstat64.c (__fxstat64): Likewise.
* sysdeps/mach/hurd/lxstat.c (__lxstat): Likewise.
* sysdeps/mach/hurd/lxstat64.c (__lxstat64): Likewise.
* sysdeps/mach/hurd/xstat.c (__xstat): Likewise.
* sysdeps/mach/hurd/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/common/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/aix/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/aix/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/aix/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/aix/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/aix/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/ia64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/ia64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/xstat.c (__xstat): Likewise.
2002-08-13 00:23:09 +00:00
Roland McGrath
9c1cc5c52c
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (tcgetpgrp): Add libc_hidden_proto.
* include/termios.h (tcsetattr, cfsetispeed, cfsetospeed): Likewise.
* sysdeps/generic/tcgetpgrp.c (tcgetpgrp): Add libc_hidden_def.
* sysdeps/generic/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/generic/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/bsd/bsd4.4/tcsetattr.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/sun/sunos4/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/bsd/sun/sunos4/speed.c (cfsetispeed, cfsetospeed):
Likewise.
* sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/aix/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
* sysdeps/unix/sysv/linux/speed.c (cfsetispeed, cfsetospeed): Likewise.
* sysdeps/unix/sysv/tcgetpgrp.c (tcgetpgrp): Likewise.
* sysdeps/unix/sysv/tcsetattr.c (tcsetattr): Likewise.
2002-08-13 00:23:01 +00:00
Roland McGrath
e0acc021ce
2002-08-13 Jakub Jelinek <jakub@redhat.com>
...
* include/unistd.h (seteuid, setegid): Add libc_hidden_proto.
* sysdeps/generic/seteuid.c (seteuid): Add libc_hidden_def.
* sysdeps/generic/setegid.c (setegid): Likewise.
* sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
* sysdeps/mach/hurd/setegid.c (setegid): Likewise.
* sysdeps/unix/bsd/seteuid.c (seteuid): Likewise.
* sysdeps/unix/bsd/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/aix/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/aix/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
* sysdeps/unix/sysv/linux/setegid.c (setegid): Likewise.
* sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
Remove fallback if __ASSUME_SETRESUID_SYSCALL.
2002-08-13 00:22:48 +00:00
Roland McGrath
216e12e222
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-05 02:18:11 +00:00
Ulrich Drepper
28b5d5afc6
(glob, globfree, globfree64): Add libc_hidden_ver.
2002-08-05 00:31:32 +00:00
Ulrich Drepper
9b4c30e300
Add _sys_siglist_internal alias.
2002-08-04 23:26:50 +00:00
Ulrich Drepper
a42044dc37
(__xmknod): Add libc_hidden_def.
2002-08-04 09:23:46 +00:00
Ulrich Drepper
1d343348c1
(__sysconf): Add libc_hidden_def.
2002-08-04 09:16:35 +00:00
Roland McGrath
e38327be06
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
setpriority.
* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/generic/getpriority.c: Likewise.
2002-08-04 03:50:10 +00:00
Roland McGrath
237b9f1c7b
2002-08-03 Roland McGrath <roland@redhat.com>
...
* sysdeps/unix/sysv/linux/x86_64/clone.S (thread_start): Use
HIDDEN_JUMPTARGET for _exit.
* sysdeps/unix/sysv/linux/m68k/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/i386/clone.S (thread_start): Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/_exit.S (_exit): Add libc_hidden_def.
2002-08-04 01:28:09 +00:00
Roland McGrath
6af0779175
2002-08-03 Roland McGrath <roland@redhat.com>
...
* include/signal.h: Use libc_hidden_proto for raise, sigemptyset,
sigfillset, sigismember, __sigpause, __libc_current_sigrtmin,
and __libc_current_sigrtmax.
* signal/sigismem.c: Add libc_hidden_def.
* signal/sigfillset.c: Likewise.
* signal/sigempty.c: Likewise.
* sysdeps/generic/sigpause.c (__sigpause): Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
2002-08-03 22:26:02 +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
Ulrich Drepper
31db6c4d74
(PUSHARGS_1): Use more efficient instruction.
...
(__socket): Optimize return sequence.
2002-07-24 17:36:44 +00:00
Ulrich Drepper
541ee34198
Improve schedule.
2002-07-24 17:36:14 +00:00
Ulrich Drepper
b24fa78c3b
Remove extra weak alias definiton of _old_sys_nerr. Define _old_sys_errlist
...
as strong alias.
2002-07-24 11:17:01 +00:00
Ulrich Drepper
841f536f46
Remove __set_errno definition.
2002-07-20 01:02:01 +00:00
Ulrich Drepper
d7fafc1a39
Sign extend offset.
2002-07-17 20:42:56 +00:00
Ulrich Drepper
176b5726d7
Don't include <sgidefs.h>. Always use ll/sc.
2002-07-16 00:58:07 +00:00
Ulrich Drepper
8310ff4225
[subdir=elf] (sysdep-rtld-routines, sysdep_routines, sysdep-dl-routines): Don't
...
define.
2002-07-15 02:07:17 +00:00
Andreas Jaeger
d6749b4a61
* sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump):
...
Use correct indices.
Patch by Eliot Dresselhaus <eliot@ayrnetworks.com>.
2002-07-12 23:25:56 +00:00
Ulrich Drepper
d97abfcbcb
(__NSSBITS): Correct value.
2002-07-10 20:24:32 +00:00
Ulrich Drepper
064d652e93
Wrong approach.
2002-07-10 20:22:09 +00:00
Andreas Jaeger
3fb27d8d9a
Linux/MIPS specific file with extra value of SHMLBA.
2002-07-09 06:32:55 +00:00
Andreas Jaeger
a1950a964a
Test for _SYS_UTSNAME_H, not _UTSNAME_H.
2002-07-08 16:59:14 +00:00
Andreas Jaeger
4223e67fa1
Fix typo.
2002-07-08 16:58:14 +00:00
Ulrich Drepper
ac309f11ea
(__fork): Remove INTDEF.
2002-06-20 22:43:34 +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
Andreas Jaeger
eb7e1f616e
Don't use multiline string as argument of #error.
2002-05-19 16:24:27 +00:00
Ulrich Drepper
a514656381
(__recvmsg, __sendmsg): Add aliases.
2002-05-15 00:20:02 +00:00
Ulrich Drepper
4c68ac2b46
(__getsockname): Renamed from getsockname, add getsockname as weak alias.
2002-05-15 00:14:45 +00:00
Ulrich Drepper
dd96b0cb1d
(__sendmsg): Renamed from sendmsg, add sendmsg as weak alias.
2002-05-15 00:10:13 +00:00
Ulrich Drepper
fa87d850d1
(__recvfrom): Renamed from recvfrom, add recvfrom as weak alias.
2002-05-15 00:08:25 +00:00
Ulrich Drepper
7fbbcc094f
(__recvmsg): Renamed from recvmsg, add recvmsg as weak alias.
2002-05-15 00:07:30 +00:00
Roland McGrath
942fe80901
2002-04-30 Roland McGrath <roland@frob.com>
...
Removed old GNU stdio implementation; GNU libio is now the only option.
* configure.in: Removed --enable-libio option and @stdio@ subst var.
Define USE_IN_LIBIO unconditionally.
* configure: Regenerated.
* Makeconfig (stdio): Set to libio by default.
* config.make.in (stdio): Variable removed.
* sysdeps/unix/sysv/linux/configure.in: Don't set $stdio.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/mach/hurd/configure.in: Don't test $stdio.
* sysdeps/mach/hurd/configure: Regenerated.
* stdio/.cvsignore: File removed.
* stdio/Makefile: File removed.
* stdio/Versions: File removed.
* stdio/__fbufsize.c: File removed.
* stdio/__flbf.c: File removed.
* stdio/__fpending.c: File removed.
* stdio/__fpurge.c: File removed.
* stdio/__freadable.c: File removed.
* stdio/__freading.c: File removed.
* stdio/__fsetlocking.c: File removed.
* stdio/__fwritable.c: File removed.
* stdio/__fwriting.c: File removed.
* stdio/clearerr.c: File removed.
* stdio/fclose.c: File removed.
* stdio/fcloseall.c: File removed.
* stdio/feof.c: File removed.
* stdio/ferror.c: File removed.
* stdio/fflush.c: File removed.
* stdio/fgetc.c: File removed.
* stdio/fgetpos.c: File removed.
* stdio/fgets.c: File removed.
* stdio/fileno.c: File removed.
* stdio/fmemopen.c: File removed.
* stdio/fopen.c: File removed.
* stdio/fopncook.c: File removed.
* stdio/fputc.c: File removed.
* stdio/fputs.c: File removed.
* stdio/fread.c: File removed.
* stdio/freopen.c: File removed.
* stdio/fseek.c: File removed.
* stdio/fsetpos.c: File removed.
* stdio/ftell.c: File removed.
* stdio/fwrite.c: File removed.
* stdio/getc.c: File removed.
* stdio/getchar.c: File removed.
* stdio/getdelim.c: File removed.
* stdio/gets.c: File removed.
* stdio/glue.c: File removed.
* stdio/internals.c: File removed.
* stdio/linewrap.c: File removed.
* stdio/linewrap.h: File removed.
* stdio/memstream.c: File removed.
* stdio/newstream.c: File removed.
* stdio/obstream.c: File removed.
* stdio/putc.c: File removed.
* stdio/putchar.c: File removed.
* stdio/puts.c: File removed.
* stdio/rewind.c: File removed.
* stdio/setbuf.c: File removed.
* stdio/setbuffer.c: File removed.
* stdio/setlinebuf.c: File removed.
* stdio/setvbuf.c: File removed.
* stdio/stdio.h: File removed.
* stdio/ungetc.c: File removed.
* stdio/vasprintf.c: File removed.
* stdio/vscanf.c: File removed.
* stdio/vsnprintf.c: File removed.
* stdio/vsprintf.c: File removed.
* stdio/vsscanf.c: File removed.
* sysdeps/generic/defs.c: File removed.
* sysdeps/generic/fdopen.c: File removed.
* sysdeps/generic/pipestream.c: File removed.
* sysdeps/generic/stdio_init.c: File removed.
* sysdeps/generic/sysd-stdio.c: File removed.
* sysdeps/generic/vdprintf.c: File removed.
* sysdeps/mach/hurd/defs.c: File removed.
* sysdeps/mach/hurd/fdopen.c: File removed.
* sysdeps/mach/hurd/pipestream.c: File removed.
* sysdeps/mach/hurd/stdio_init.c: File removed.
* sysdeps/mach/hurd/sysd-stdio.c: File removed.
* sysdeps/mach/hurd/vdprintf.c: File removed.
* sysdeps/posix/defs.c: File removed.
* sysdeps/posix/fdopen.c: File removed.
* sysdeps/posix/pipestream.c: File removed.
* sysdeps/posix/stdio_init.c: File removed.
* sysdeps/posix/vdprintf.c: File removed.
* sysdeps/unix/pipestream.c: File removed.
* sysdeps/unix/sysv/sysd-stdio.c: File removed.
* sysdeps/unix/sysv/sco3.2.4/pipestream.c: File removed.
* sysdeps/unix/sysv/sysv4/pipestream.c: File removed.
2002-04-30 22:00:59 +00:00
Ulrich Drepper
337ca8062e
Add __connect_internal.
2002-04-19 07:56:42 +00:00
Ulrich Drepper
9d337e61ff
Use INTDEF for __write.
2002-04-15 05:30:10 +00:00
Ulrich Drepper
548fe33d15
Use INTDEF for __lxstat64.
2002-04-15 05:28:30 +00:00
Ulrich Drepper
2093a68877
Use INTDEF for __lxstat.
2002-04-15 05:27:20 +00:00
Ulrich Drepper
0e36d9d57e
Use INTDEF for __open.
2002-04-14 20:12:24 +00:00
Ulrich Drepper
d0a1614c81
Undefine __libc_fcntl as well.
2002-04-14 18:34:22 +00:00
Ulrich Drepper
016f45be9b
Define __gettimeofday alias.
2002-04-14 09:12:57 +00:00
Ulrich Drepper
4c7b01bd93
Use INTEDEF for __gettimeofday.
2002-04-14 09:11:55 +00:00
Ulrich Drepper
5fe32a10ce
Use INTDEF for __getpgid.
2002-04-14 08:42:53 +00:00
Ulrich Drepper
a02fe38fa8
Use INTDEF for __getpagesize.
2002-04-14 08:41:04 +00:00
Ulrich Drepper
9155b112e9
Use INTDEF for __fxstat64.
2002-04-14 08:38:17 +00:00
Ulrich Drepper
144484daa4
Use INTDEF for __fxstat.
2002-04-14 08:37:17 +00:00
Ulrich Drepper
3ab5bc8a52
LOC): Don't paste in a token.
2002-04-11 20:38:52 +00:00
Ulrich Drepper
e4bf0032b0
Use INTUSE for __chown calls.
2002-04-09 20:26:17 +00:00
Ulrich Drepper
d6a57cb894
Use INTDEF for __fork.
2002-04-09 20:22:09 +00:00
Ulrich Drepper
1555f102ef
Use INTDEF for __connect.
2002-04-09 20:21:24 +00:00
Ulrich Drepper
db601cfcce
Use INTDEF for __chown.
2002-04-09 20:20:23 +00:00
Ulrich Drepper
a4b6834c4f
Use INTDEF for __fcntl.
2002-04-09 19:49:11 +00:00
Ulrich Drepper
521d1bc7f4
brk implementation for dynamic linker.
2002-04-06 01:34:06 +00:00
Ulrich Drepper
ef8af250ff
(_DL_HWCAP_COUNT): Define as 8.
2002-04-03 06:55:14 +00:00
Ulrich Drepper
9a168f2b42
Completely specify size of _dl_arm_cap_flags.
2002-04-03 06:54:28 +00:00
Roland McGrath
2d5fe9e39b
2002-03-23 Roland McGrath <roland@frob.com>
...
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
2002-03-24 01:55:18 +00:00
Ulrich Drepper
15a7702daa
(__libc_multiple_libcs): Define as hidden.
2002-03-13 03:49:52 +00:00
Ulrich Drepper
48e6095f0e
Define __libc_argc and __libc_argv as hidden.
2002-03-12 21:37:08 +00:00
Andreas Jaeger
b16fd2b050
* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Don't include
...
<signal.h>, <sys/ucontext.h> nor <asm/elf.h>. Updated for gdb.
* sysdeps/unix/sysv/linux/mips/sys/user.h: New.
2002-02-08 16:21:00 +00:00
Andreas Jaeger
c149ac8f45
* sysdeps/mips/atomicity.h (compare_and_swap): Remove
...
".set noreorder".
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
Likewise.
2002-02-08 16:15:32 +00:00
Andreas Jaeger
6d1e7ba623
Do not use branch likely.
2002-02-07 10:39:06 +00:00
Ulrich Drepper
d7d16bb3ea
(_test_and_set): Use branch likely.
2002-02-03 02:25:17 +00:00
Ulrich Drepper
a242df8440
Remove dl-procinfo.c.
2002-02-01 19:11:08 +00:00
Ulrich Drepper
8badabd849
_dl_fpu_control, _dl_fpu_control_set): Remove unused externs.
2002-02-01 19:03:37 +00:00
Ulrich Drepper
8bd56b60c4
Move _dl_hp_timing_overhead and procinfo-related variables in
...
rtld_global struct.
2002-02-01 07:48:43 +00:00
Ulrich Drepper
f71d7f5726
Move global variables for SHARED code in struct _rtld_global. Export
...
this struct, remove all exports for the signal variables.
2002-02-01 01:32:06 +00:00
Ulrich Drepper
6f68ec79d2
Avoid warning about comma at end of enum for !_GNU_SOURCE.
2002-01-18 23:37:53 +00:00
Ulrich Drepper
51e7253b84
Add sysv_termio.h and start-libc.c.
2002-01-08 21:54:58 +00:00
Ulrich Drepper
3c2105f0b0
Define _G_MMAP64.
2002-01-07 09:18:53 +00:00
Andreas Jaeger
90a0de032a
Remove __brk_addr alias, avoid warning.
2001-11-26 08:37:35 +00:00
Ulrich Drepper
decdce5e7c
(sysdep-routines): Add framestate.
2001-11-16 01:24:04 +00:00
Ulrich Drepper
9bfdd6609c
(__register_frame_info, __deregister_frame_info): Move to elf/Versions.
2001-11-16 01:22:33 +00:00
Andreas Schwab
ffd88164dc
New file to fix RLIM_INFINITY.
2001-11-09 19:57:55 +00:00
Andreas Jaeger
35b1d4b18e
Make sysmips() prototype a varargs prototype. Remove dependency from kernel header files.
2001-10-15 11:56:11 +00:00
Andreas Jaeger
f255cc1218
General cleanup, use __USE_MISC / __USE_XOPEN not __USE_BSD where appropriate.
2001-10-15 11:55:20 +00:00
Ulrich Drepper
916ea7e833
(struct cmsghdr): Don't declare __cmsg_data field if its size would be bigger
...
than 0.
(CMSG_DATA): Adjust accordingly.
2001-09-26 05:23:10 +00:00
Ulrich Drepper
177ac300b9
Add real implementation.
2001-09-22 21:28:25 +00:00
Ulrich Drepper
3805349500
(init): Use USE_NONONPTION_FLAG ifdef for __getopt_clean_environment.
2001-09-22 21:19:47 +00:00
Ulrich Drepper
7a250cfd1e
termio definitions for AIX.
2001-09-08 17:45:10 +00:00
Ulrich Drepper
e2cf1dd41d
Library startup code for AIX.
2001-09-08 17:44:33 +00:00
Ulrich Drepper
48255f4c66
Program startup code for AIX.
2001-09-08 17:41:25 +00:00
Ulrich Drepper
de447e48ce
Alias __libc_fcntl to __fcntl.
2001-09-08 17:40:41 +00:00
Ulrich Drepper
c25168ce57
Startup code for glibc on AIX.
2001-09-08 17:24:19 +00:00
Ulrich Drepper
51ca795a3c
Not needed anymore.
2001-09-08 17:23:45 +00:00
Ulrich Drepper
3dd5528154
(aix-syscalls.o): More linker command line options.
2001-09-08 17:22:27 +00:00
Ulrich Drepper
8c2b0506ec
Include <errno.h>.
...
(__syscall_gethostname): Add prototype.
2001-09-05 00:08:11 +00:00
Ulrich Drepper
19635181cc
gethostname implementation for Linux/Alpha.
2001-09-03 17:10:56 +00:00
Andreas Jaeger
fa5c1c570d
2001-08-24 Maciej W. Rozycki macro@ds2.pg.gda.pl
...
* sysdeps/unix/sysv/linux/mips/configure.in: Define AC_SUBST to
empty to prevent junk from being generated.
sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2001-08-24 18:27:55 +00:00
Ulrich Drepper
4435779790
Fix type of __id_t, __useconds_t and __intptr_t.
2001-08-16 05:32:49 +00:00
Ulrich Drepper
85e36b0922
Add rule to import kernel symbols.
2001-08-16 05:32:30 +00:00
Andreas Jaeger
a4f1359e63
* sysdeps/unix/sysv/linux/sparc/bits/poll.h (NPOLLFILE): Removed.
...
* sysdeps/unix/sysv/linux/mips/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/unix/sysv/linux/bits/poll.h (NPOLLFILE): Removed.
* sysdeps/generic/bits/poll.h (NPOLLFILE): Removed.
2001-07-31 07:46:06 +00:00
Ulrich Drepper
1e0904c1c1
Add dl-support.c, dl-addr.c, and dl-error.c.
2001-07-28 06:08:50 +00:00
Ulrich Drepper
2b948198f1
Add sys/procfs.h.
2001-07-28 06:07:40 +00:00
Andreas Schwab
db08f905e8
Don't mark asm input operand as clobbered.
2001-07-22 18:18:48 +00:00
Andreas Schwab
48bfe44538
(INLINE_SYSCALL): Don't mark asm input operand as clobbered.
2001-07-22 18:18:34 +00:00
Andreas Jaeger
c1babb4b9d
Synch with kernel.
2001-07-20 06:05:16 +00:00
Andreas Schwab
44dce39192
Fix last change.
2001-07-17 17:12:10 +00:00
Andreas Schwab
b5f709a1ff
Special versions for Linux/m68k.
2001-07-15 15:30:50 +00:00
Andreas Schwab
f476000f87
Check _dl_pagesize first. Default to 4096, not EXEC_PAGESIZE.
2001-07-15 15:25:11 +00:00
Ulrich Drepper
655f4b14c8
Improve nsendmsg prototype.
2001-07-08 07:15:01 +00:00
Ulrich Drepper
f89b56b804
(sendmsg): Fix return type.
2001-07-08 07:14:06 +00:00
Ulrich Drepper
c96d6988ab
(recvmsg): Fix return type.
2001-07-08 07:11:53 +00:00
Ulrich Drepper
7f82b7444c
(__recv): Fix typo.
2001-07-08 07:09:12 +00:00
Ulrich Drepper
097cf6fa03
AIX recv implementation.
2001-07-08 07:05:51 +00:00
Ulrich Drepper
a207bef32f
Fix various types.
2001-07-08 07:02:19 +00:00
Ulrich Drepper
0312b508ac
(__libc_dlclose): Fix typo.
2001-07-08 06:55:42 +00:00
Ulrich Drepper
da48cd782f
(__gettimeofday): Add declarations for asm functions.
2001-07-08 06:47:53 +00:00
Ulrich Drepper
af9dfe869f
Fix typo.
2001-07-07 19:19:16 +00:00
Andreas Jaeger
6b440a5c6e
Removed, we can use the generic Linux version.
2001-07-06 07:14:28 +00:00
Andreas Jaeger
3214b89b32
Update to LGPL v2.1.
2001-07-06 04:56:23 +00:00
Andreas Jaeger
6fbcd2261e
Synch with Linux 2.4.5:
...
* sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_BLUETOOTH):
New.
(AF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h
(PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h (AF_BLUETOOTH): New.
(PF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/bits/socket.h (PF_BLUETOOTH): New.
(AF_BLUETOOTH): New.
* sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_IEEE80211): New.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h (N_HCI): New.
* sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h (N_HCI): New.
* sysdeps/unix/sysv/linux/bits/ioctl-types.h (N_HCI): New.
2001-07-05 08:46:28 +00:00
Andreas Jaeger
a5bebe4c22
Remove check for crypt add-on.
2001-07-03 16:50:33 +00:00
Ulrich Drepper
3553aef886
Register dump function implementation for AIX/PPC.
2001-06-20 07:08:58 +00:00
Ulrich Drepper
aa21e7c94f
usleep implementation for AIX.
2001-06-20 07:08:26 +00:00
Ulrich Drepper
cc811924cd
sleep implementation for AIX.
2001-06-20 07:08:13 +00:00
Ulrich Drepper
55f326305c
setitimer implementation for AIX.
2001-06-20 07:07:41 +00:00
Ulrich Drepper
68dbc1fdab
Various helper functions for dynamic loader code.
2001-06-20 07:07:10 +00:00
Ulrich Drepper
dc0664c129
_dl_error implementation for AIX.
2001-06-20 07:06:11 +00:00
Ulrich Drepper
6fb75a6469
_dl_addr implementation for AIX.
2001-06-20 07:05:44 +00:00
Ulrich Drepper
b9823d7f91
Define __dso_handle if not ELF but shared.
2001-06-20 07:04:35 +00:00
Ulrich Drepper
ed556c3c99
Removed #if 0.
2001-06-20 07:04:05 +00:00
Ulrich Drepper
58e6e5bfc6
Added dl-support.c and dl-error.c.
2001-06-20 07:03:22 +00:00
Ulrich Drepper
99e859a488
Define __MAX_BAUD.
2001-06-14 00:21:01 +00:00
Andreas Jaeger
f325056f09
Implement syscall.
2001-06-06 11:49:29 +00:00
Andreas Jaeger
97b30982ce
Remove dummy syscall.
2001-06-06 11:49:17 +00:00
Andreas Jaeger
ed48681558
Call getrlimit, setrlimit directly instead of using wrappers.
2001-06-06 11:44:24 +00:00
Andreas Jaeger
b496bd686c
Removed.
2001-06-06 11:35:25 +00:00
Andreas Jaeger
b81e88a055
Linux/MIPS specific version.
2001-05-27 08:40:14 +00:00