Ulrich Drepper [Sat, 28 Jul 2007 19:30:20 +0000 (19:30 +0000)]
Replace lll_private_futex_* (*) with lll_futex_* (*, LLL_PRIVATE).
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.
Daniel Jacobowitz [Fri, 13 Jul 2007 12:46:28 +0000 (12:46 +0000)]
Update date.
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.
Daniel Jacobowitz [Fri, 13 Jul 2007 12:43:40 +0000 (12:43 +0000)]
* sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support.
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.
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.
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.
Ulrich Drepper [Fri, 8 Jun 2007 02:47:50 +0000 (02:47 +0000)]
Adjust use of lll_futex_* macros.
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.
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.
Ulrich Drepper [Wed, 30 May 2007 04:44:55 +0000 (04:44 +0000)]
Remove all traces of lll_unlock_wake_cb.
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.
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.
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.
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.
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.
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.
Daniel Jacobowitz [Wed, 23 May 2007 16:50:43 +0000 (16:50 +0000)]
Use commit date in changelog.
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).
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.
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.
Ulrich Drepper [Thu, 10 May 2007 21:39:43 +0000 (21:39 +0000)]
Define UTIME_NOW and UTIME_OMIT.
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.
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.
Ulrich Drepper [Sat, 17 Mar 2007 17:04:09 +0000 (17:04 +0000)]
Use __extern_inline and __extern_always_inline where appropriate.
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.
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.
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.
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.
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.
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.
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.
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.
Daniel Jacobowitz [Thu, 1 Feb 2007 15:43:00 +0000 (15:43 +0000)]
* sysdeps/mips/bits/mathdef.h (float_t): Change to float.
Daniel Jacobowitz [Thu, 25 Jan 2007 13:08:14 +0000 (13:08 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
shmctl, and semctl.
* sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
Daniel Jacobowitz [Tue, 23 Jan 2007 16:47:28 +0000 (16:47 +0000)]
* sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
Define.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
PTR_DEMANGLE): Define.
Daniel Jacobowitz [Tue, 23 Jan 2007 14:48:27 +0000 (14:48 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
(cfi_same_value): Delete definition.
Daniel Jacobowitz [Tue, 23 Jan 2007 14:47:02 +0000 (14:47 +0000)]
[BZ #2749]
* sysdeps/powerpc/nofpu/fenv_libc.h: New file.
Daniel Jacobowitz [Mon, 8 Jan 2007 15:34:50 +0000 (15:34 +0000)]
* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
(elf_machine_reloc): New function, retaining the body of
elf_machine_rel. Take the reloc's r_info field as an argument,
not the reloc itself. Add extra r_addend and inplace_p arguments.
When inplace_p is false, use r_addend as the addend, not the contents
of the relocation field. Hoist the conversion of reloc_addr to
"ELFW(Addr) *". Don't try to apply TLS relocations against
undefined symbols. Add R_MIPS_GLOB_DAT support.
(elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
(elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
to ElfW(Rela).
Daniel Jacobowitz [Mon, 8 Jan 2007 15:26:51 +0000 (15:26 +0000)]
* sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
multiple inclusion guard.
* sysdeps/mips/elf/ldsodefs.h: Delete file.
Daniel Jacobowitz [Mon, 8 Jan 2007 15:10:14 +0000 (15:10 +0000)]
* sysdeps/powerpc/nofpu/fesetenv.c (__sim_exceptions,
__sim_disabled_exceptions, __sim_round_mode): Remove declarations.
Daniel Jacobowitz [Mon, 8 Jan 2007 15:06:00 +0000 (15:06 +0000)]
* sysdeps/unix/sysv/linux/arm/check_pf.c: New file.
* sysdeps/unix/sysv/linux/arm/eabi/check_pf.c: New file.
Daniel Jacobowitz [Mon, 8 Jan 2007 14:58:21 +0000 (14:58 +0000)]
* sysdeps/arm/fpu/bits/mathdef.h: Move to
sysdeps/arm/bits/mathdef.h. Remove comment about FPA.
Daniel Jacobowitz [Mon, 8 Jan 2007 14:53:26 +0000 (14:53 +0000)]
* sysdeps/arm/eabi/jmpbuf-offsets.h: New.
Daniel Jacobowitz [Fri, 5 Jan 2007 02:21:54 +0000 (02:21 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
to match the kernel.
Carlos O'Donell [Sun, 3 Dec 2006 23:03:20 +0000 (23:03 +0000)]
2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
versions. Adjust jump target to '0b'.
2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
* sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
* sysdeps/hppa/fpu/bits/mathdef.h: New file.
Andreas Schwab [Mon, 27 Nov 2006 23:03:17 +0000 (23:03 +0000)]
* sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
(UNDOARGS_6): Define for 6-argument syscall stubs.
Daniel Jacobowitz [Wed, 22 Nov 2006 15:13:11 +0000 (15:13 +0000)]
2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #2749]
* sysdeps/powerpc/nofpu/Makefile
[subdirs-soft-fp] (sysdep_routines): Remove gcc-quad-routines.
[subdirs-math] (CPPFLAGS): Add -I../soft-fp.
[subdirs-math] (CFLAGS-e_powl.c): Add -fno-builtin-fabsl.
[subdirs-math] (CFLAGS-s_ccoshl.c): Likewise.
[subdirs-math] (CFLAGS-s_csinhl.c): Likewise.
[subdirs-math] (CFLAGS-s_clogl.c): Likewise.
[subdirs-math] (CFLAGS-s_clog10l.c): Likewise.
[subdirs-math] (CFLAGS-s_csinl.c): Likewise.
[subdirs-math] (CFLAGS-s_csqrtl.c): Likewise.
* sysdeps/powerpc/nofpu/Versions (GLIBC_2.3.2): Remove __fixtfdi,
__fixtfsi, and __trunctfsf2.
(GLIBC_2.4): Remove __floatunditf, __floatunsitf, and __unordtf2.
Add __nedf2, __nesf2, __gtdf2, __gtsf2, __ltdf2, __ltsf2.
* sysdeps/powerpc/nofpu/libm-test-ulps: Update for soft-fp.
* sysdeps/powerpc/soft-fp/sfp-machine.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S:
New file.
Carlos O'Donell [Sat, 11 Nov 2006 14:33:27 +0000 (14:33 +0000)]
2006-11-10 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/nptl/pthread_spin_init.c: New file.
* sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
to pthread_spin_init.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
RTLD_SINGLE_THREAD_P.
2006-09-20 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
and offout arguments to the prototype.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:39:15 +0000 (17:39 +0000)]
* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
(RTLD_SINGLE_THREAD_P): Define.
* sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:39:02 +0000 (17:39 +0000)]
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
(RTLD_SINGLE_THREAD_P): Define.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:21:40 +0000 (17:21 +0000)]
* sysdeps/unix/sysv/linux/arm/eabi/nptl/sysdep-cancel.h
(DOCARGS_6): Change ".pad #20" to ".pad #16".
Daniel Jacobowitz [Tue, 31 Oct 2006 17:20:42 +0000 (17:20 +0000)]
* sysdeps/arm/eabi/fclrexcpt.c: Include <sysdep.h> instead of
<asm/procinfo.h>. Use HWCAP_ARM_VFP instead of HWCAP_VFP.
* sysdeps/arm/eabi/fedisblxcpt.c: Likewise.
* sysdeps/arm/eabi/feenablxcpt.c: Likewise.
* sysdeps/arm/eabi/fegetenv.c: Likewise.
* sysdeps/arm/eabi/fegetexcept.c: Likewise.
* sysdeps/arm/eabi/fegetround.c: Likewise.
* sysdeps/arm/eabi/feholdexcpt.c: Likewise.
* sysdeps/arm/eabi/fesetenv.c: Likewise.
* sysdeps/arm/eabi/fesetround.c: Likewise.
* sysdeps/arm/eabi/fraiseexcpt.c: Likewise.
* sysdeps/arm/eabi/fsetexcptflg.c: Likewise.
* sysdeps/arm/eabi/ftestexcept.c: Likewise.
* sysdeps/arm/eabi/setfpucw.c: Likewise.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:18:09 +0000 (17:18 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (splice): Update
prototype.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:17:46 +0000 (17:17 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
prototype.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:09:24 +0000 (17:09 +0000)]
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Remove __i386__
conditional.
Daniel Jacobowitz [Tue, 31 Oct 2006 17:07:54 +0000 (17:07 +0000)]
* sysdeps/arm/memcpy.S: New file.
* sysdeps/arm/memmove.S: Likewise.
Ulrich Drepper [Sun, 29 Oct 2006 21:48:06 +0000 (21:48 +0000)]
(RTLD_SINGLE_THREAD_P): Define.
(SINGLE_THREAD_P): Define to 1 if IS_IN_rtld.
Ulrich Drepper [Fri, 27 Oct 2006 23:11:45 +0000 (23:11 +0000)]
USE_TLS support is now default.
Ulrich Drepper [Fri, 27 Oct 2006 15:16:00 +0000 (15:16 +0000)]
(SINGLE_THREAD_P): Define to THREAD_SELF->header.multiple_threads.
Ulrich Drepper [Thu, 12 Oct 2006 21:35:06 +0000 (21:35 +0000)]
Remove SEM_VALUE_MAX.
Ulrich Drepper [Thu, 12 Oct 2006 21:30:42 +0000 (21:30 +0000)]
Add SEM_VALUE_MAX.
Andreas Schwab [Tue, 3 Oct 2006 15:50:57 +0000 (15:50 +0000)]
* sysdeps/m68k/setjmp.c: Use __builtin_return_address and
__builtin_frame_address. Don't call __sigjmp_save in ld.so.
Andreas Schwab [Tue, 3 Oct 2006 15:49:06 +0000 (15:49 +0000)]
* sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
Andreas Schwab [Tue, 3 Oct 2006 14:44:27 +0000 (14:44 +0000)]
2006-10-03 Richard Sandiford <richard@codesourcery.com>
* sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
sysdeps/m68k/m680x0.
* sysdeps/m68k/m68020/submul_1.S: Likewise.
* sysdeps/m68k/m68020/Makefile: Likewise.
* sysdeps/m68k/m68020/mul_1.S: Likewise.
* sysdeps/m68k/m68020/wordcopy.S: Likewise.
* sysdeps/m68k/m68020/addmul_1.S: Likewise.
* sysdeps/m68k/m68020/bits/string.h: Likewise.
* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
* sysdeps/m68k/sub_n.S: Likewise.
* sysdeps/m68k/add_n.S: Likewise.
* sysdeps/m68k/s_isnanl.c: Likewise.
* sysdeps/m68k/fpu/s_log1p.c: Likewise.
* sysdeps/m68k/fpu/e_asinf.c: Likewise.
* sysdeps/m68k/fpu/s_cosl.c: Likewise.
* sysdeps/m68k/fpu/s_isinff.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_expm1.c: Likewise.
* sysdeps/m68k/fpu/slowexp.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
* sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
* sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
* sysdeps/m68k/fpu/Makefile: Likewise.
* sysdeps/m68k/fpu/s_expm1f.c: Likewise.
* sysdeps/m68k/fpu/s_significandf.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/e_exp.c: Likewise.
* sysdeps/m68k/fpu/s_remquof.c: Likewise.
* sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
* sysdeps/m68k/fpu/s_truncl.c: Likewise.
* sysdeps/m68k/fpu/s_frexpf.c: Likewise.
* sysdeps/m68k/fpu/s_cos.c: Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/fpu/branred.c: Likewise.
* sysdeps/m68k/fpu/s_frexpl.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
* sysdeps/m68k/fpu/e_scalbl.c: Likewise.
* sysdeps/m68k/fpu/e_exp2.c: Likewise.
* sysdeps/m68k/fpu/s_cexpf.c: Likewise.
* sysdeps/m68k/fpu/mplog.c: Likewise.
* sysdeps/m68k/fpu/s_rintf.c: Likewise.
* sysdeps/m68k/fpu/s_tanh.c: Likewise.
* sysdeps/m68k/fpu/e_scalbf.c: Likewise.
* sysdeps/m68k/fpu/s_csinhl.c: Likewise.
* sysdeps/m68k/fpu/s_floorl.c: Likewise.
* sysdeps/m68k/fpu/k_tanf.c: Likewise.
* sysdeps/m68k/fpu/k_tanl.c: Likewise.
* sysdeps/m68k/fpu/e_fmodf.c: Likewise.
* sysdeps/m68k/fpu/e_atanhf.c: Likewise.
* sysdeps/m68k/fpu/s_isnanf.c: Likewise.
* sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/e_log2.c: Likewise.
* sysdeps/m68k/fpu/e_acosf.c: Likewise.
* sysdeps/m68k/fpu/s_log1pl.c: Likewise.
* sysdeps/m68k/fpu/e_log2f.c: Likewise.
* sysdeps/m68k/fpu/mpa.c: Likewise.
* sysdeps/m68k/fpu/t_exp.c: Likewise.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/s_expm1l.c: Likewise.
* sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
* sysdeps/m68k/fpu/s_sinf.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/k_cosl.c: Likewise.
* sysdeps/m68k/fpu/e_remainder.c: Likewise.
* sysdeps/m68k/fpu/s_trunc.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
* sysdeps/m68k/fpu/s_finitef.c: Likewise.
* sysdeps/m68k/fpu/s_tanhl.c: Likewise.
* sysdeps/m68k/fpu/s_lrintl.c: Likewise.
* sysdeps/m68k/fpu/slowpow.c: Likewise.
* sysdeps/m68k/fpu/mpexp.c: Likewise.
* sysdeps/m68k/fpu/s_isnanl.c: Likewise.
* sysdeps/m68k/fpu/e_expf.c: Likewise.
* sysdeps/m68k/fpu/s_significand.c: Likewise.
* sysdeps/m68k/fpu/e_sinhf.c: Likewise.
* sysdeps/m68k/fpu/s_tanl.c: Likewise.
* sysdeps/m68k/fpu/s_tanhf.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/sincos32.c: Likewise.
* sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
* sysdeps/m68k/fpu/s_sincosl.c: Likewise.
* sysdeps/m68k/fpu/e_atan2f.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
* sysdeps/m68k/fpu/e_fmodl.c: Likewise.
* sysdeps/m68k/fpu/e_coshf.c: Likewise.
* sysdeps/m68k/fpu/s_csinf.c: Likewise.
* sysdeps/m68k/fpu/s_ccosl.c: Likewise.
* sysdeps/m68k/fpu/e_sqrt.c: Likewise.
* sysdeps/m68k/fpu/s_sin.c: Likewise.
* sysdeps/m68k/fpu/e_asin.c: Likewise.
* sysdeps/m68k/fpu/mptan.c: Likewise.
* sysdeps/m68k/fpu/e_exp10f.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/s_finitel.c: Likewise.
* sysdeps/m68k/fpu/e_log10.c: Likewise.
* sysdeps/m68k/fpu/k_sinl.c: Likewise.
* sysdeps/m68k/fpu/e_remainderl.c: Likewise.
* sysdeps/m68k/fpu/s_remquol.c: Likewise.
* sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
* sysdeps/m68k/fpu/e_asinl.c: Likewise.
* sysdeps/m68k/fpu/e_logl.c: Likewise.
* sysdeps/m68k/fpu/s_cosf.c: Likewise.
* sysdeps/m68k/fpu/s_rint.c: Likewise.
* sysdeps/m68k/fpu/s_ceill.c: Likewise.
* sysdeps/m68k/fpu/s_modfl.c: Likewise.
* sysdeps/m68k/fpu/s_csinl.c: Likewise.
* sysdeps/m68k/fpu/s_tan.c: Likewise.
* sysdeps/m68k/fpu/s_sincosf.c: Likewise.
* sysdeps/m68k/fpu/dosincos.c: Likewise.
* sysdeps/m68k/fpu/e_powl.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/e_expl.c: Likewise.
* sysdeps/m68k/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/fpu/s_tanf.c: Likewise.
* sysdeps/m68k/fpu/mpsqrt.c: Likewise.
* sysdeps/m68k/fpu/s_sinl.c: Likewise.
* sysdeps/m68k/fpu/mathimpl.h: Likewise.
* sysdeps/m68k/fpu/e_acosl.c: Likewise.
* sysdeps/m68k/fpu/e_cosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexpl.c: Likewise.
* sysdeps/m68k/fpu/s_fabsl.c: Likewise.
* sysdeps/m68k/fpu/halfulp.c: Likewise.
* sysdeps/m68k/fpu/s_modff.c: Likewise.
* sysdeps/m68k/fpu/s_isnan.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/s_fabs.c: Likewise.
* sysdeps/m68k/fpu/e_log10f.c: Likewise.
* sysdeps/m68k/fpu/k_cosf.c: Likewise.
* sysdeps/m68k/fpu/e_sinh.c: Likewise.
* sysdeps/m68k/fpu/s_truncf.c: Likewise.
* sysdeps/m68k/fpu/s_ceil.c: Likewise.
* sysdeps/m68k/fpu/s_log1pf.c: Likewise.
* sysdeps/m68k/fpu/e_logf.c: Likewise.
* sysdeps/m68k/fpu/mpatan.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/e_exp2l.c: Likewise.
* sysdeps/m68k/fpu/e_sinhl.c: Likewise.
* sysdeps/m68k/fpu/e_atan2l.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_floorf.c: Likewise.
* sysdeps/m68k/fpu/e_log2l.c: Likewise.
* sysdeps/m68k/fpu/s_atanl.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/k_sinf.c: Likewise.
* sysdeps/m68k/fpu/s_csinhf.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_atanf.c: Likewise.
* sysdeps/m68k/fpu/s_floor.c: Likewise.
* sysdeps/m68k/fpu/e_exp10l.c: Likewise.
* sysdeps/m68k/fpu/doasin.c: Likewise.
* sysdeps/m68k/fpu/s_rintl.c: Likewise.
* sysdeps/m68k/fpu/e_atanhl.c: Likewise.
* sysdeps/m68k/fpu/e_remainderf.c: Likewise.
* sysdeps/m68k/fpu/s_scalbln.c: Likewise.
* sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
* sysdeps/m68k/fpu/e_exp10.c: Likewise.
* sysdeps/m68k/fpu/s_lrintf.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_ccosf.c: Likewise.
* sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
* sysdeps/m68k/fpu/switch/Makefile: Likewise.
* sysdeps/m68k/fpu/switch/switch.c: Likewise.
* sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
* sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
* sysdeps/m68k/fpu/e_log.c: Likewise.
* sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
* sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
* sysdeps/m68k/fpu/mpatan2.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/e_atanh.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/e_log10l.c: Likewise.
* sysdeps/m68k/fpu/s_ceilf.c: Likewise.
* sysdeps/m68k/fpu/s_fabsf.c: Likewise.
* sysdeps/m68k/fpu/s_significandl.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/e_coshl.c: Likewise.
* sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
* sysdeps/m68k/fpu/s_finite.c: Likewise.
* sysdeps/m68k/fpu/e_exp2f.c: Likewise.
* sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
* sysdeps/m68k/fpu/s_isinfl.c: Likewise.
* sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* sysdeps/m68k/fpu/e_powf.c: Likewise.
* sysdeps/m68k/rshift.S: Likewise.
* sysdeps/m68k/lshift.S: Likewise.
* sysdeps/m68k/strtold_l.c: Likewise.
* sysdeps/m68k/printf_fphex.c: Likewise.
* sysdeps/m68k/s_isinfl.c: Likewise.
* sysdeps/m68k/bits/huge_vall.h: Likewise.
* sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
* sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
Coldfire targets.
* sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
__fpregs field for Coldfire FPUs.
* sysdeps/m68k/dl-machine.h: Include sysdep.h.
(elf_machine_load_address): Use PCREL_OP.
(_dl_start_user): Likewise.
* sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
on Coldfire; push the target address and use rts instead.
(_dl_runtime_profile): Likewise. Round up the frame size to longword
rather than word alignment. Avoid dbra on Coldfire. Avoid using
jsr (%d0) on Coldfire; push the return address and target address
and use rts instead. Use fmovem.l rather than fmovem.x on Coldfire.
Add missing initialization of lrv_a0 and restore a0 from it after
calling _dl_call_pltexit. Adjust the stack offsets of later data
accordingly, fixing a previously incorrect offset for the inregs
parameter.
* sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
registers individually on Coldfire targets.
* sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
Add missing libm_hidden_def.
* sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
control registers individually on Coldfire targets.
* sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
libm_hidden_def.
* sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
the main comment.
(_FPU_DOUBLE): Define to 0 for Coldfire.
(_FPU_EXTENDED): Don't define for Coldfire.
(_FPU_RESERVED): Include bit 15 for Coldfire.
* sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
* sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
* sysdeps/m68k/ldsodefs.h: New file.
* sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
registers when using a Coldfire FPU.
* sysdeps/m68k/Makefile (long-double-fcts): Delete.
* sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
* sysdeps/m68k/memchr.S (__memchr): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
(m68k): Use the compiler to decide whether $machine should be
set to m68k/coldfire or m68k/m680x0/m68020.
* sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
registers when using a Coldfire FPU. Use libc_hidden_def rather
than hidden_def.
* sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code. Avoid
unnecessary moves.
* sysdeps/m68k/strchr.S (strchr): Likewise.
* sysdeps/m68k/sysdep.h (PCREL_OP): Define.
* sysdeps/m68k/tst-audit.h: New file.
* sysdeps/m68k/wcpcpy.c: Likewise.
* sysdeps/m68k/wcpcpy_chk.c: Likewise.
* sysdeps/unix/sysv/linux/m68k/configure.in: New file.
* sysdeps/unix/sysv/linux/m68k/configure: Likewise.
* sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
* sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
Do not define on Coldfire.
(catch_segfault): Likewise.
(register_dump): Use the Coldfire-specific sigcontext fields to
display call-saved data and address registers (rather than the
data stored in sc_fpstate by real_catch_segfault). Display 8-byte
floating-point registers on Coldfire.
* sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
register to SINGLE_THREAD_P.
* sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
Coldfire.
(PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
* sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
order with linux. Make f_fpregs an 8*2 array on Coldfire.
(ucontext): Sync field order with linux.
* sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
inclusion.
(SYSCALL_ERROR_HANDLER): Use PCREL_OP.
* sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
(oldsetrlimit): Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
List oldgetrlimit and oldsetrlimit here instead.
* sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
* sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
* sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
* sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
* sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
* sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
* sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
* sysdeps/m68k/coldfire/shlib-versions: Likewise.
Daniel Jacobowitz [Fri, 22 Sep 2006 17:40:26 +0000 (17:40 +0000)]
* sysdeps/unix/sysv/linux/arm/fxstatat.c: New file.
Daniel Jacobowitz [Fri, 22 Sep 2006 17:36:23 +0000 (17:36 +0000)]
* sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
code.
(__xstat_conv): Use memset to clear padding arrays. Check for
overflow.
(__xstat64_conv): Use memset to clear padding arrays.
(__xstat32_conv): New function.
* sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
* sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
Daniel Jacobowitz [Thu, 21 Sep 2006 21:01:02 +0000 (21:01 +0000)]
* sysdeps/mips/fpu_control.h: If soft-float, don't use
floating-point registers.
* sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
Likewise.
Daniel Jacobowitz [Thu, 21 Sep 2006 18:39:51 +0000 (18:39 +0000)]
* sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
Add "java" and "iwmmxt".
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Use <sysdep.h> for
HWCAP values.
(_DL_HWCAP_COUNT): Increase to 10.
* sysdeps/unix/sysv/linux/arm/sysdep.h (HWCAP_ARM_SWP,
HWCAP_ARM_HALF, HWCAP_ARM_THUMB, HWCAP_ARM_26BIT,
HWCAP_ARM_FAST_MULT, HWCAP_ARM_FPA, HWCAP_ARM_VFP, HWCAP_ARM_EDSP,
HWCAP_ARM_JAVA, HWCAP_ARM_IWMMXT): Define.
* sysdeps/arm/eabi/setjmp.S (__sigsetjmp): Save iWMMXt registers
if HWCAP_ARM_IWMMXT set. Don't include <asm/procinfo.h>. Use
HWCAP_ARM_VFP instead of HWCAP_VFP.
* sysdeps/arm/eabi/__longjmp.S (__longjmp): Restore iWMMXt
registers if HWCAP_ARM_IWMMXT set. Don't include
<asm/procinfo.h>. Use HWCAP_ARM_VFP instead of HWCAP_VFP.
Daniel Jacobowitz [Thu, 21 Sep 2006 18:21:19 +0000 (18:21 +0000)]
* sysdeps/arm/dl-machine.h (elf_machine_rel): Handle undefined
symbols.
(elf_machine_rela): Likewise.
Carlos O'Donell [Sat, 16 Sep 2006 00:46:19 +0000 (00:46 +0000)]
2006-09-15 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
* sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
restore r19 before call to _exit.
* sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
Carlos O'Donell [Wed, 13 Sep 2006 22:10:05 +0000 (22:10 +0000)]
Checkin ChangeLog.hppa
Carlos O'Donell [Wed, 13 Sep 2006 21:56:09 +0000 (21:56 +0000)]
2006-09-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
_dl_fini_plabel.
* sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
__libc_start_main. Comment the order of arguments at entry and
those to __libc_start_main.
Carlos O'Donell [Thu, 7 Sep 2006 16:34:43 +0000 (16:34 +0000)]
2006-09-07 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
lvalue cast.
* sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
(_dl_runtime_profile): LA fixups.
* sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
-1 on error. Use branch and link for error handler funciton.
* sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
Avoid register shuffling.
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
as -EAGAIN.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
match required standards.
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
(lll_futex_wait): Return __ret.
(lll_futex_timed_wait): Likewise.
(lll_futex_wake): Likewise.
(lll_futex_requeue): Likewise.
* sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
usage and adjust error return.
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
stack usage for gdb, and avoid extra register loads.
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
nptl/sysdeps/pthread/unwind-forcedunwind.c.
(LIBGCC_SO): Define and use.
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
nptl/sysdeps/pthread/unwind-resume.c.
(LIBGCC_SO): Define and use.
Ulrich Drepper [Wed, 30 Aug 2006 15:04:43 +0000 (15:04 +0000)]
(splice): Add offin and offout arguments to the prototype.
Daniel Jacobowitz [Mon, 21 Aug 2006 20:07:33 +0000 (20:07 +0000)]
* sysdeps/unix/sysv/linux/arm/eabi/syscalls.list: Remove msgctl,
shmctl, and semctl.
* sysdeps/unix/sysv/linux/arm/eabi/semctl.c,
sysdeps/unix/sysv/linux/arm/eabi/shmctl.c,
sysdeps/unix/sysv/linux/arm/eabi/msgctl.c: New files.
Carlos O'Donell [Sun, 13 Aug 2006 18:26:45 +0000 (18:26 +0000)]
2006-08-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
Daniel Jacobowitz [Fri, 4 Aug 2006 18:56:15 +0000 (18:56 +0000)]
Reported by Joseph Myers <joseph@codesourcery.com>:
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h (FUTEX_LOCK_PI,
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
Daniel Jacobowitz [Fri, 4 Aug 2006 18:54:56 +0000 (18:54 +0000)]
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
Ulrich Drepper [Sat, 29 Jul 2006 05:06:07 +0000 (05:06 +0000)]
Define FUTEX_LOCK_PI, FUTEX_UNLOCK_PI, and FUTEX_TRYLOCK_PI.
Ulrich Drepper [Wed, 26 Jul 2006 01:27:06 +0000 (01:27 +0000)]
Fix comment.
Carlos O'Donell [Tue, 25 Jul 2006 01:58:10 +0000 (01:58 +0000)]
2006-07-24 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
__SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
Daniel Jacobowitz [Mon, 24 Jul 2006 15:51:50 +0000 (15:51 +0000)]
* sysdeps/mips/mips64/n32/libm-test-ulps,
sysdeps/mips/mips64/n64/libm-test-ulps: New.
Daniel Jacobowitz [Mon, 24 Jul 2006 15:43:02 +0000 (15:43 +0000)]
* sysdeps/unix/sysv/linux/arm/sigaction.c: If WRAPPER_INCLUDE is
defined, include the named file.
Daniel Jacobowitz [Mon, 24 Jul 2006 15:42:07 +0000 (15:42 +0000)]
* sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
defined, include the named file.
Carlos O'Donell [Tue, 18 Jul 2006 22:46:12 +0000 (22:46 +0000)]
2006-07-18 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
newval and oldval.
* sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
Likewise.
Carlos O'Donell [Sun, 16 Jul 2006 18:31:20 +0000 (18:31 +0000)]
2006-07-16 Jeff Bailey <jbailey@ubuntu.com>
* sysdeps/hppa/tst-audit.h: New file.
2006-07-16 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/tls-macros.h: Cleanup formatting.
Carlos O'Donell [Sun, 16 Jul 2006 18:25:24 +0000 (18:25 +0000)]
2006-07-15 Jeff Bailey <jbailey@ubuntu.com>
* sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
Carlos O'Donell [Fri, 14 Jul 2006 13:51:24 +0000 (13:51 +0000)]
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
* sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
* sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/nptl/Makefile: New file
* sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
* sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
* sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
* sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
* sysdeps/hppa/nptl/pthreaddef.h: Likewise
* sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
* sysdeps/hppa/nptl/tls.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
Carlos O'Donell [Thu, 13 Jul 2006 16:24:19 +0000 (16:24 +0000)]
2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
for up to 256 errnos
Daniel Jacobowitz [Wed, 5 Jul 2006 16:58:01 +0000 (16:58 +0000)]
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include
<bits/sigcontext.h>.
(NGREG, mcontext_t, struct ucontext): Update to match the kernel.
Daniel Jacobowitz [Wed, 5 Jul 2006 16:46:20 +0000 (16:46 +0000)]
* sysdeps/arm/dl-machine.h (elf_machine_dynamic): Correct GOT access to
load the _DYNAMIC slot.
Carlos O'Donell [Fri, 9 Jun 2006 01:25:30 +0000 (01:25 +0000)]
2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
* sysdeps/unix/sysv/linux/hppa/kernel-features.h
[__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
* sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
Carlos O'Donell [Fri, 9 Jun 2006 00:48:17 +0000 (00:48 +0000)]
2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
* sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
Daniel Jacobowitz [Thu, 8 Jun 2006 17:38:55 +0000 (17:38 +0000)]
* sysdeps/arm/nptl/pthreaddef.h (CURRENT_STACK_FRAME): Add -12.
Daniel Jacobowitz [Thu, 8 Jun 2006 17:16:29 +0000 (17:16 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
Daniel Jacobowitz [Thu, 8 Jun 2006 17:16:08 +0000 (17:16 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Reformat.
(SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
Define.
Daniel Jacobowitz [Fri, 2 Jun 2006 15:37:27 +0000 (15:37 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
RLIM64_INFINITY): Define appropriately for N64. Use unsigned
types.
Daniel Jacobowitz [Fri, 2 Jun 2006 15:29:03 +0000 (15:29 +0000)]
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
Don't use struct timespec.
* sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
__xstat64_conv): Copy individual timespec fields.