external/glibc.git
16 years ago2008-08-07 Helge Deller <deller@gmx.de>
Carlos O'Donell [Thu, 7 Aug 2008 23:52:34 +0000 (23:52 +0000)]
2008-08-07  Helge Deller  <deller@gmx.de>

* sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/hppa/Makefile: New file.
* sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
* sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
* sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
* sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.

16 years agotimerfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:44:10 +0000 (04:44 +0000)]
timerfd.h header for Linux/Alpha.

16 years agosignalfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:44:03 +0000 (04:44 +0000)]
signalfd.h header for Linux/Alpha.

16 years agoinotify.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:59 +0000 (04:43 +0000)]
inotify.h header for Linux/Alpha.

16 years agoeventfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:52 +0000 (04:43 +0000)]
eventfd.h header for Linux/Alpha.

16 years agoepoll.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:46 +0000 (04:43 +0000)]
epoll.h header for Linux/Alpha.

16 years ago * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
Daniel Jacobowitz [Fri, 18 Jul 2008 13:24:21 +0000 (13:24 +0000)]
* sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
type.

16 years ago2008-07-18 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Fri, 18 Jul 2008 13:21:45 +0000 (13:21 +0000)]
2008-07-18  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/arm/eabi/fgetexcptflg.c: New.
* sysdeps/arm/eabi/fsetexcptflg.c (__fesetexceptflag): Operate on
set exception flags, not on mask of enabled exceptions.

16 years ago2008-07-18 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Fri, 18 Jul 2008 13:20:51 +0000 (13:20 +0000)]
2008-07-18  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/arm/eabi/feupdateenv.c: New.

16 years ago2008-07-18 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Fri, 18 Jul 2008 13:18:53 +0000 (13:18 +0000)]
2008-07-18  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/arm/libm-test-ulps: Update.

16 years ago2008-06-17 Aurelian Jarno <aurelien@aurel32.net>
Carlos O'Donell [Tue, 17 Jun 2008 11:45:52 +0000 (11:45 +0000)]
2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
    Carlos O'Donell  <carlos@systemhalted.org>

[BZ #6037]
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
(-EAGAIN) instead of 11. Loop again when the kernel
returns -45 (-EDEADLOCK). Add back memory clobber.
Do not initialize lws_ret and lws_errno.

16 years ago2008-06-17 Guy Martin <gmsoft@tuxicoman.be>
Carlos O'Donell [Tue, 17 Jun 2008 11:44:25 +0000 (11:44 +0000)]
2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>

[BZ #5957]
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
Use shared futex in lll_wait_tid().

16 years ago2008-06-01 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz [Mon, 2 Jun 2008 01:57:03 +0000 (01:57 +0000)]
2008-06-01  Paul Brook  <paul@codesourcery.com>
    Zack Weinberg  <zack@codesourcery.com>
    Daniel Jacobowitz  <dan@codesourcery.com>

* sysdeps/arm/nptl/pthread_spin_lock.S,
sysdeps/arm/nptl/pthread_spin_trylock.S: Delete.
* sysdeps/arm/nptl/pthread_spin_lock.c,
sysdeps/arm/nptl/pthread_spin_trylock.c: New files using
atomic_compare_and_exchange_val_acq to take spinlocks.
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (lll_trylock,
lll_cond_trylock): Use atomic_compare_and_exchange_val_acq.
(__lll_trylock, __lll_cond_trylock): Delete.
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h
(atomic_exchange_acq): Delete.
(atomic_full_barrier): Define.
(__arch_compare_and_exchange_val_32_acq): Use named operands.
* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Update
arch_minimum_kernel to 2.6.16.
* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerated.

16 years ago2008-05-21 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Wed, 21 May 2008 17:50:58 +0000 (17:50 +0000)]
2008-05-21  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
(SOCK_DCCP): Define.

16 years ago2008-05-12 Aurelien Jarno <aurelien@aurel32.net>
Carlos O'Donell [Mon, 12 May 2008 12:09:21 +0000 (12:09 +0000)]
2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>

[BZ #6506]
* sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
read while writing back status word.

16 years ago2008-05-01 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Thu, 1 May 2008 12:34:13 +0000 (12:34 +0000)]
2008-05-01  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
RUSAGE_THREAD and RUSAGE_LWP.

16 years agoDefine RUSAGE_THREAD and RUSAGE_LWP.
Ulrich Drepper [Thu, 1 May 2008 05:37:45 +0000 (05:37 +0000)]
Define RUSAGE_THREAD and RUSAGE_LWP.

16 years ago * sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic
Daniel Jacobowitz [Mon, 21 Apr 2008 15:54:22 +0000 (15:54 +0000)]
* sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic
version.

16 years ago * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
Daniel Jacobowitz [Mon, 21 Apr 2008 15:45:00 +0000 (15:45 +0000)]
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
shmid_ds.

* sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
shmid_ds.

16 years ago2008-04-21 Khem Raj <kraj@mvista.com>
Daniel Jacobowitz [Mon, 21 Apr 2008 15:41:06 +0000 (15:41 +0000)]
2008-04-21  Khem Raj  <kraj@mvista.com>

* sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.

16 years ago2008-04-21 Khem Raj <kraj@mvista.com>
Daniel Jacobowitz [Mon, 21 Apr 2008 15:37:36 +0000 (15:37 +0000)]
2008-04-21  Khem Raj  <kraj@mvista.com>

* sysdeps/unix/sysv/linux/arm/ioperm.c: Don't include asm/page.h.

16 years ago2008-04-21 Mike Frysinger <vapier@gentoo.org>
Daniel Jacobowitz [Mon, 21 Apr 2008 15:34:31 +0000 (15:34 +0000)]
2008-04-21  Mike Frysinger  <vapier@gentoo.org>

* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h (DOCARGS_6,
UNDOCARGS_6): Define.

16 years ago2008-04-21 Khem Raj <kraj@mvista.com>
Daniel Jacobowitz [Mon, 21 Apr 2008 15:26:44 +0000 (15:26 +0000)]
2008-04-21  Khem Raj  <kraj@mvista.com>

* sysdeps/unix/sysv/linux/arm/bits/shm.h: New file.

16 years ago2008-04-11 Paul Brook <paul@codesourcery.com>
Daniel Jacobowitz [Fri, 11 Apr 2008 14:21:43 +0000 (14:21 +0000)]
2008-04-11  Paul Brook  <paul@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>

* sysdeps/arm/eabi/machine-gmon.h: New file.
* sysdeps/arm/eabi/Versions: Add __gnu_mcount_nc.

16 years ago2008-04-04 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Fri, 4 Apr 2008 18:57:47 +0000 (18:57 +0000)]
2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>

* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
memory contraint and instead indicate that *mem is
written to.

16 years ago2008-04-02 Aurelien Jarno <aurelien@aurel32.net>
Daniel Jacobowitz [Wed, 2 Apr 2008 12:58:39 +0000 (12:58 +0000)]
2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
truncate and ftruncate systems calls.
* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
empty file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.

16 years ago * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
Daniel Jacobowitz [Fri, 28 Mar 2008 17:43:50 +0000 (17:43 +0000)]
* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
ARG_MAX if <linux/limits.h> has defined it.

16 years ago * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
Daniel Jacobowitz [Fri, 28 Mar 2008 17:41:20 +0000 (17:41 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
barriers to enforce strict ordering on weakly ordered systems.

16 years ago2008-03-28 Maxim Kuvyrkov <maxim@codesourcery.com>
Andreas Schwab [Fri, 28 Mar 2008 12:23:06 +0000 (12:23 +0000)]
2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>

Explicitly get address of _DYNAMIC.
* sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
from GOT instead of assuming value at GOT pointer.

16 years agoRemove open system call.
Ulrich Drepper [Thu, 27 Mar 2008 16:23:14 +0000 (16:23 +0000)]
Remove open system call.

16 years agoUndefined ARG_MAX if <linux/limits.h> has defined it.
Ulrich Drepper [Thu, 27 Mar 2008 15:19:41 +0000 (15:19 +0000)]
Undefined ARG_MAX if <linux/limits.h> has defined it.

16 years ago * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
Daniel Jacobowitz [Wed, 26 Mar 2008 13:21:26 +0000 (13:21 +0000)]
* sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
* sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
* sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.

16 years ago2008-03-24 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Mon, 24 Mar 2008 13:07:56 +0000 (13:07 +0000)]
2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>

* sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.

16 years ago2008-03-14 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Fri, 14 Mar 2008 23:40:55 +0000 (23:40 +0000)]
2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
    Guy Martin <gmsoft@tuxicoman.be>

[BZ #5923]
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
timespec and futexp.

16 years ago [BZ #5753]
Andreas Jaeger [Mon, 10 Mar 2008 06:20:30 +0000 (06:20 +0000)]
[BZ #5753]
* sysdeps/mips/ieee754.h: Use protected namespace
__BIG_ENDIAN/__LITTLE_ENDIAN.
Patch by Aurelien Jarno <aurelien@aurel32.net>.

16 years ago * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
Daniel Jacobowitz [Tue, 4 Mar 2008 19:39:30 +0000 (19:39 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
Reorganize to match other architectures.  Replace _timer._timer1
and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
_timer.si_sigval.  Correct the type of _sigpoll.si_band.
(si_timerid, si_overrun): Define.
(__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
(__pthread_attr_s): Remove declaration.
(struct sigevent): Remove XXX.  Add _tid.

16 years ago2008-02-22 Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Sat, 23 Feb 2008 01:18:18 +0000 (01:18 +0000)]
2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>

* sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
* sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.

16 years agoFix comment describing shmid_ds.
Ulrich Drepper [Wed, 16 Jan 2008 23:49:27 +0000 (23:49 +0000)]
Fix comment describing shmid_ds.

16 years ago * sysdeps/unix/sysv/linux/arm/profil-counter.h: Use the i386 version.
Daniel Jacobowitz [Fri, 21 Dec 2007 16:57:47 +0000 (16:57 +0000)]
* sysdeps/unix/sysv/linux/arm/profil-counter.h: Use the i386 version.
* sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump): Update
to use ucontext.
(REGISTER_DUMP): Likewise.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT,
SIGCONTEXT_EXTRA_ARGS, GET_PC, GET_FRAME, GET_STACK): Likewise.
(sigaction, __sigaction): Define.
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Delete.

16 years ago2007-12-05 Jeff Bailey <jeffbailey@google.com>
Jeff Bailey [Sun, 9 Dec 2007 02:20:34 +0000 (02:20 +0000)]
2007-12-05  Jeff Bailey  <jeffbailey@google.com>

       * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
          (__lll_unlock): Use define instead of inline function.
          (__lll_robust_unlock): Likewise.

17 years agoDefine F_DUPFD_CLOEXEC.
Daniel Jacobowitz [Mon, 22 Oct 2007 13:11:49 +0000 (13:11 +0000)]
Define F_DUPFD_CLOEXEC.

17 years ago2007-10-18 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Fri, 19 Oct 2007 01:47:47 +0000 (01:47 +0000)]
2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
(__lll_lock_wait): Add private argument. Pass private
to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
(__lll_lock_wait_private): New function.
(__lll_timedlock_wait): Add private argument. Pass private
to lll_futex_timed_wait.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
Include kernel-features.h and tls.h.
(FUTEX_WAITERS): Define.
(FUTEX_OWNER_DIED): Define.
(FUTEX_TID_MASK): Define.
(__lll_private_flag): Define.
(lll_futex_timed_wait): Use __lll_private_flag.
(lll_futex_wake): Use __lll_private_flag.
(lll_futex_requeue): Use __lll_private_flag.
(lll_robust_mutex_dead): Rename to...
(lll_robust_dead): ... this. Add private argument. Pass private
to lll_futex_wake.
(lll_futex_wake_unlock): Use __lll_private_flag.
(__lll_mutex_trylock): Remove.
(lll_mutex_tryock): Remove.
(__lll_robust_mutex_trylock): Rename to...
(__lll_robust_trylock): ... this.
(lll_robust_mutex_trylock): Rename to...
(lll_robust_trylock): ... this. Call __lll_robust_trylock.
(__lll_mutex_cond_trylock): Rename to...
(__lll_cond_trylock): ... this.
(lll_mutex_cond_trylock): Rename to...
(lll_cond_trylock): ... this. Call __lll_cond_trylock.
(__lll_mutex_lock): Add private argument.
(__lll_robust_mutex_lock): Remove.
(lll_mutex_lock): Define.
(__lll_robust_lock): Define.
(lll_robust_mutex_lock): Remove.
(__lll_mutex_cond_lock): Remove.
(lll_robust_lock) Define.
(lll_robust_cond_lock): Define.
(lll_robust_mutex_cond_lock): Remove.
(__lll_cond_lock): Define.
(lll_cond_lock): Define.
(__lll_mutex_timedlock): Remove.
(__lll_timedlock): Define.
(lll_timedlock): Define.
(lll_robust_mutex_timedlock): Remove.
(lll_robust_timedlock): Define.
(__lll_mutex_unlock): Remove.
(__lll_unlock): Define.
(__lll_robust_mutex_unlock): Remove.
(__lll_robust_unlock): Define.
(lll_robust_mutex_unlock): Remove.
(lll_robust_unlock): Define.
(__lll_mutex_unlock_force): Remove.
(lll_mutex_unlock_force): Remove.
(lll_islocked): Remove.
(lll_mutex_islocked): Rename to...
(lll_islocked): ... this.
(lll_trylock): Remove.
(lll_unlock): Remove.
(lll_wait_tid): Format whitespace.
(lll_cond_wait): Remove.
(lll_cond_timedwait): Remove.
(lll_cond_wake): Remove.
(lll_cond_broadcast): Remove.

17 years ago2007-10-17 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Thu, 18 Oct 2007 02:19:00 +0000 (02:19 +0000)]
2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
type and __THROW marker of splice, vmsplice, and tee.

17 years agoDefine F_DUPFD_CLOEXEC.
Ulrich Drepper [Wed, 17 Oct 2007 18:55:32 +0000 (18:55 +0000)]
Define F_DUPFD_CLOEXEC.

17 years ago * sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Correct return value
Daniel Jacobowitz [Tue, 25 Sep 2007 12:04:54 +0000 (12:04 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Correct return value
type and __THROW marker of splice, vmsplice, and tee.

* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
type and __THROW marker of splice, vmsplice, and tee.

17 years ago2007-09-24 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Mon, 24 Sep 2007 18:28:33 +0000 (18:28 +0000)]
2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/hppa/nptl/tls.h: Fix comment.
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
[__USE_GNU] (O_CLOEXEC): Define.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
if the library is unsupported.
[ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
__local_multiple_threads.

17 years agoCorrect return value type __THROW marker of splice, vmsplice, and tee.
Ulrich Drepper [Tue, 18 Sep 2007 16:20:44 +0000 (16:20 +0000)]
Correct return value type __THROW marker of splice, vmsplice, and tee.

17 years ago * sysdeps/unix/sysv/linux/arm/kernel-features.h: Undefine
Daniel Jacobowitz [Mon, 17 Sep 2007 16:31:32 +0000 (16:31 +0000)]
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Undefine
__ASSUME_PSELECT and __ASSUME_PPOLL.

17 years ago(__MATH_INLINE): Define to __extern_inline whenever that macro is defined.
Ulrich Drepper [Sat, 15 Sep 2007 02:31:47 +0000 (02:31 +0000)]
(__MATH_INLINE): Define to __extern_inline whenever that macro is defined.

17 years ago * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
Daniel Jacobowitz [Wed, 12 Sep 2007 12:57:41 +0000 (12:57 +0000)]
* sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
LLL_PRIVATE argument to lll_futex_wake.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
* sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
comment.
(PF_IUCV, PF_RXRPC): Define.
(PF_MAX): Update.
(AF_IUCV, AF_RXRPC): Define.
(MSG_CMSG_CLOEXEC): Define.
(_EXTERN_INLINE): Define to __extern_inline.
* sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
UTIME_OMIT): Define.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
LLL_LOCK_*.  Include <kernel-features.h>.
(LLL_LOCK_INITIALIZER): Remove duplicate definition.
(LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
* sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
(clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
lll_futex_wait.
(lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
private arguments.
(__lll_robust_trylock): Convert to macro.
(__lll_robust_lock_wait): Add private argument.
(__lll_lock_wait_private, __lll_lock_wait): Declare.
(__lll_lock): Convert to macro.  Take private argument.
(__lll_cond_lock): Likewise.
(lll_lock, lll_cond_lock): Take private arguments.
(__lll_robust_lock): Take private argument.  Convert to macro.
(lll_robust_lock, __lll_cond_lock, lll_cond_lock,
lll_robust_cond_lock): Take private arguments.
(__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
arguments.
(__lll_timedlock, __lll_robust_timedlock): Take private arguments.
(lll_timedlock, lll_robust_timedlock): Take private arguments.
(__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
private arguments.
(lll_unlock, lll_robust_unlock): Take private arguments.
(__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
(lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
(__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
__lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
lll_cond_wake, lll_cond_broadcast): Remove.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
to __extern_inline.

17 years ago * sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
Daniel Jacobowitz [Wed, 12 Sep 2007 12:57:25 +0000 (12:57 +0000)]
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
lll_futex_wake not lll_private_futex_wake.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (O_CLOEXEC): Define.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h: Include <tls.h>
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(__lll_lock_wait_private, __lll_lock_wait): New.
(__lll_timedlock_wait): Don't include in libc.so;  Take private
argument.  Use atomic_compare_and_exchange_bool_acq.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Renamed all
lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
LLL_LOCK_*.  Include <kernel-features.h>.
(LLL_LOCK_INITIALIZER): Remove duplicate definition.
(__lll_private_flag): Define.
(lll_futex_timed_wait): Pass private flag to syscall.
(lll_futex_wake): Likewise.
(lll_private_futex_wait, lll_private_futex_timed_wait,
lll_private_futex_wake): Remove.
(lll_robust_dead, lll_futex_requeue): Take private arguments.
(lll_futex_wake_unlock): Pass private flag to syscall.
(__lll_robust_trylock): Convert to macro.
(__lll_robust_lock_wait): Add private argument.
(__lll_lock_wait_private, __lll_lock_wait): Declare.
(__lll_lock): Convert to macro.  Take private argument.
(__lll_cond_lock): Likewise.
(lll_lock, lll_cond_lock): Take private arguments.
(__lll_robust_lock): Take private argument.
(__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
arguments.
(__lll_timedlock, __lll_robust_timedlock): Convert to macros.
Take private arguments.
(lll_timedlock, lll_robust_timedlock): Take private arguments.
(__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
private arguments.
(lll_unlock, lll_robust_unlock): Take private arguments.
(__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
(lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
(__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
__lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
lll_cond_wake, lll_cond_broadcast): Remove.
* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
(clear_once_control, __pthread_once): Use lll_futex_wake not
lll_private_futex_wake.

17 years ago * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag): Do not
Daniel Jacobowitz [Wed, 29 Aug 2007 20:34:36 +0000 (20:34 +0000)]
* sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag): Do not
clobber other exceptions.
* sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Raise new
exceptions.
* sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Handle
multiple new exceptions if some are disabled.
* sysdeps/powerpc/nofpu/sim-full.c (__simulate_exceptions): Likewise.

17 years ago * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.
Jakub Jelinek [Tue, 21 Aug 2007 08:07:28 +0000 (08:07 +0000)]
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.

17 years ago * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (lll_robust_dead):
Jakub Jelinek [Tue, 21 Aug 2007 08:05:34 +0000 (08:05 +0000)]
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h (lll_robust_dead):
Add private argument.

17 years ago * sysdeps/unix/sysv/linux/alpha/lowlevellock.h
Jakub Jelinek [Thu, 16 Aug 2007 21:03:08 +0000 (21:03 +0000)]
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h
(__lll_robust_timedlock): Pass private as last argument to
__lll_robust_timedlock_wait.
(__lll_unlock): Fix a pasto.

17 years ago * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare.
Jakub Jelinek [Tue, 14 Aug 2007 19:37:50 +0000 (19:37 +0000)]
* sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare.
Add libc_hidden_proto.
(STRTOF): Add libc_hidden_proto.
(___new_strtold_l, ___new_wcstold_l): New weak aliases.
(strtold_l, wcstold_l): Use them as second argument for
long_double_symbol.
nptl/
* sysdeps/unix/sysv/linux/alpha/lowlevellock.h (__lll_unlock,
__lll_robust_unlock): Rewrite as macros instead of inline functions.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_unlock,
__lll_robust_unlock, __lll_wait_tid): Likewise.

17 years agoInclude kernel-features.h.
Ulrich Drepper [Mon, 13 Aug 2007 18:33:00 +0000 (18:33 +0000)]
Include kernel-features.h.

17 years ago(pthread_rwlock_t): Renamed __pad1 element to __shared, adjust names of
Ulrich Drepper [Sun, 12 Aug 2007 19:39:31 +0000 (19:39 +0000)]
(pthread_rwlock_t): Renamed __pad1 element to __shared, adjust names of
other padding elements.

17 years ago(lll_futex_requeue, lll_futex_wake_unlock): Add private argument, use
Ulrich Drepper [Sat, 11 Aug 2007 18:47:31 +0000 (18:47 +0000)]
(lll_futex_requeue, lll_futex_wake_unlock): Add private argument, use
__lll_private_flag macro.

17 years ago(O_CLOEXEC): Define.
Ulrich Drepper [Fri, 10 Aug 2007 01:44:09 +0000 (01:44 +0000)]
(O_CLOEXEC): Define.

17 years ago * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
Daniel Jacobowitz [Mon, 6 Aug 2007 17:45:09 +0000 (17:45 +0000)]
* sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
New macros for the (n)64 and n32 ABIs.
(_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.

17 years ago2007-08-03 Aurelien Jarno <aurelien@aurel32.net>
Carlos O'Donell [Fri, 3 Aug 2007 22:58:57 +0000 (22:58 +0000)]
2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>

* sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
(__local_multiple_threads): Declare as hidden only in libc and
in libpthread.

17 years agoRenamed all lll_mutex_* resp. lll_robust_mutex_* macros to lll_* resp.
Ulrich Drepper [Wed, 1 Aug 2007 04:21:31 +0000 (04:21 +0000)]
Renamed all lll_mutex_* resp. lll_robust_mutex_* macros to lll_* resp.
lll_robust_*.  Renamed all __lll_mutex_* resp. __lll_robust_mutex_*
inline functions to __lll_* resp. __lll_robust_*.
(LLL_MUTEX_LOCK_INITIALIZER): Remove.
(lll_mutex_dead): Add private argument.
(__lll_lock_wait_private): New prototype.
(__lll_lock_wait, __lll_robust_lock_wait, __lll_lock_timedwait,
__lll_robust_lock_timedwait): Add private argument to prototypes.
(__lll_lock): Add private argument, if it is constant LLL_PRIVATE,
call __lll_lock_wait_private, otherwise pass private to
__lll_lock_wait.
(__lll_robust_lock, __lll_cond_lock, __lll_timedlock,
__lll_robust_timedlock): Add private argument, pass it to
__lll_*wait functions.
(__lll_unlock): Add private argument, if it is constant LLL_PRIVATE,
call __lll_unlock_wake_private, otherwise pass private to
__lll_unlock_wake.
(__lll_robust_unlock): Add private argument, pass it to
__lll_robust_unlock_wake.
(lll_lock, lll_robust_lock, lll_cond_lock, lll_timedlock,
lll_robust_timedlock, lll_unlock, lll_robust_unlock): Add private
argument, pass it through to __lll_* inline function.
(__lll_mutex_unlock_force, lll_mutex_unlock_force): Remove.
(lll_lock_t): Remove.
(__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
__lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
lll_cond_wake, lll_cond_broadcast): Remove.

17 years ago2007-07-28 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Sat, 28 Jul 2007 21:26:44 +0000 (21:26 +0000)]
2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
(pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
and __flags. Update comments. Update copyright.
* sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
Update copyright.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
(__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
(__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
(lll_unlock_Wake_cb): Use lll_private_futex_wake.
(___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
lll_futex_wake_unlock.
* sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
(clear_once_control): Use lll_private_futex_wake.
(__pthread_once): Use lll_private_futex_wait, and
lll_private_futex_wake.

2007-07-28  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.

17 years ago(FUTEX_PRIVATE_FLAG,
Ulrich Drepper [Sat, 28 Jul 2007 19:31:35 +0000 (19:31 +0000)]
(FUTEX_PRIVATE_FLAG,
LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
(lll_futex_wait): Add private argument, define as wrapper around
lll_futex_timed_wait.
(lll_futex_timed_wait, lll_futex_wake): Add private argument,
use __lll_private_flag macro.
(lll_robust_mutex_dead, __lll_mutex_unlock, __lll_robust_mutex_unlock,
__lll_mutex_unlock_force): Pass LLL_SHARED as last arg to lll_futex_*.

17 years ago(clear_once_control, __pthread_once): Add LLL_PRIVATE as last argument
Ulrich Drepper [Sat, 28 Jul 2007 19:31:17 +0000 (19:31 +0000)]
(clear_once_control, __pthread_once): Add LLL_PRIVATE as last argument
to lll_futex_*.

17 years agoReplace lll_private_futex_* (*) with lll_futex_* (*, LLL_PRIVATE).
Ulrich Drepper [Sat, 28 Jul 2007 19:30:20 +0000 (19:30 +0000)]
Replace lll_private_futex_* (*) with lll_futex_* (*, LLL_PRIVATE).

17 years ago2007-07-13 Carlos O'Donell <carlos@codesourcery.com>
Daniel Jacobowitz [Fri, 13 Jul 2007 12:48:34 +0000 (12:48 +0000)]
2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>

* sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
Define __WORDSIZE_COMPAT32 as 1.

17 years agoUpdate date.
Daniel Jacobowitz [Fri, 13 Jul 2007 12:46:28 +0000 (12:46 +0000)]
Update date.

17 years ago2007-07-13 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz [Fri, 13 Jul 2007 12:46:12 +0000 (12:46 +0000)]
2007-07-13  Joseph Myers  <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
PTHREAD_STACK_MIN.

17 years ago * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
Daniel Jacobowitz [Fri, 13 Jul 2007 12:43:40 +0000 (12:43 +0000)]
* sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.

17 years ago * sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
Daniel Jacobowitz [Tue, 10 Jul 2007 13:35:30 +0000 (13:35 +0000)]
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Use
lll_private_futex_wake.
* sysdeps/unix/sysv/linux/arm/check_pf.c: Update from generic version.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(__lll_timedlock_wait): Update call to lll_futex_timed_wait.
(__lll_timedwait_tid): Likewise.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (LLL_PRIVATE,
LLL_SHARED): Define.
(lll_futex_wait): Use lll_futex_timed_wait.
(lll_futex_timed_wait, lll_futex_wake, lll_futex_wake_unlock): Take a
PRIVATE argument.
(lll_private_futex_wait, lll_private_futex_timed_wait,
lll_private_futex_wake): New.
(lll_robust_mutex_dead,  __lll_mutex_lock, __lll_mutex_cond_lock,
__lll_mutex_unlock, __lll_robust_mutex_unlock,
__lll_mutex_unlock_force, lll_wait_tid): Update calls.
* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c (clear_once_control,
__pthread_once): Use private futexes.
* sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c
(pthread_cancel_init): Add noinline and barriers.

* sysdeps/unix/sysv/aix/bits/fcntl.h,
sysdeps/unix/sysv/linux/am33/bits/fcntl.h,
sysdeps/unix/sysv/linux/arm/bits/fcntl.h,
sysdeps/unix/sysv/linux/cris/bits/fcntl.h,
sysdeps/unix/sysv/linux/m68k/bits/fcntl.h,
sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.

* sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.
* sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
Delete.

17 years ago2006-07-16 Jeff Bailey <jbailey@raspberryginger.com>
Jeff Bailey [Sat, 16 Jun 2007 16:36:53 +0000 (16:36 +0000)]
2006-07-16  Jeff Bailey  <jbailey@raspberryginger.com>

        * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
        include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
        elf_fpreg_t, and elf_fpregset_t.

17 years ago2007-06-16 Jeff Bailey <jbailey@raspberryginger.com>
Jeff Bailey [Sat, 16 Jun 2007 15:38:21 +0000 (15:38 +0000)]
2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>

        * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
        at least kernel 2.6.9.
        * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.

17 years agoAdjust use of lll_futex_* macros.
Ulrich Drepper [Fri, 8 Jun 2007 02:47:50 +0000 (02:47 +0000)]
Adjust use of lll_futex_* macros.

17 years ago * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
Daniel Jacobowitz [Thu, 7 Jun 2007 14:40:24 +0000 (14:40 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
(internal_syscall1, internal_syscall2, internal_syscall3,
internal_syscall4, internal_syscall5, internal_syscall6): Use it.

17 years ago * sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
Daniel Jacobowitz [Wed, 6 Jun 2007 17:27:04 +0000 (17:27 +0000)]
* sysdeps/arm/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
(THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c
(lll_unlock_wake_cb): Delete.
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
(FUTEX_PRIVATE_FLAG): Define.
(lll_unlock_wake_cb): Delete prototype.
* sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Include
<endian.h>.
(pthread_rwlock_t): Shrink __flags and add __shared.
* sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
(RTLD_SINGLE_THREAD_P): Define.

* sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
(THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
(FUTEX_PRIVATE_FLAG): Define.
(lll_unlock_wake_cb): Delete prototype.
* sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
<endian.h>.
(pthread_rwlock_t): Shrink __flags and add __shared.

17 years agoRemove all traces of lll_unlock_wake_cb.
Ulrich Drepper [Wed, 30 May 2007 04:44:55 +0000 (04:44 +0000)]
Remove all traces of lll_unlock_wake_cb.

17 years ago(THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
Ulrich Drepper [Mon, 28 May 2007 16:40:52 +0000 (16:40 +0000)]
(THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT,
THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
THREAD_GSCOPE_WAIT): Define.

17 years ago * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
Daniel Jacobowitz [Thu, 24 May 2007 16:18:27 +0000 (16:18 +0000)]
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
(posix_fadvise): Fix high word of len argument.

17 years ago * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Disable
Daniel Jacobowitz [Wed, 23 May 2007 17:45:14 +0000 (17:45 +0000)]
* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Disable
exceptions.  Use the updated env in fesetenv().
Add libm_hidden_def.

17 years ago * sysdeps/unix/sysv/linux/arm/kernel-features.h
Daniel Jacobowitz [Wed, 23 May 2007 17:33:17 +0000 (17:33 +0000)]
* sysdeps/unix/sysv/linux/arm/kernel-features.h
(__ASSUME_SIGFRAME_V2): Define for 2.6.18 and later.
* sysdeps/unix/sysv/linux/arm/eabi/sigrestorer.S
(__default_sa_restorer): Rename to __default_sa_restorer_v1.
Don't define if __ASSUME_SIGFRAME_V2.
(__default_rt_sa_restorer): Rename to
__default_rt_sa_restorer_v1.  Don't define if
__ASSUME_SIGFRAME_V2.
(__default_sa_restorer_v2, __default_rt_sa_restorer_v2): New.
* sysdeps/unix/sysv/linux/arm/nptl/Versions
(__default_sa_restorer_v1, __default_rt_sa_restorer_v1,
__default_sa_restorer_v2, __default_rt_sa_restorer_v2): Add to
GLIBC_PRIVATE.
* sysdeps/unix/sysv/linux/arm/sigaction.c [__ARM_EABI__]
(__default_sa_restorer_v1, __default_sa_restorer_v2,
__default_rt_sa_restorer_v1, __default_rt_sa_restorer_v2):
Declare.
(__default_sa_restorer, __default_rt_sa_restorer): Define as
macros depending on kernel version.

17 years ago * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
Daniel Jacobowitz [Wed, 23 May 2007 17:26:13 +0000 (17:26 +0000)]
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
* sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.

17 years ago * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
Daniel Jacobowitz [Wed, 23 May 2007 17:13:59 +0000 (17:13 +0000)]
* sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
* sysdeps/mips/mips64/n64/Implies: Likewise.
* sysdeps/mips/mips64/soft-fp/Makefile: New.
* sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
* sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
<fpu_control.h>.  Use hardware exception and rounding mode
settings.

17 years agoUse commit date in changelog.
Daniel Jacobowitz [Wed, 23 May 2007 16:50:43 +0000 (16:50 +0000)]
Use commit date in changelog.

17 years ago * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
Daniel Jacobowitz [Wed, 23 May 2007 16:50:14 +0000 (16:50 +0000)]
* sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
r_info argument to ElfW(Addr).

17 years ago2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Fri, 18 May 2007 02:02:51 +0000 (02:02 +0000)]
2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
(SEM_VALUE_MAX): Remove.

17 years ago2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Fri, 18 May 2007 01:59:52 +0000 (01:59 +0000)]
2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
(PIC_REG_USE): Define.
(INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
(INTERNAL_SYSCALL): Likewise.
(INTERNAL_SYSCALL_NCS): Likewise.
* sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
PIC_REG_DEF, PIC_REG_USE.

17 years agoDefine UTIME_NOW and UTIME_OMIT.
Ulrich Drepper [Thu, 10 May 2007 21:39:43 +0000 (21:39 +0000)]
Define UTIME_NOW and UTIME_OMIT.

17 years ago2007-05-07 Richard Henderson <rth@redhat.com>
Richard Henderson [Mon, 7 May 2007 22:57:20 +0000 (22:57 +0000)]
2007-05-07  Richard Henderson  <rth@redhat.com>

        * sysdeps/alpha/fpu/bits/mathinline.h (__isnanl): Don't define
        if __NO_LONG_DOUBLE_MATH.
        * sysdeps/unix/sysv/linux/alpha/ioperm.c: If BWX insns not
        available in the compiler, add .arch directive to ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

        * sysdeps/alpha/fpu/s_nearbyint.c (nearbyintl): Fix version on
        compat_symbol to GLIBC_2_1.
        * sysdeps/alpha/fpu/s_fmin.S (fminl): Likewise.
        * sysdeps/alpha/fpu/s_trunc.c (truncl): Likewise.
        * sysdeps/alpha/fpu/s_fmax.S (fmaxl): Likewise.
        * sysdeps/alpha/fpu/s_lrint.c (lrintl, llrintl): Likewise.
        * sysdeps/alpha/fpu/s_lround.c (lroundl, llroundl): Likewise.
        * sysdeps/alpha/fpu/s_round.c (roundl): Likewise.
        * sysdeps/alpha/fpu/s_isnan.c (isnanl): Provide compat_symbol in
        libc, not libm.
        (__isnanl): New compat_symbol.

17 years ago2007-05-01 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Wed, 2 May 2007 02:07:38 +0000 (02:07 +0000)]
2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
[__USE_XOPEN2K]: Define pthread_rwlock_t and
pthread_rwlockattr_t.

17 years agoUse __extern_inline and __extern_always_inline where appropriate.
Ulrich Drepper [Sat, 17 Mar 2007 17:04:09 +0000 (17:04 +0000)]
Use __extern_inline and __extern_always_inline where appropriate.

17 years ago * sysdeps/alpha/fpu/s_llround.c: New file.
Richard Henderson [Wed, 14 Mar 2007 20:01:05 +0000 (20:01 +0000)]
    * sysdeps/alpha/fpu/s_llround.c: New file.
* sysdeps/alpha/fpu/s_llroundf.c: New file.
* sysdeps/alpha/fpu/s_lround.c: New file.
* sysdeps/alpha/fpu/s_lroundf.c: New file.
* sysdeps/alpha/fpu/s_round.c: New file.
* sysdeps/alpha/fpu/s_roundf.c: New file.
* sysdeps/alpha/fpu/s_trunc.c: New file.
* sysdeps/alpha/fpu/s_truncf.c: New file.

17 years ago * sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
Richard Henderson [Wed, 14 Mar 2007 17:44:14 +0000 (17:44 +0000)]
* sysdeps/alpha/fpu/s_ceil.c: Rewrite without branches.
* sysdeps/alpha/fpu/s_ceilf.c: Likewise.
* sysdeps/alpha/fpu/s_floor.c: Likewise.
* sysdeps/alpha/fpu/s_floorf.c: Likewise.
* sysdeps/alpha/fpu/s_rint.c: Likewise.
* sysdeps/alpha/fpu/s_rintf.c: Likewise.

* sysdeps/alpha/fpu/s_fmax.S: New file.
* sysdeps/alpha/fpu/s_fmaxf.S: New file.
* sysdeps/alpha/fpu/s_fmin.S: New file.
* sysdeps/alpha/fpu/s_fminf.S: New file.
* sysdeps/alpha/fpu/s_isnan.c: New file.
* sysdeps/alpha/fpu/s_isnanf.c: New file.
* sysdeps/alpha/fpu/s_llrint.c: New file.
* sysdeps/alpha/fpu/s_llrintf.c: New file.
* sysdeps/alpha/fpu/s_lrint.c: New file.
* sysdeps/alpha/fpu/s_lrintf.c: New file.
* sysdeps/alpha/fpu/s_nearbyint.c: New file.
* sysdeps/alpha/fpu/s_nearbyintf.c: New file.

* sysdeps/alpha/fpu/bits/mathinline.h (__floorf, __floor): Remove.
(__fdimf, fdimf, __fdim, fdim): Remove.
(__signbitf, __signbit, __signbitl): Use gcc builtin if available.
(__isnanf, __isnan, __isnanl): New.

17 years ago * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
Richard Henderson [Wed, 14 Mar 2007 00:40:50 +0000 (00:40 +0000)]
    * sysdeps/alpha/Makefile (sysdep-CFLAGS): Force dynamic rounding.
        * sysdeps/alpha/fpu/bits/mathinline.h (__signbitl): New.
        * sysdeps/alpha/fpu/libm-test-ulps: Regenerate.
        * sysdeps/unix/sysv/linux/alpha/alphaev6/fpu/Implies: New file.
        * sysdeps/unix/sysv/linux/alpha/alphaev67/fpu/Implies: New file.
        * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.

17 years ago * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
Richard Henderson [Tue, 13 Mar 2007 21:28:03 +0000 (21:28 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Use two
separate cfi regions for the two subsections.

17 years ago * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
Richard Henderson [Tue, 13 Mar 2007 21:25:16 +0000 (21:25 +0000)]
    * elf/dl-support.c (_dl_aux_init): Honor DL_PLATFORM_AUXV.
* sysdeps/unix/sysv/linux/alpha/dl-auxv.h: New file.
* sysdeps/unix/sysv/linux/alpha/dl-support.c: New file.
* sysdeps/unix/sysv/linux/alpha/dl-sysdep.c (__libc_alpha_cache_shape):
Move to dl-auxv.h; initialize instead of extern weak.
(DL_PLATFORM_AUXV): Move to dl-auxv.h; don't test for undef
weak symbol.
* sysdeps/unix/sysv/linux/alpha/sysconf.c (__libc_alpha_cache_shape):
Extern instead of initialized.

17 years ago * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
Richard Henderson [Tue, 13 Mar 2007 16:05:44 +0000 (16:05 +0000)]
    * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Add support for
__sigsuspend_nocancel.

17 years ago2007-02-02 Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Fri, 2 Feb 2007 21:52:32 +0000 (21:52 +0000)]
2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
(PTR_DEMANGLE): Define.

17 years ago2007-02-02 Guy Martin <gmsoft@tuxicoman.be>
Carlos O'Donell [Fri, 2 Feb 2007 21:50:19 +0000 (21:50 +0000)]
2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>

* sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
Add cfi_endproc.