external/glibc.git
21 years ago(__lseek): Add libc_hidden_def.
Ulrich Drepper [Tue, 31 Dec 2002 20:40:18 +0000 (20:40 +0000)]
(__lseek): Add libc_hidden_def.

21 years agoUse libc_hidden_def(name) instead of strong_alias (name, __GI_name).
Ulrich Drepper [Tue, 31 Dec 2002 20:37:32 +0000 (20:37 +0000)]
Use libc_hidden_def(name) instead of strong_alias (name, __GI_name).

21 years ago * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
Andreas Jaeger [Tue, 31 Dec 2002 13:24:33 +0000 (13:24 +0000)]
* 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.

21 years agoAdd __GI___vfork alias.
Ulrich Drepper [Tue, 31 Dec 2002 11:10:33 +0000 (11:10 +0000)]
Add __GI___vfork alias.

21 years agoAdd __GI___fork alias.
Ulrich Drepper [Tue, 31 Dec 2002 11:07:26 +0000 (11:07 +0000)]
Add __GI___fork alias.

21 years agoAdd libc_hidden_def for __fork.
Ulrich Drepper [Tue, 31 Dec 2002 11:05:04 +0000 (11:05 +0000)]
Add libc_hidden_def for __fork.

21 years agoAdd libc_hidden_def for __nanosleep.
Ulrich Drepper [Tue, 31 Dec 2002 10:22:40 +0000 (10:22 +0000)]
Add libc_hidden_def for __nanosleep.

21 years agoAdd __GI__setjmp alias.
Ulrich Drepper [Tue, 31 Dec 2002 09:35:36 +0000 (09:35 +0000)]
Add __GI__setjmp alias.

21 years agoAdd cancellation support.
Andreas Schwab [Fri, 27 Dec 2002 22:15:18 +0000 (22:15 +0000)]
Add cancellation support.

21 years agoFix thinko.
Andreas Schwab [Sat, 21 Dec 2002 21:05:31 +0000 (21:05 +0000)]
Fix thinko.

21 years ago(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.
Andreas Schwab [Sat, 21 Dec 2002 20:08:15 +0000 (20:08 +0000)]
(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.

21 years agoFix warning.
Andreas Schwab [Sat, 21 Dec 2002 20:07:49 +0000 (20:07 +0000)]
Fix warning.

21 years ago(INTERNAL_SYSCALL): Define.
Andreas Schwab [Sat, 21 Dec 2002 19:36:50 +0000 (19:36 +0000)]
(INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

21 years agoUse INTERNAL_SYSCALL.
Andreas Schwab [Sat, 21 Dec 2002 19:36:29 +0000 (19:36 +0000)]
Use INTERNAL_SYSCALL.

21 years agoElide compatibility cruft when new enough kernel is assumed.
Ulrich Drepper [Sat, 21 Dec 2002 18:37:16 +0000 (18:37 +0000)]
Elide compatibility cruft when new enough kernel is assumed.

21 years agoSmall optimisation.
Ulrich Drepper [Sat, 21 Dec 2002 18:36:55 +0000 (18:36 +0000)]
Small optimisation.

21 years ago(_start): Optimise a little. Push stack top as seventh arg to
Ulrich Drepper [Sat, 21 Dec 2002 18:36:32 +0000 (18:36 +0000)]
(_start): Optimise a little.  Push stack top as seventh arg to
__libc_start_main.

21 years agoDefine SHM_HUGETLB.
Ulrich Drepper [Fri, 20 Dec 2002 10:31:10 +0000 (10:31 +0000)]
Define SHM_HUGETLB.

21 years ago(msgrcv, msgsnd): Make cancelable.
Ulrich Drepper [Wed, 18 Dec 2002 01:27:42 +0000 (01:27 +0000)]
(msgrcv, msgsnd): Make cancelable.

21 years agoConvert GCC extension initializer syntax to C99.
Ulrich Drepper [Mon, 16 Dec 2002 23:17:43 +0000 (23:17 +0000)]
Convert GCC extension initializer syntax to C99.

21 years ago2002-12-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 16 Dec 2002 10:25:34 +0000 (10:25 +0000)]
2002-12-16  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list: Add getpmsg, putpmsg.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove s_getpmsg,
s_putpmsg.
* sysdeps/unix/sysv/linux/i386/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/i386/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/m68k/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/mips/putpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/getpmsg.c: File removed.
* sysdeps/unix/sysv/linux/powerpc/putpmsg.c: File removed.

21 years agoMake inline syscall to _exit.
Andreas Schwab [Sun, 15 Dec 2002 21:39:21 +0000 (21:39 +0000)]
Make inline syscall to _exit.

21 years ago(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
Ulrich Drepper [Sun, 15 Dec 2002 00:52:49 +0000 (00:52 +0000)]
(accept, connect, recv, recvfrom, recvmsg, send, sendmsg, sendto): Make
cancelable.

21 years ago(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
Ulrich Drepper [Sun, 15 Dec 2002 00:49:51 +0000 (00:49 +0000)]
(llseek, pread, pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Make cancelable.

21 years ago(__libc_sigsuspend): Likewise.
Ulrich Drepper [Tue, 10 Dec 2002 20:33:27 +0000 (20:33 +0000)]
(__libc_sigsuspend): Likewise.

21 years ago(__libc_select): New alias.
Ulrich Drepper [Tue, 10 Dec 2002 20:33:12 +0000 (20:33 +0000)]
(__libc_select): New alias.

21 years ago2002-12-08 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 9 Dec 2002 20:37:24 +0000 (20:37 +0000)]
2002-12-08  Roland McGrath  <roland@redhat.com>

* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: 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-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

21 years agoAdded SHMLBA #define.
Ulrich Drepper [Sun, 8 Dec 2002 22:53:46 +0000 (22:53 +0000)]
Added SHMLBA #define.

21 years ago2002-12-05 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Thu, 5 Dec 2002 23:46:39 +0000 (23:46 +0000)]
2002-12-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
args to i:iipi.
(readahead): Change args to i:iii.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
Change args to i:iii.
* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
args to i:iiii.

21 years ago(struct sigevent): Change type of _attribute to void*.
Ulrich Drepper [Thu, 5 Dec 2002 00:23:59 +0000 (00:23 +0000)]
(struct sigevent): Change type of _attribute to void*.

21 years ago2002-12-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 3 Dec 2002 07:28:08 +0000 (07:28 +0000)]
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.

21 years ago2002-12-02 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 3 Dec 2002 02:50:52 +0000 (02:50 +0000)]
2002-12-02  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.

21 years ago(inline_syscall*): Avoid "=v" constraints.
Ulrich Drepper [Thu, 28 Nov 2002 22:47:27 +0000 (22:47 +0000)]
(inline_syscall*): Avoid "=v" constraints.

21 years agoChange defined(USE___THREAD) to USE___THREAD.
Ulrich Drepper [Thu, 28 Nov 2002 22:47:04 +0000 (22:47 +0000)]
Change defined(USE___THREAD) to USE___THREAD.

21 years agoSupport inline syscall with six arguments.
Andreas Schwab [Sun, 24 Nov 2002 19:41:42 +0000 (19:41 +0000)]
Support inline syscall with six arguments.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 09:26:56 +0000 (09:26 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 06:41:05 +0000 (06:41 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/Makefile (CFLAGS-rtld.c): New variable.
Set -mdisable-fpregs for this file.

21 years ago2002-11-11 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 19 Nov 2002 06:41:02 +0000 (06:41 +0000)]
2002-11-11  Carlos O'Donell  <carlos@baldric.uwo.ca>

        * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h:
        Define mcontext_t as a sigcontext.

21 years ago2002-11-11 Randolf Chung <tausq@debian.org>
Roland McGrath [Tue, 19 Nov 2002 06:40:57 +0000 (06:40 +0000)]
2002-11-11  Randolf Chung  <tausq@debian.org>

* sysdeps/hppa/fpu/libm-test-ulps: New file (generated).

21 years ago2002-11-15 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 15 Nov 2002 22:51:20 +0000 (22:51 +0000)]
2002-11-15  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/dl-machine.h (elf_machine_rela): Handle R_386_COPY.
* sysdeps/arm/dl-machine.h (elf_machine_rela): Handle R_ARM_COPY.

22 years ago2002-09-22 H.J. Lu <hjl@gnu.org>
Roland McGrath [Sat, 9 Nov 2002 00:36:04 +0000 (00:36 +0000)]
2002-09-22  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Moved to ...
* sysdeps/unix/sysv/linux/mmap64.c: ... here.
* sysdeps/unix/sysv/linux/hppa/mmap64.c: File removed.
* sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: FIle removed,

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:19:00 +0000 (02:19 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.
* 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.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:58 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* configure.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove test.
* configure: Regenerated.
* config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): Remove #undef.
* sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Use !samegp.
(RTLD_START): Likewise.  Access _dl_skip_args, _rtld_local, and
_dl_fini via gp-relative relocations.
* sysdeps/alpha/fpu/e_sqrt.c: Use !samegp.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:51 +0000 (02:18 +0000)]
2002-11-07  Richard Henderson  <rth@redhat.com>

* linuxthreads/sysdeps/alpha/tls.h: New file.
* sysdeps/alpha/dl-tls.h: New file.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:49 +0000 (02:18 +0000)]
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.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:48 +0000 (02:18 +0000)]
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.

22 years ago2002-11-07 Richard Henderson <rth@redhat.com>
Roland McGrath [Fri, 8 Nov 2002 02:18:45 +0000 (02:18 +0000)]
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.

22 years ago2002-11-06 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 22:14:25 +0000 (22:14 +0000)]
2002-11-06  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/mips/configure.in: File removed.
* sysdeps/unix/sysv/linux/mips/configure: Likewise.

22 years ago2002-11-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 03:19:47 +0000 (03:19 +0000)]
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>.

22 years ago2002-11-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 6 Nov 2002 02:53:24 +0000 (02:53 +0000)]
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.

22 years ago2002-11-02 H.J. Lu <hjl@gnu.org>
Roland McGrath [Sat, 2 Nov 2002 23:13:16 +0000 (23:13 +0000)]
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.

22 years ago2002-10-29 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 1 Nov 2002 20:48:33 +0000 (20:48 +0000)]
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.

22 years ago2002-10-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 25 Oct 2002 19:41:24 +0000 (19:41 +0000)]
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.

22 years ago2002-10-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 24 Oct 2002 19:13:38 +0000 (19:13 +0000)]
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.

22 years ago2002-10-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 23 Oct 2002 23:49:01 +0000 (23:49 +0000)]
2002-10-23  Roland McGrath  <roland@redhat.com>

* sysvipc/Makefile (headers): Add bits/ipctypes.h here.
* sysdeps/generic/bits/ipctypes.h: New file.
* sysdeps/mips/bits/ipctypes.h: New file.
* sysdeps/gnu/bits/shm.h: Include <bits/ipctypes.h>.
* sysdeps/gnu/bits/msq.h: Likewise.
* sysvipc/sys/ipc.h: Likewise.

22 years ago2002-10-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 23 Oct 2002 23:48:58 +0000 (23:48 +0000)]
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.

22 years ago2002-10-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 23 Oct 2002 23:48:55 +0000 (23:48 +0000)]
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.

22 years ago2002-10-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 23 Oct 2002 23:48:50 +0000 (23:48 +0000)]
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.

22 years ago2002-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 19 Oct 2002 20:06:29 +0000 (20:06 +0000)]
2002-10-19  Roland McGrath  <roland@redhat.com>

* config.make.in: Nix completely-soft nonsense.
* configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
of machine directories instead of fpu subdirectory.
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
* sysdeps/powerpc/nofpu/sim-full.c: ... here.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
* sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
* sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetenv.c: ... here.
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fegetround.c: ... here.
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
* sysdeps/powerpc/nofpu/fesetround.c: ... here.
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
* sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
* sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
* sysdeps/powerpc/nofpu/fenv_const.c: ... here.
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
* sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
* sysdeps/powerpc/nofpu/soft-supp.h: ... here.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
* sysdeps/powerpc/nofpu/Versions: ... here, new file.

22 years ago2002-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 19 Oct 2002 20:03:50 +0000 (20:03 +0000)]
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.

22 years ago2002-10-19 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 19 Oct 2002 20:03:40 +0000 (20:03 +0000)]
2002-10-19  Roland McGrath  <roland@redhat.com>

* config.make.in: Nix completely-soft nonsense.
* configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
of machine directories instead of fpu subdirectory.
* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu.
* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
* sysdeps/powerpc/nofpu/Versions: ... here, new file.

22 years ago2002-10-18 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 18 Oct 2002 22:37:29 +0000 (22:37 +0000)]
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.

22 years ago2002-10-18 Jeff Bailey <jbailey@gnu.org>
Roland McGrath [Fri, 18 Oct 2002 22:15:36 +0000 (22:15 +0000)]
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.

22 years ago2002-10-18 Jeff Bailey <jbailey@gnu.org>
Roland McGrath [Fri, 18 Oct 2002 20:27:53 +0000 (20:27 +0000)]
2002-10-18  Jeff Bailey  <jbailey@gnu.org>

        * configure.in: Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
        * sysdeps/alpha/elf/configure.in: Likewise.
        * sysdeps/i386/elf/configure.in: Likewise.
        * sysdeps/mach/hurd/configure.in: Likewise.
        * sysdeps/x86_64/elf/configure.in: Likewise.

22 years ago2002-10-18 Jeff Bailey <jbailey@gnu.org>
Roland McGrath [Fri, 18 Oct 2002 19:38:00 +0000 (19:38 +0000)]
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.

22 years ago2002-10-18 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 18 Oct 2002 19:03:49 +0000 (19:03 +0000)]
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.

22 years ago2002-10-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 16 Oct 2002 22:09:41 +0000 (22:09 +0000)]
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.

22 years ago2002-10-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 16 Oct 2002 01:02:28 +0000 (01:02 +0000)]
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.

22 years ago2002-10-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 16 Oct 2002 01:02:24 +0000 (01:02 +0000)]
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.

22 years ago(__fpathconf): Add support for reiserfs and xfs.
Ulrich Drepper [Wed, 16 Oct 2002 00:36:59 +0000 (00:36 +0000)]
(__fpathconf): Add support for reiserfs and xfs.

22 years ago(profil_counter): Add hack to prevent the compiler from clobbering the signal
Ulrich Drepper [Mon, 14 Oct 2002 17:26:14 +0000 (17:26 +0000)]
(profil_counter): Add hack to prevent the compiler from clobbering the signal
context.

22 years agoRegenerated.
Andreas Jaeger [Mon, 14 Oct 2002 08:59:01 +0000 (08:59 +0000)]
Regenerated.

22 years ago2002-10-13 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 14 Oct 2002 01:03:03 +0000 (01:03 +0000)]
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.

22 years ago2002-10-13 Roland McGrath <roland@frob.com>
Roland McGrath [Mon, 14 Oct 2002 01:02:53 +0000 (01:02 +0000)]
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.

22 years ago2002-10-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 11 Oct 2002 10:51:31 +0000 (10:51 +0000)]
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.

22 years ago(__writev): Rename to __libc_writev and make old name an alias.
Ulrich Drepper [Wed, 9 Oct 2002 09:35:00 +0000 (09:35 +0000)]
(__writev): Rename to __libc_writev and make old name an alias.

22 years ago(waitid): Rename to __waitid and make old name an alias.
Ulrich Drepper [Wed, 9 Oct 2002 09:28:58 +0000 (09:28 +0000)]
(waitid): Rename to __waitid and make old name an alias.

22 years ago(__readv): Rename to __libc_readv and make old name an alias.
Ulrich Drepper [Wed, 9 Oct 2002 09:25:29 +0000 (09:25 +0000)]
(__readv): Rename to __libc_readv and make old name an alias.

22 years agoDon't access memory beyond the source buffer.
Ulrich Drepper [Thu, 3 Oct 2002 09:14:46 +0000 (09:14 +0000)]
Don't access memory beyond the source buffer.

22 years agoNot needed anymore. The generic version is sufficient.
Ulrich Drepper [Thu, 3 Oct 2002 08:57:30 +0000 (08:57 +0000)]
Not needed anymore.  The generic version is sufficient.

22 years agoRemove net/route.h.
Ulrich Drepper [Thu, 3 Oct 2002 08:54:48 +0000 (08:54 +0000)]
Remove net/route.h.

22 years agoAvoid unterminated string literals.
Ulrich Drepper [Thu, 3 Oct 2002 00:17:29 +0000 (00:17 +0000)]
Avoid unterminated string literals.

22 years agoTemporarily enable R_*_NONE relocs in ld.so.
Ulrich Drepper [Wed, 2 Oct 2002 20:24:20 +0000 (20:24 +0000)]
Temporarily enable R_*_NONE relocs in ld.so.

22 years ago * sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
Andreas Jaeger [Wed, 2 Oct 2002 11:01:06 +0000 (11:01 +0000)]
* sysdeps/mips/fpu/fraiseexcpt.c: Add internal definition.
* sysdeps/mips/fpu/fesetenv.c: Likewise.

22 years agoRegenerated: autoconf sysdeps/unix/sysv/aix/configure.in
Ulrich Drepper [Wed, 2 Oct 2002 05:08:36 +0000 (05:08 +0000)]
Regenerated: autoconf  sysdeps/unix/sysv/aix/configure.in

22 years agoRegenerated: autoconf sysdeps/alpha/elf/configure.in
Ulrich Drepper [Wed, 2 Oct 2002 05:07:46 +0000 (05:07 +0000)]
Regenerated: autoconf  sysdeps/alpha/elf/configure.in

22 years ago2002-02-08 Randolph Chung <tausq@debian.org>
Roland McGrath [Tue, 1 Oct 2002 19:42:02 +0000 (19:42 +0000)]
2002-02-08  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/elf/start.S: Define __data_start.

22 years ago2002-10-01 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Tue, 1 Oct 2002 19:42:01 +0000 (19:42 +0000)]
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.

22 years ago2002-09-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 28 Sep 2002 19:45:29 +0000 (19:45 +0000)]
2002-09-28  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Use INTUSE for
_dl_signal_error.
* sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.c
(_dl_reloc_overflow): Likewise.
* sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
(elf_machine_rela): Likewise.

22 years agoUpdate comment and remove stdio=libio setting.
Ulrich Drepper [Sat, 28 Sep 2002 18:03:10 +0000 (18:03 +0000)]
Update comment and remove stdio=libio setting.

22 years agoNot needed anymore.
Ulrich Drepper [Sat, 28 Sep 2002 18:02:05 +0000 (18:02 +0000)]
Not needed anymore.

22 years agoFix number of args to syscall.
Andreas Jaeger [Sat, 28 Sep 2002 13:40:10 +0000 (13:40 +0000)]
Fix number of args to syscall.

22 years agoDefine macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' with
Ulrich Drepper [Sat, 28 Sep 2002 04:34:00 +0000 (04:34 +0000)]
Define macro DO_ELF_MACHINE_REL_RELATIVE for 'elf_machine_rel_relative' with
extra map parameter required by HPPA.
(elf_machine_rela_relative): Add plt relocation changes.

22 years agoSysV shared memory definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:05:23 +0000 (04:05 +0000)]
SysV shared memory definitions for Linux/PA.

22 years agoSysV semaphore definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:04:44 +0000 (04:04 +0000)]
SysV semaphore definitions for Linux/PA.

22 years agoSysV message queue definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:03:54 +0000 (04:03 +0000)]
SysV message queue definitions for Linux/PA.

22 years agoIPC definitions for Linux/PA.
Ulrich Drepper [Sat, 28 Sep 2002 04:02:56 +0000 (04:02 +0000)]
IPC definitions for Linux/PA.

22 years agoAdd syscall_exit.
Andreas Jaeger [Wed, 25 Sep 2002 11:09:55 +0000 (11:09 +0000)]
Add syscall_exit.

22 years ago2002-09-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Sep 2002 01:57:50 +0000 (01:57 +0000)]
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.

22 years ago2002-09-21 Carlos O'Donell <carlos@baldric.uwo.ca>
Roland McGrath [Mon, 23 Sep 2002 03:30:34 +0000 (03:30 +0000)]
2002-09-21  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/hppa/abort-instr.h: New file.