platform/upstream/glibc.git
20 years ago2003-09-08 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 9 Sep 2003 06:44:48 +0000 (06:44 +0000)]
2003-09-08  Roland McGrath  <roland@frob.com>

* sysdeps/unix/sysv/linux/speed.c
(cfsetospeed): Only set c_ospeed under [_HAVE_STRUCT_TERMIOS_C_OSPEED].
(cfsetispeed): Only set c_ispeed under [_HAVE_STRUCT_TERMIOS_C_ISPEED].
* sysdeps/unix/sysv/linux/bits/termios.h
(_HAVE_STRUCT_TERMIOS_C_ISPEED, _HAVE_STRUCT_TERMIOS_C_OSPEED): Define.
* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.

20 years agoChange type of pthread_t to be compatible with LT.
Ulrich Drepper [Mon, 8 Sep 2003 23:56:13 +0000 (23:56 +0000)]
Change type of pthread_t to be compatible with LT.

20 years agoRemove unused __syscall_* prototypes.
Ulrich Drepper [Wed, 3 Sep 2003 03:21:27 +0000 (03:21 +0000)]
Remove unused __syscall_* prototypes.

20 years ago(sysdep_routines): Remove rt_*.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:54 +0000 (03:16 +0000)]
(sysdep_routines): Remove rt_*.

20 years ago(__syscall_*): Remove unused __syscall_ stubs.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:40 +0000 (03:16 +0000)]
(__syscall_*): Remove unused __syscall_ stubs.

20 years ago(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.
Ulrich Drepper [Wed, 3 Sep 2003 03:16:25 +0000 (03:16 +0000)]
(__syscall_recvfrom, __syscall_sendto): Remove unused aliases.

20 years agoNot needed anymore.
Ulrich Drepper [Wed, 3 Sep 2003 03:15:51 +0000 (03:15 +0000)]
Not needed anymore.

20 years ago(__syscall_rt_sigaction): New prototype.
Ulrich Drepper [Wed, 3 Sep 2003 03:15:08 +0000 (03:15 +0000)]
(__syscall_rt_sigaction): New prototype.

20 years ago(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
Ulrich Drepper [Wed, 3 Sep 2003 03:14:43 +0000 (03:14 +0000)]
(sysdep_routines): Remove rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo and rt_sigpending.

20 years agoAdditional versions for Linux/Alpha.
Ulrich Drepper [Wed, 3 Sep 2003 03:10:25 +0000 (03:10 +0000)]
Additional versions for Linux/Alpha.

20 years agoPOSIX limits for Linux/Alpha.
Ulrich Drepper [Wed, 3 Sep 2003 03:10:01 +0000 (03:10 +0000)]
POSIX limits for Linux/Alpha.

20 years agoNew file.
Jakub Jelinek [Mon, 1 Sep 2003 21:38:14 +0000 (21:38 +0000)]
New file.

20 years agoAdd posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.
Ulrich Drepper [Sun, 31 Aug 2003 18:13:35 +0000 (18:13 +0000)]
Add posix_fadvise64 and posix_fallocate64 at GLIBC_2.3.3.

20 years agoAdd semtimedop.
Ulrich Drepper [Sat, 30 Aug 2003 00:23:14 +0000 (00:23 +0000)]
Add semtimedop.

20 years ago(PSEUDO_ERRVAL): Define.
Ulrich Drepper [Mon, 25 Aug 2003 18:30:43 +0000 (18:30 +0000)]
(PSEUDO_ERRVAL): Define.
(PSEUDO_END_ERRVAL, ret_ERRVAL): Likewise.

20 years ago(posix_fadvise64): Add V flag.
Ulrich Drepper [Sun, 17 Aug 2003 00:34:12 +0000 (00:34 +0000)]
(posix_fadvise64): Add V flag.

20 years ago(PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.
Ulrich Drepper [Sun, 17 Aug 2003 00:33:13 +0000 (00:33 +0000)]
(PSEUDO_ERRVAL, PSEUDO_RET_ERRVAL, ret_ERRVAL, PSEUDO_END_ERRVAL): Define.

20 years agoDon't add new posix_fadvise64_64 syscall.
Ulrich Drepper [Sat, 16 Aug 2003 08:06:54 +0000 (08:06 +0000)]
Don't add new posix_fadvise64_64 syscall.

20 years agoDefine posix_fadvise64_64 entry. Add version info to posix_fadvise64 entry.
Ulrich Drepper [Sat, 16 Aug 2003 06:18:46 +0000 (06:18 +0000)]
Define posix_fadvise64_64 entry.  Add version info to posix_fadvise64 entry.

20 years agoAIX posix_madvise implementation.
Ulrich Drepper [Sat, 16 Aug 2003 06:13:49 +0000 (06:13 +0000)]
AIX posix_madvise implementation.

20 years ago(__SSIZE_T_TYPE): Define.
Ulrich Drepper [Thu, 31 Jul 2003 19:34:16 +0000 (19:34 +0000)]
(__SSIZE_T_TYPE): Define.

20 years ago(PT_EI): Add __attribute__((always_inline)).
Ulrich Drepper [Thu, 31 Jul 2003 19:15:42 +0000 (19:15 +0000)]
(PT_EI): Add __attribute__((always_inline)).

20 years ago* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
Alexandre Oliva [Thu, 31 Jul 2003 06:33:52 +0000 (06:33 +0000)]
* elf/dynamic-link.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Don't assume
reloc_addr is aligned.
* sysdeps/alpha/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/cris/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/hppa/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/i386/dl-machine.h (elf_machine_rel, elf_machine_rela,
elf_machine_rel_relative, elf_machine_rela_relative): Adjust.
* sysdeps/ia64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/m68k/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/mips/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/powerpc/powerpc64/dl-machine.h
(elf_machine_rela_relative, elf_machine_rela): Adjust.
* sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative):
* sysdeps/sh/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.
* sysdeps/x86_64/dl-machine.h (elf_machine_rela,
elf_machine_rela_relative): Adjust.

21 years agoHeader with a.out binary format definitions.
Ulrich Drepper [Fri, 25 Jul 2003 09:04:57 +0000 (09:04 +0000)]
Header with a.out binary format definitions.

21 years ago (PROCINFO_CLASS): Define if not yet defined. Use it instead of EXTERN.
Ulrich Drepper [Tue, 22 Jul 2003 22:07:18 +0000 (22:07 +0000)]
 (PROCINFO_CLASS): Define if not yet defined.  Use it instead of EXTERN.
Undefine at the end of the file.

21 years ago2003-07-16 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger [Wed, 16 Jul 2003 07:39:07 +0000 (07:39 +0000)]
2003-07-16  Daniel Jacobowitz  <drow@mvista.com>
    Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHMLBA): Define to
256K, remove unneeded declaration of __getpagesize.

21 years ago(_STATFS_F_FRSIZE): Define.
Ulrich Drepper [Sat, 12 Jul 2003 19:30:54 +0000 (19:30 +0000)]
(_STATFS_F_FRSIZE): Define.

21 years agoRemove CLFAGS-.oS addition.
Ulrich Drepper [Thu, 10 Jul 2003 09:22:13 +0000 (09:22 +0000)]
Remove CLFAGS-.oS addition.

21 years ago(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
Ulrich Drepper [Tue, 8 Jul 2003 03:42:27 +0000 (03:42 +0000)]
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): On
success return actual return value from the syscall, not 0.

21 years agoAvoid .ent/.end.
Ulrich Drepper [Tue, 8 Jul 2003 03:41:53 +0000 (03:41 +0000)]
Avoid .ent/.end.

21 years ago * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
Richard Henderson [Sat, 5 Jul 2003 22:56:39 +0000 (22:56 +0000)]
    * sysdeps/alpha/elf/initfini.c: Avoid .ent/.end.
        * sysdeps/alpha/elf/pt-initfini.c: Avoid .ent/.end.

21 years agoAsm macros for definition of cancelable syscall wrappers for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:49 +0000 (20:22 +0000)]
Asm macros for definition of cancelable syscall wrappers for nptl on Alpha.

21 years agosem_post implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:23 +0000 (20:22 +0000)]
sem_post implementation for nptl on Alpha.

21 years agopthread_once implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:22:10 +0000 (20:22 +0000)]
pthread_once implementation for nptl on Alpha.

21 years agovfork implementation for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:21:45 +0000 (20:21 +0000)]
vfork implementation for nptl on Alpha.

21 years agoLow level lock definitions for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:21:32 +0000 (20:21 +0000)]
Low level lock definitions for nptl on Alpha.

21 years agoAlpha specific fork in nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:57 +0000 (20:20 +0000)]
Alpha specific fork in nptl on Alpha.

21 years agoAlpha specific nptl code to start thread.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:36 +0000 (20:20 +0000)]
Alpha specific nptl code to start thread.

21 years agoPublic semaphore type definitions for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:19 +0000 (20:20 +0000)]
Public semaphore type definitions for Alpha.

21 years agoPublic type definitions for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:20:04 +0000 (20:20 +0000)]
Public type definitions for nptl on Alpha.

21 years agoMakefile for nptl on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 20:19:46 +0000 (20:19 +0000)]
Makefile for nptl on Alpha.

21 years agoTLS access definitions for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:25:45 +0000 (19:25 +0000)]
TLS access definitions for Alpha.

21 years agolibthread_db interface to map LWP ID to thread for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:25:32 +0000 (19:25 +0000)]
libthread_db interface to map LWP ID to thread for Alpha.

21 years agoGeneral definition for libpthread on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:25:02 +0000 (19:25 +0000)]
General definition for libpthread on Alpha.

21 years agoSpinlock trylock implementation for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:24:47 +0000 (19:24 +0000)]
Spinlock trylock implementation for Alpha.

21 years agoSpinlock implementation for Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:24:33 +0000 (19:24 +0000)]
Spinlock implementation for Alpha.

21 years agoInitialization code for libpthread on Alpha.
Ulrich Drepper [Tue, 1 Jul 2003 19:23:36 +0000 (19:23 +0000)]
Initialization code for libpthread on Alpha.

21 years ago * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.
Richard Henderson [Mon, 30 Jun 2003 23:21:49 +0000 (23:21 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S: Load child_tid properly.

21 years ago * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
Richard Henderson [Mon, 30 Jun 2003 23:21:38 +0000 (23:21 +0000)]
    * sysdeps/alpha/bits/atomic.h (__arch_compare_and_exchange_bool_*_int):
        Invert the sense of the return value.
        (__arch_exchange_16_int): Fix paste-o.
        (__arch_exchange_{32,64}_int): Fix think-o.

21 years ago2003-06-17 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Mon, 30 Jun 2003 09:33:13 +0000 (09:33 +0000)]
2003-06-17  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/xstatconv.c: Handle STAT_IS_KERNEL_STAT
case.
(xstat_conv): Rename to __xstat_conv and remove static inline.
(xstat64_conv): Likewise.

21 years ago2003-06-27 Jeroen Dekkers <jeroen@dekkers.cx>
Roland McGrath [Fri, 27 Jun 2003 20:58:22 +0000 (20:58 +0000)]
2003-06-27  Jeroen Dekkers  <jeroen@dekkers.cx>

* sysdeps/mach/hurd/alpha/init-first.c: Remove call to __libc_init.
* sysdeps/mach/hurd/i386/init-first.c: Likewise.
* sysdeps/mach/hurd/mips/init-first.c: Likewise.
* sysdeps/mach/hurd/powerpc/init-first.c: Likewise.

21 years agoDefine _STATBUF_ST_NSEC.
Ulrich Drepper [Thu, 26 Jun 2003 17:00:37 +0000 (17:00 +0000)]
Define _STATBUF_ST_NSEC.

21 years ago * sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
Andreas Schwab [Thu, 26 Jun 2003 16:18:13 +0000 (16:18 +0000)]
* sysdeps/m68k/fpu/bits/mathinline.h: Don't inline frexp.
* sysdeps/m68k/fpu/s_frexp.c: Put implementation here.
* sysdeps/m68k/fpu/s_frexpl.c: Fix to handle unnormalized numbers.

21 years ago(INLINE_SYSCALL): Cast result to long int.
Ulrich Drepper [Wed, 25 Jun 2003 08:18:08 +0000 (08:18 +0000)]
(INLINE_SYSCALL): Cast result to long int.

21 years agold.so cache deifnitions for mips.
Ulrich Drepper [Wed, 25 Jun 2003 08:03:24 +0000 (08:03 +0000)]
ld.so cache deifnitions for mips.

21 years ago(struct statfs): Add f_frsize field.
Ulrich Drepper [Tue, 24 Jun 2003 17:13:44 +0000 (17:13 +0000)]
(struct statfs): Add f_frsize field.
(struct statfs64): Likewise.

21 years ago * sysdeps/alpha/bits/atomic.h: New file.
Richard Henderson [Tue, 24 Jun 2003 17:03:59 +0000 (17:03 +0000)]
    * sysdeps/alpha/bits/atomic.h: New file.

21 years ago * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
Richard Henderson [Tue, 24 Jun 2003 16:38:45 +0000 (16:38 +0000)]
    * sysdeps/unix/sysv/linux/alpha/clone.S: Use HIDDEN_JUMPTARGET.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Use
        libc_hidden_def.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setfpucw.c: Use libc_hidden_proto
        on them.

21 years ago * sysdeps/alpha/fpu/bits/mathinline.h: Honor
Richard Henderson [Tue, 24 Jun 2003 16:33:49 +0000 (16:33 +0000)]
    * sysdeps/alpha/fpu/bits/mathinline.h: Honor
        __LIBC_INTERNAL_MATH_INLINES.  Implement __signbitf, __signbit.

21 years ago * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.
Richard Henderson [Tue, 24 Jun 2003 16:29:21 +0000 (16:29 +0000)]
    * sysdeps/alpha/setjmp.S (_setjmp, setjmp): Mark .prologue.

21 years ago * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
Richard Henderson [Tue, 24 Jun 2003 16:26:34 +0000 (16:26 +0000)]
    * sysdeps/unix/sysv/linux/alpha/syscalls.list (pread, pwrite): Use
        the 64-bit syscall name.

21 years agoUpdate.
Andreas Schwab [Tue, 24 Jun 2003 11:06:57 +0000 (11:06 +0000)]
Update.

21 years ago * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
Richard Henderson [Fri, 20 Jun 2003 19:24:17 +0000 (19:24 +0000)]
    * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list (open, open64): New.

21 years ago * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
Richard Henderson [Fri, 20 Jun 2003 16:24:36 +0000 (16:24 +0000)]
    * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL1): Use __builtin_expect.
        * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_ST_INO_64_BIT)
        Unset for alpha.
        (__ASSUME_TIMEVAL64): Set for alpha.
        * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
        adjtimex, osf_sigprocmask, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use INLINE_SYSCALL,
        __ASSUME_TIMEVAL64.  Reorg tv64 functions to avoid uninit variable.
        * sysdeps/unix/sysv/linux/alpha/getitimer.S: Use __ASSUME_TIMEVAL64.
        * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/ieee_get_fp_control.S: Streamline
        PIC code sequence.
        * sysdeps/unix/sysv/linux/alpha/ieee_set_fp_control.S: Likewise.
        * sysdeps/unix/sysv/linux/alpha/sigaction.c: New file.
        * sysdeps/unix/sysv/linux/alpha/sigprocmask.c: Use INLINE_SYSCALL.
        * sysdeps/unix/sysv/linux/alpha/ustat.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/xmknod.c: Likewise.
        * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove osf_sigprocmask,
        sys_ustat, sys_mknod, adjtimex, old_adjtimex.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL): Don't
        defer to __syscall_name; error for rt_sigaction.
        * sysdeps/unix/sysv/linux/alpha/xstatconv.c: Include kernel_stat.h.

21 years ago2003-06-15 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Sun, 15 Jun 2003 14:41:02 +0000 (14:41 +0000)]
2003-06-15  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/Makefile: Add missing endif and
create $(objpfx).

21 years agoFix handling of syscalls with more than four parameters.
Ulrich Drepper [Thu, 12 Jun 2003 16:18:11 +0000 (16:18 +0000)]
Fix handling of syscalls with more than four parameters.

21 years agoDon't inline the function. Export them. Prepend __ to name.
Ulrich Drepper [Wed, 11 Jun 2003 22:37:05 +0000 (22:37 +0000)]
Don't inline the function. Export them.  Prepend __ to name.

21 years agoNew sequences for 5+ arg syscalls only needed for PIC.
Ulrich Drepper [Fri, 6 Jun 2003 17:31:40 +0000 (17:31 +0000)]
New sequences for 5+ arg syscalls only needed for PIC.

21 years ago * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
Richard Henderson [Fri, 6 Jun 2003 05:54:15 +0000 (05:54 +0000)]
    * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
        * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
        * sysdeps/alpha/elf/start.S: Likewise.  Remove pointless allocation.
        * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use standard ldgp
        entry sequence and explicit relocs.  Add unwind info for sigreturn
        and rt_sigreturn.
        * configure.in (libc_cv_asm_cfi_directives): Test .cfi_remember_state.
        * configure: Regenerate.

21 years ago * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
Richard Henderson [Fri, 6 Jun 2003 05:52:52 +0000 (05:52 +0000)]
    * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
        Annotate some parameters.
        * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

21 years ago * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.
Richard Henderson [Fri, 6 Jun 2003 05:51:53 +0000 (05:51 +0000)]
    * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Fix typo in conversion.

21 years ago2003-05-30 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Fri, 30 May 2003 17:41:46 +0000 (17:41 +0000)]
2003-05-30  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for
SETUP_GP64 and friends.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register
names in internal_syscall{6,7}.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix
number of syscall arguments.
* sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.

21 years ago2003-05-11 Andreas Schwab <schwab@suse.de>
Roland McGrath [Wed, 28 May 2003 21:05:12 +0000 (21:05 +0000)]
2003-05-11  Andreas Schwab  <schwab@suse.de>

* Makerules: Always use -MP together with -MD.
(sed-remove-dotot): Substitute $(..) also at start of line.
($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES.
Generated defines with a single compiler call.
Use $(sed-remove-dotdot).
* mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead
of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx).
* sysdeps/unix/sysv/linux/mips/Makefile
($(objpfx)syscall-%.h): Likewise.

21 years ago2003-05-20 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Thu, 22 May 2003 02:26:29 +0000 (02:26 +0000)]
2003-05-20  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.

21 years ago(atomic_exchange_acq): Renamed from atomic_exchange.
Ulrich Drepper [Sat, 10 May 2003 05:29:30 +0000 (05:29 +0000)]
(atomic_exchange_acq): Renamed from atomic_exchange.

21 years ago(IPCOP_semtimedop): Define.
Ulrich Drepper [Fri, 2 May 2003 23:24:56 +0000 (23:24 +0000)]
(IPCOP_semtimedop): Define.

21 years ago* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
Alexandre Oliva [Wed, 30 Apr 2003 23:22:09 +0000 (23:22 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
uc_flags long for all ABIs.

21 years agoAdd libc_hidden_builtin_def.
Ulrich Drepper [Tue, 29 Apr 2003 22:47:20 +0000 (22:47 +0000)]
Add libc_hidden_builtin_def.

21 years agosemtimedop implementation for Linux/m68k.
Andreas Schwab [Sun, 27 Apr 2003 17:08:00 +0000 (17:08 +0000)]
semtimedop implementation for Linux/m68k.

21 years agoDefine SI_TKILL.
Ulrich Drepper [Mon, 21 Apr 2003 07:27:10 +0000 (07:27 +0000)]
Define SI_TKILL.

21 years agoSync with Linux 2.5.67.
Ulrich Drepper [Sat, 19 Apr 2003 18:31:57 +0000 (18:31 +0000)]
Sync with Linux 2.5.67.

21 years ago* sysdeps/unix/sysv/linux/mips/profil-counter: New.
Alexandre Oliva [Sun, 13 Apr 2003 11:36:32 +0000 (11:36 +0000)]
* sysdeps/unix/sysv/linux/mips/profil-counter: New.
* sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Port to n32/n64.
* sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: New.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Port to n32/n64.
(mcontext_t): Make it match the 32-bit mips kernel in o32.
* sysdeps/unix/sysv/linux/mips/sys/user.h: Bring in constants from
the mips and mips64 headers.
(struct user): Port to n32/n64.

21 years agoAllow file to be included multiple times.
Ulrich Drepper [Sat, 12 Apr 2003 00:51:50 +0000 (00:51 +0000)]
Allow file to be included multiple times.

21 years agoRemove FLT_EVAL_METHOD definition.
Ulrich Drepper [Wed, 9 Apr 2003 07:39:17 +0000 (07:39 +0000)]
Remove FLT_EVAL_METHOD definition.

21 years ago* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
Alexandre Oliva [Wed, 9 Apr 2003 02:51:04 +0000 (02:51 +0000)]
* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on
NewABI.
(ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on
NewABI.
* sysdeps/mips/mips64/memcpy.S: Adjust register naming
conventions.
* sysdeps/mips/mips64/memset.S: Likewise.
* sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]:
Use t0 instead of t4 as temporary.

21 years ago* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
Alexandre Oliva [Sat, 5 Apr 2003 19:57:35 +0000 (19:57 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New.
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New.
* sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available
on mips n32.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
XSTAT_IS_XSTAT64 must not be used for mips n64.  Use 64-bit data
structure on n32 as well.
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant
data types on n32 and n64.

21 years ago* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
Alexandre Oliva [Fri, 4 Apr 2003 05:12:00 +0000 (05:12 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust
for n64 abi.

21 years ago(PSEUDO): Add missing ; after ENTRY use.
Ulrich Drepper [Thu, 3 Apr 2003 19:32:34 +0000 (19:32 +0000)]
(PSEUDO): Add missing ; after ENTRY use.

21 years ago(_NSIG): Define to 65.
Ulrich Drepper [Tue, 1 Apr 2003 06:16:53 +0000 (06:16 +0000)]
(_NSIG): Define to 65.

21 years ago(atomic_increment_and_test): Define.
Andreas Schwab [Mon, 31 Mar 2003 16:01:09 +0000 (16:01 +0000)]
(atomic_increment_and_test): Define.
(atomic_decrement_and_test): Fix test.

21 years ago* configure.in: Add mips64* support.
Alexandre Oliva [Sat, 29 Mar 2003 08:15:29 +0000 (08:15 +0000)]
* configure.in: Add mips64* support.
* configure: Rebuilt.
* sysdeps/mips/bits/endian.h: Make it bi-endian.
* sysdeps/mips/mipsel/bits/endian.h: Removed.
* sysdeps/mips/mips64/n32/el/bits/endian.h: Removed.
* sysdeps/mips/mips64/n64/el/bits/endian.h: Removed.
* sysdeps/mips/mips32/Makefile (CC): Add -mabi=32.
* sysdeps/mips/mips64/n32/Makefile (CC): Add -mabi=n32.
* sysdeps/mips/mips64/n64/Makefile (CC): Add -mabi=64.
* sysdeps/mips/Implies: Moved wordsize-32 to...
* sysdeps/mips/mips32/Implies: New file.
* sysdeps/unix/mips/sysdep.h (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO,
ret_NOERRNO): New.
(ret, PSEUDO_END): Moved past END.
(PSEUDO): Moved to...
* sysdeps/unix/mips/mips32/sysdep.h: New file.
* sysdeps/unix/mips/mips64/n32/sysdep.h: Removed #undef PSEUDO.
* sysdeps/unix/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: New file.

21 years ago* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
Alexandre Oliva [Sat, 29 Mar 2003 08:01:57 +0000 (08:01 +0000)]
* sysdeps/unix/sysv/linux/mips/clone.S (__thread_start):
Re-introduce ENTRY.

21 years ago* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.
Alexandre Oliva [Fri, 28 Mar 2003 07:02:35 +0000 (07:02 +0000)]
* sysdeps/unix/mips/sysdep.S: Include sys/asm.h.

21 years ago* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.
Alexandre Oliva [Fri, 28 Mar 2003 06:11:03 +0000 (06:11 +0000)]
* sysdeps/unix/sysv/linux/mips/configure: Rebuilt.

21 years ago2003-03-27 Philip Blundell <philb@gnu.org>
Roland McGrath [Thu, 27 Mar 2003 02:45:49 +0000 (02:45 +0000)]
2003-03-27  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO_RET_NOERRNO): Use
unconditional mov.  Remove nop.

21 years ago2003-03-27 Philip Blundell <philb@gnu.org>
Roland McGrath [Thu, 27 Mar 2003 02:45:46 +0000 (02:45 +0000)]
2003-03-27  Philip Blundell  <philb@gnu.org>

* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm.
* sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code
when __ASSUME_VFORK_SYSCALL is defined.
* sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for
__ASSUME_MMAP2_SYSCALL.
* sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for
__ASSUME_REALTIME_SIGNALS.

21 years ago(struct siginfo): Avoid no-op padding element.
Ulrich Drepper [Wed, 26 Mar 2003 23:41:57 +0000 (23:41 +0000)]
(struct siginfo): Avoid no-op padding element.

21 years ago(struct siginfo): Adjust timer info for what the kernel provides these days.
Ulrich Drepper [Wed, 26 Mar 2003 04:48:10 +0000 (04:48 +0000)]
(struct siginfo): Adjust timer info for what the kernel provides these days.
(struct sigevent): Add _tid field.
Define SIGEV_THREAD_ID.
Remove struct __pthread_attr_s forward declaration.

21 years agoFix typos.
Andreas Schwab [Tue, 25 Mar 2003 23:40:18 +0000 (23:40 +0000)]
Fix typos.

21 years agoDefine ret_NOERRNO.
Andreas Schwab [Tue, 25 Mar 2003 23:15:40 +0000 (23:15 +0000)]
Define ret_NOERRNO.