Carlos O'Donell [Sun, 22 Feb 2009 17:02:14 +0000 (17:02 +0000)]
2009-02-22 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
Joseph Myers [Fri, 13 Feb 2009 17:38:50 +0000 (17:38 +0000)]
[BZ #7040]
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
inotify_rm_watch should have type int.
Joseph Myers [Fri, 13 Feb 2009 17:35:07 +0000 (17:35 +0000)]
2009-02-13 Khem Raj <raj.khem@gmail.com>
* sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c
(libgcc_s_handle): New variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c:
Likewise.
Joseph Myers [Fri, 13 Feb 2009 17:34:30 +0000 (17:34 +0000)]
2009-02-13 Khem Raj <raj.khem@gmail.com>
* sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
(libgcc_s_handle): New variable.
(pthread_cancel_init): Depend in libgcc_s_handle for decision to
load DSO. Assign last.
(__unwind_freeres): New function.
Carlos O'Donell [Mon, 9 Feb 2009 20:27:56 +0000 (20:27 +0000)]
2009-02-09 Arthur Loiret <aloiret@debian.org>
[BZ #9717]
* sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
(MALLOC): Adjust __libc_tsd_define arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
Joseph Myers [Thu, 5 Feb 2009 14:46:41 +0000 (14:46 +0000)]
2009-02-05 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* sysdeps/arm/dl-machine.h (elf_machine_dynamic): Ditto.
(elf_machine_load_address): Clear T bit of PLT entry contents.
(RTLD_START): Mark function symbols as such. Tweak pc-relative
addressing to avoid depending on pc read pipeline offset.
* sysdeps/arm/machine-gmon.h (MCOUNT): Add Thumb-2 implementation.
* sysdeps/arm/tls-macros.h: Add alignment for Thumb-2.
(ARM_PC_OFFSET): Define.
(TLS_IE): Define differently for Thumb-2.
(TLS_LE, TLS_LD, TLS_GD): Use ARM_PC_OFFSET.
* sysdeps/arm/elf/start.S: Switch to thumb mode for Thumb-2.
* sysdeps/unix/sysv/linux/arm/eabi/sysdep.h (INTERNAL_SYSCALL_RAW):
Add Thumb implementation.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/aio_misc.h: New.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-resume.c: Enforce
alignment for Thumb-2. Adjust offset from PC for Thumb-2.
* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind-forcedunwind.c: Ditto.
* sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h (atomic_full_barrier,
__arch_compare_and_exchange_val_32_acq): Add Thumb-2 implementation.
Joseph Myers [Mon, 2 Feb 2009 15:36:15 +0000 (15:36 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
Joseph Myers [Mon, 2 Feb 2009 15:35:22 +0000 (15:35 +0000)]
* sysdeps/unix/sysv/linux/arm/bits/shm.h (SHM_EXEC): Define.
Daniel Jacobowitz [Tue, 27 Jan 2009 17:10:08 +0000 (17:10 +0000)]
2009-01-27 Min Zhang <mzhang@mvista.com>
* sysdeps/arm/memset.S (memset): Use stm instead of two
str instructions.
Daniel Jacobowitz [Tue, 27 Jan 2009 16:01:19 +0000 (16:01 +0000)]
2009-01-27 Kirill A. Shutemov <kirill@shutemov.name>
* sysdeps/arm/elf/start.S (_start): Use position-independent code
if SHARED. Clear lr.
Daniel Jacobowitz [Tue, 27 Jan 2009 15:48:44 +0000 (15:48 +0000)]
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h
(lll_futex_wake_unlock, lll_futex_requeue): Return zero if success.
Daniel Jacobowitz [Tue, 27 Jan 2009 15:36:22 +0000 (15:36 +0000)]
* sysdeps/unix/sysv/linux/arm/sysdep.h: Include <tls.h>.
Daniel Jacobowitz [Tue, 27 Jan 2009 15:32:55 +0000 (15:32 +0000)]
PR glibc/1048
* sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
variable page size for MIPS.
* sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
* sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
Joseph Myers [Mon, 12 Jan 2009 16:49:33 +0000 (16:49 +0000)]
2009-01-12 Mike Frysinger <vapier@gentoo.org>
* sysdeps/arm/fpu/setjmp.S: Add hidden_def (__sigsetjmp).
Joseph Myers [Mon, 12 Jan 2009 16:45:43 +0000 (16:45 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
-D_GNU_SOURCE.
Joseph Myers [Mon, 12 Jan 2009 16:38:17 +0000 (16:38 +0000)]
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
Joseph Myers [Mon, 12 Jan 2009 16:37:27 +0000 (16:37 +0000)]
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
Joseph Myers [Fri, 19 Dec 2008 21:35:57 +0000 (21:35 +0000)]
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
Joseph Myers [Tue, 9 Dec 2008 23:53:33 +0000 (23:53 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
Make available only for __USE_GNU.
Joseph Myers [Wed, 3 Dec 2008 23:37:48 +0000 (23:37 +0000)]
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
Joseph Myers [Wed, 3 Dec 2008 23:36:56 +0000 (23:36 +0000)]
* sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Define
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
Roland McGrath [Wed, 26 Nov 2008 19:20:37 +0000 (19:20 +0000)]
.
Roland McGrath [Wed, 26 Nov 2008 19:20:13 +0000 (19:20 +0000)]
2008-11-26 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Contents moved to main
repository's ia64 file; #include that.
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Contents moved to main
repository's powerpc file; #include that.
Roland McGrath [Wed, 26 Nov 2008 07:21:20 +0000 (07:21 +0000)]
\f
* ChangeLog.alpha: New file (this one).
* sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
Subdirectories moved here from main repository.
* sysdeps/alpha/nptl, sysdeps/unix/sysv/linux/alpha/nptl:
Subdirectories moved here from main repository's nptl/ subdirectory.
* sysdeps/alpha/preconfigure: New file.
* sysdeps/alpha/shlib-versions: New file.
Joseph Myers [Tue, 25 Nov 2008 16:45:39 +0000 (16:45 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
__THROW vs. __nonnull order for C++.
Joseph Myers [Tue, 25 Nov 2008 16:37:26 +0000 (16:37 +0000)]
* sysdeps/unix/sysv/linux/arm/sysdep.h (LOAD_ARGS_1, LOAD_ARGS_2,
LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6, LOAD_ARGS_7):
Load all arguments into temporary variables before loading into
registers.
Carlos O'Donell [Thu, 23 Oct 2008 17:11:06 +0000 (17:11 +0000)]
Regenerated: autoconf ports/sysdeps/hppa/configure.in
Carlos O'Donell [Thu, 23 Oct 2008 16:57:35 +0000 (16:57 +0000)]
Regenerated: autoconf ports/sysdeps/hppa/configure.in
Carlos O'Donell [Thu, 23 Oct 2008 16:57:15 +0000 (16:57 +0000)]
Regenerated: autoconf ports/sysdeps/hppa/elf/configure.in
Jakub Jelinek [Thu, 16 Oct 2008 20:28:45 +0000 (20:28 +0000)]
* sysdeps/unix/sysv/linux/sys/signalfd.h (signalfd): Fix __THROW vs.
__nonnull order for C++.
* sysdeps/unix/sysv/linux/alpha/sys/signalfd.h (signalfd): Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/signalfd.h (signalfd): Likewise.
Daniel Jacobowitz [Wed, 15 Oct 2008 19:37:36 +0000 (19:37 +0000)]
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
* sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
Daniel Jacobowitz [Wed, 1 Oct 2008 13:28:14 +0000 (13:28 +0000)]
2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Richard Sandiford <rdsandiford@googlemail.com>
* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
* sysdeps/mips/dl-lookup.c: New.
* sysdeps/mips/do-lookup.h: New.
* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
definition.
(STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
if needed.
(ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
(elf_machine_type_class): Likewise.
(ELF_MACHINE_PLT_REL): Define.
(elf_machine_fixup_plt): New.
(elf_machine_plt_value): New.
(elf_machine_reloc): Handle jump slot and copy relocations.
(elf_machine_lazy_rel): Point relocation place at PLT if
required.
(RESOLVE_GOTSYM): Take a relocation type argument.
(elf_machine_got_rel): Bind lazy stubs directly to their target if
!lazy. Skip lazy binding for PLT symbols.
(elf_machine_runtime_setup): Fill in .got.plt header.
* sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
(ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
ELF_DL_PLT_RESTORE_ARG_REGS): Define.
(_dl_runtime_pltresolve): New.
* sysdeps/mips/bits/linkmap.h: New file.
* sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
64-bit versions.
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
Delete definition.
* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
(PSEUDO): Use them. Move outside __PIC__.
(PSEUDO_JMP): New.
(CENABLE, CDISABLE): Use it.
Joseph Myers [Tue, 19 Aug 2008 16:53:11 +0000 (16:53 +0000)]
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
to epoll_create1.
Joseph Myers [Tue, 19 Aug 2008 16:12:35 +0000 (16:12 +0000)]
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
* sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
Joseph Myers [Tue, 19 Aug 2008 16:06:38 +0000 (16:06 +0000)]
* sysdeps/powerpc/nofpu/shlib-versions: New.
* c++-types-powerpcsoft-linux-gnu.data: New.
* localplt-powerpcsoft-linux-gnu.data: New.
* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Use
__fegetenv.
Joseph Myers [Tue, 19 Aug 2008 15:59:07 +0000 (15:59 +0000)]
* data/c++-types-arm-linux-gnueabi.data: New.
* data/localplt-arm-linux-gnueabi.data: New.
* sysdeps/arm/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET to call
__sigsetjmp.
* sysdeps/arm/bsd-setjmp.S: Likewise.
* sysdeps/arm/eabi/aeabi_localeconv.c: Use __localeconv.
* sysdeps/arm/eabi/find_exidx.c (__gnu_Unwind_Find_exidx): Use
__dl_iterate_phdr.
* sysdeps/arm/eabi/setjmp.S: Add hidden_def (__sigsetjmp).
* sysdeps/arm/memmove.S: Use HIDDEN_JUMPTARGET to call memcpy from
within libc.
* sysdeps/arm/setjmp.S: Add hidden_def (__sigsetjmp).
* sysdeps/unix/sysv/linux/arm/clone.S: Use HIDDEN_JUMPTARGET to
call _exit.
* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Use __sysctl,
__readlink and fgets_unlocked.
(_ioperm): Use __open and __close.
Joseph Myers [Tue, 19 Aug 2008 15:54:50 +0000 (15:54 +0000)]
* sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
volatile.
Andreas Schwab [Sun, 10 Aug 2008 08:43:09 +0000 (08:43 +0000)]
2008-08-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
(__bswap_constant_16): Define.
(__bswap_16): Allow arguments with side effects.
(__bswap_constant_32): Ensure result is unsigned.
(__bswap_32): Define as inline function in fallback case.
(__bswap_constant_64): Define.
(__bswap_64): Use it for constant arguments.
* sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
type.
* sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
from <math.h>. Do not use extern inline directly.
* sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
(O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
SPLICE_F_MORE, SPLICE_F_GIFT): Define.
(sync_file_range, vmsplice, splice, tee): Declare.
* sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
POLLRDHUP): Define.
* sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
UTIME_OMIT): Define.
* sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
* sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
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.
Ulrich Drepper [Fri, 25 Jul 2008 04:44:10 +0000 (04:44 +0000)]
timerfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:44:03 +0000 (04:44 +0000)]
signalfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:59 +0000 (04:43 +0000)]
inotify.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:52 +0000 (04:43 +0000)]
eventfd.h header for Linux/Alpha.
Ulrich Drepper [Fri, 25 Jul 2008 04:43:46 +0000 (04:43 +0000)]
epoll.h header for Linux/Alpha.
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.
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.
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.
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.
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.
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().
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.
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.
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.
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.
Ulrich Drepper [Thu, 1 May 2008 05:37:45 +0000 (05:37 +0000)]
Define RUSAGE_THREAD and RUSAGE_LWP.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Ulrich Drepper [Thu, 27 Mar 2008 16:23:14 +0000 (16:23 +0000)]
Remove open system call.
Ulrich Drepper [Thu, 27 Mar 2008 15:19:41 +0000 (15:19 +0000)]
Undefined ARG_MAX if <linux/limits.h> has defined it.
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.
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.
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.
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>.
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.
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.
Ulrich Drepper [Wed, 16 Jan 2008 23:49:27 +0000 (23:49 +0000)]
Fix comment describing shmid_ds.
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.
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.
Daniel Jacobowitz [Mon, 22 Oct 2007 13:11:49 +0000 (13:11 +0000)]
Define F_DUPFD_CLOEXEC.
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.
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.
Ulrich Drepper [Wed, 17 Oct 2007 18:55:32 +0000 (18:55 +0000)]
Define F_DUPFD_CLOEXEC.
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.
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.
Ulrich Drepper [Tue, 18 Sep 2007 16:20:44 +0000 (16:20 +0000)]
Correct return value type __THROW marker of splice, vmsplice, and tee.
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.
Ulrich Drepper [Sat, 15 Sep 2007 02:31:47 +0000 (02:31 +0000)]
(__MATH_INLINE): Define to __extern_inline whenever that macro is defined.
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.
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.
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.
Jakub Jelinek [Tue, 21 Aug 2007 08:07:28 +0000 (08:07 +0000)]
* sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.
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.
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.
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.
Ulrich Drepper [Mon, 13 Aug 2007 18:33:00 +0000 (18:33 +0000)]
Include kernel-features.h.
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.
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.
Ulrich Drepper [Fri, 10 Aug 2007 01:44:09 +0000 (01:44 +0000)]
(O_CLOEXEC): Define.
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.
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.