Joseph Myers [Mon, 11 Oct 2010 14:58:26 +0000 (14:58 +0000)]
Add hidden feupdateenv and fetestexcept definitions for Power.
Joseph Myers [Mon, 11 Oct 2010 14:58:01 +0000 (14:58 +0000)]
Add hidden feupdateenv and fetestexcept definitions for MIPS.
Joseph Myers [Mon, 11 Oct 2010 14:57:33 +0000 (14:57 +0000)]
Add hidden feupdateenv and fetestexcept definitions for ARM.
Joseph Myers [Thu, 30 Sep 2010 18:17:22 +0000 (18:17 +0000)]
Add fanotify_mark for ARM.
Richard Henderson [Sun, 26 Sep 2010 18:13:04 +0000 (11:13 -0700)]
Update changelog for last change.
Michael Cree [Sun, 26 Sep 2010 08:15:51 +0000 (21:15 +1300)]
alpha: Fix compile errors in memchr
Include missing header file and make some casts explicit.
Richard Henderson [Thu, 23 Sep 2010 15:05:17 +0000 (08:05 -0700)]
Merge branch 'rth/testing'
Richard Henderson [Wed, 15 Sep 2010 17:41:43 +0000 (10:41 -0700)]
alpha: rewrite memchr.
[BZ #12019]
The new implementation does not read too much data.
Andreas Schwab [Wed, 25 Aug 2010 20:55:55 +0000 (22:55 +0200)]
m68k: fix SYSCALL_ERROR_LOAD_GOT for Coldfire
Andreas Schwab [Sat, 14 Aug 2010 20:28:47 +0000 (22:28 +0200)]
m68k: remove fanotify_init from syscalls list
Andreas Schwab [Sat, 14 Aug 2010 10:37:04 +0000 (12:37 +0200)]
m68k: Add prlimit64, fanotify_init, fanotify_mask syscalls
Joseph Myers [Fri, 13 Aug 2010 23:43:22 +0000 (23:43 +0000)]
Correct #undef location in previous commit.
Joseph Myers [Fri, 13 Aug 2010 23:37:54 +0000 (23:37 +0000)]
Undefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.
Chandrakala Chavva [Fri, 13 Aug 2010 23:25:10 +0000 (23:25 +0000)]
Fix MIPS PSEUDO define for n32 and n64 non-PIC.
Alexander Kanevskiy [Fri, 13 Aug 2010 19:43:35 +0000 (19:43 +0000)]
ARM: Align hwcap names and definitions with kernel, mark VFP and NEON as HWCAP_IMPORTANT.
- Align hwcap names with kernel (arch/arm/kernel/setup.c)
- Align HWCAP_ARM_* definitions with kernel
- Make VFP and NEON as HWCAP_IMPORTANT, this can help in scenarios
where VFP/NEON HW optimizations can be utilized.
Joseph Myers [Fri, 13 Aug 2010 16:50:07 +0000 (16:50 +0000)]
Define EXTPROC for MIPS.
Joseph Myers [Thu, 12 Aug 2010 22:18:00 +0000 (22:18 +0000)]
Add f_flags to struct statfs for MIPS.
Joseph Myers [Thu, 12 Aug 2010 22:01:30 +0000 (22:01 +0000)]
Add IN_EXCL_UNLINK for MIPS.
Joseph Myers [Thu, 12 Aug 2010 15:40:29 +0000 (15:40 +0000)]
Add prlimit64 for MIPS.
Joseph Myers [Thu, 12 Aug 2010 15:38:57 +0000 (15:38 +0000)]
Add prlimit64 for ARM.
Andreas Schwab [Mon, 2 Aug 2010 16:48:56 +0000 (18:48 +0200)]
m68k: fix loading of GOT for Coldfire
Andreas Schwab [Mon, 2 Aug 2010 16:47:27 +0000 (18:47 +0200)]
m68k: cleanup sysdep files
Use sysdep files in subdirectories instead of testing cpu macros.
Joseph Myers [Thu, 24 Jun 2010 16:18:51 +0000 (16:18 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for M68K.
Carlos O'Donell [Thu, 24 Jun 2010 16:13:36 +0000 (12:13 -0400)]
[hppa] Fix incorrect stack frame usage in vfork.
In a multithreaded environment the call to vfork was
incorrectly creating a stack frame. Given that the
child unwinds the stack frame first to call exec, it
will corrupt any values the parent stored in the stack
frame. The solution is to avoid creating a stack frame
unless required to call an error function, in which case
we are assured no child was created.
Carlos O'Donell [Wed, 23 Jun 2010 21:03:11 +0000 (17:03 -0400)]
[hppa] Fix *context stack usage for varargs
The getcontext, and setcontext functions should
not adjust the stack, and should load the stack
pointer from the machine context. Calling makecontext
should create a frame for spilled incoming arguments,
and sync uc_stack.ss_sp to the machine context.
We do not support calling getcontext, modifying ss_sp,
and calling setcontext directly.
Joseph Myers [Mon, 14 Jun 2010 22:09:52 +0000 (22:09 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.
Joseph Myers [Mon, 14 Jun 2010 22:09:08 +0000 (22:09 +0000)]
Define F_SETPIPE_SZ and F_GETPIPE_SZ for ARM.
Andreas Schwab [Sun, 13 Jun 2010 20:30:17 +0000 (22:30 +0200)]
m68k: mark all inline math functions as non-throwing
Andreas Schwab [Sun, 13 Jun 2010 19:09:38 +0000 (21:09 +0200)]
m68k: Add required definitions to sys/user.h
Andreas Schwab [Fri, 11 Jun 2010 19:58:32 +0000 (21:58 +0200)]
m68k: force alignment of futex variables
Andreas Schwab [Mon, 7 Jun 2010 08:11:17 +0000 (10:11 +0200)]
hppa: Update nptl/pthread.h to match generic file
Andreas Schwab [Sat, 22 May 2010 19:04:42 +0000 (21:04 +0200)]
m68k: add c++-types and localplt data for m68k-linux-gnu
Joseph Myers [Fri, 21 May 2010 23:18:13 +0000 (23:18 +0000)]
Fix internal_recvmmsg build attributes for ARM EABI.
Joseph Myers [Fri, 21 May 2010 23:16:17 +0000 (23:16 +0000)]
Fix recvmmsg for MIPS.
Richard Henderson [Wed, 5 May 2010 15:12:11 +0000 (08:12 -0700)]
alpha: Do the 32/64-bit split on statfs routines.
Richard Henderson [Tue, 4 May 2010 16:12:27 +0000 (09:12 -0700)]
Add BZ markers.
Richard Henderson [Tue, 4 May 2010 16:06:15 +0000 (09:06 -0700)]
alpha: fix memchr to not cause memory faults.
http://www.mail-archive.com/debian-alpha@lists.debian.org/msg25088.html
Signed-off-by: Matt Turner <mattst88@gmail.com>
Aurelien Jarno [Tue, 4 May 2010 03:25:06 +0000 (23:25 -0400)]
alpha: add dl-procinfo support.
Fixes glibc bug 6827.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Aurelien Jarno [Tue, 4 May 2010 03:25:05 +0000 (23:25 -0400)]
alpha: fix corner cases in ceil, floor, rint.
Partial revert of
bebc49030c15. Even with the revert, ceil and floor are
still faster than libcpml's equivalent.
Fixes bug 5350.
Signed-off-by: Matt Turner <mattst88@gmail.com>
GOTO Masanori [Tue, 4 May 2010 03:25:04 +0000 (23:25 -0400)]
alpha: fix *xstat.c build failure for Linux headers < 2.6.4
Fixes glibc bug 1026.
http://sourceware.org/ml/libc-alpha/2005-02/msg00122.html
Signed-off-by: Matt Turner <mattst88@gmail.com>
Joseph Myers [Wed, 14 Apr 2010 19:28:10 +0000 (19:28 +0000)]
Update MIPS libc-abis configuration for libc changes.
Daniel Jacobowitz [Thu, 8 Apr 2010 16:43:55 +0000 (12:43 -0400)]
Fix unwinding through Thumb-2 system calls.
Joseph Myers [Tue, 6 Apr 2010 20:26:22 +0000 (20:26 +0000)]
Fix abiversion handling for MIPS.
Carlos O'Donell [Wed, 31 Mar 2010 17:52:39 +0000 (13:52 -0400)]
hppa: Define MSG_WAITFORONE.
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
Joseph Myers [Tue, 30 Mar 2010 16:26:07 +0000 (16:26 +0000)]
Update ARM for ABIVERSION changes.
Richard Henderson [Tue, 30 Mar 2010 14:50:27 +0000 (07:50 -0700)]
alpha: Define MSG_WAITFORONE.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Tue, 30 Mar 2010 14:48:27 +0000 (07:48 -0700)]
Update ChangeLog for alpha kernel-features.h pulls.
Matt Turner [Fri, 26 Mar 2010 20:49:56 +0000 (16:49 -0400)]
alpha: update kernel-features.h for syscalls added in 2.6.33.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Matt Turner [Fri, 26 Mar 2010 20:49:55 +0000 (16:49 -0400)]
alpha: create kernel-features.h.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Joseph Myers [Tue, 30 Mar 2010 13:16:44 +0000 (13:16 +0000)]
Define MSG_WAITFORONE for MIPS.
Richard Henderson [Fri, 26 Mar 2010 20:17:02 +0000 (13:17 -0700)]
alpha: Implement ____longjmp_chk.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 18:21:47 +0000 (11:21 -0700)]
alpha: Fix errlist-compat for GLIBC_2.12.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 18:20:21 +0000 (11:20 -0700)]
alpha: Add hidden alias for fegetenv.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 18:10:23 +0000 (11:10 -0700)]
alpha: Only define __libc_alpha_cache_shape in dl-sysdep.c.
The static program builds in libc were getting multiple
definition errors between dl-sysdep and dl-support.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:41:22 +0000 (10:41 -0700)]
alpha: Don't include asm/page.h in sys/user.h.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:38:14 +0000 (10:38 -0700)]
alpha: Update bits/fcntl.h for XPG7 and define f_owner_ex et al.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:30:25 +0000 (10:30 -0700)]
alpha: Define PTR_MANGLE for !PIC too.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:29:42 +0000 (10:29 -0700)]
alpha: Avoid unused variable warnings with INTERNAL_SYSCALL_ERR*.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:28:37 +0000 (10:28 -0700)]
alpha: Add sysdep/unix/sysv/linux/alpha/creat.c.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:27:37 +0000 (10:27 -0700)]
alpha: Adjust the libc_cv_alpha_hidden_gprel test for gcc 4.5.
GCC 4.5 was able to tell that BAR was read-only and zero, and
elided the load. Which caused the pattern match to fail.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 17:25:53 +0000 (10:25 -0700)]
alpha: Fix the return type of the atomic.h macros.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Thomas Schwinge [Fri, 26 Mar 2010 18:12:56 +0000 (18:12 +0000)]
Add CFI statements to ARM's assembly code.
Joseph Myers [Wed, 24 Mar 2010 18:05:37 +0000 (18:05 +0000)]
Update MIPS dl-lookup.c from generic version.
Joseph Myers [Tue, 23 Mar 2010 15:25:31 +0000 (15:25 +0000)]
Really commit intended version of Alpha bits/socket.h.
Matt Turner [Tue, 23 Mar 2010 15:19:04 +0000 (15:19 +0000)]
Create bits/socket.h for alpha, correct SOCK_CLOEXEC and SOCK_NONBLOCK values.
Mischa Jonker [Tue, 23 Mar 2010 15:03:10 +0000 (15:03 +0000)]
Fix bug 11291: add *mem as atomic operation output for MIPS.
Andreas Schwab [Sat, 13 Mar 2010 17:14:35 +0000 (18:14 +0100)]
m68k: use signbit macro
Andreas Schwab [Sat, 13 Mar 2010 16:28:12 +0000 (17:28 +0100)]
m68k: remove duplicate __signbit definitions
Andreas Schwab [Sat, 13 Mar 2010 15:59:42 +0000 (16:59 +0100)]
m68k: define __signbit inlines
Andreas Schwab [Sat, 13 Mar 2010 00:00:03 +0000 (01:00 +0100)]
m68k: TLS reference to errno in syscall stubs
Andreas Schwab [Fri, 12 Mar 2010 21:15:23 +0000 (22:15 +0100)]
m68k: don't include <sysdep.h> in lowlevellock.h
Andreas Schwab [Fri, 12 Mar 2010 20:37:02 +0000 (21:37 +0100)]
Add m68k-helpers optimized for m680x0
Andreas Schwab [Fri, 12 Mar 2010 18:55:40 +0000 (19:55 +0100)]
Whitespace cleanup
Maxim Kuvyrkov [Fri, 12 Mar 2010 18:50:55 +0000 (19:50 +0100)]
NPTL support for m68k/ColdFire
Maxim Kuvyrkov [Tue, 9 Mar 2010 10:34:24 +0000 (02:34 -0800)]
m68k: update ColdFire sigcontext ABI
Maxim Kuvyrkov [Tue, 9 Mar 2010 10:32:38 +0000 (02:32 -0800)]
m68k: remove bits/siginfo.h in favor of generic one
Maxim Kuvyrkov [Tue, 9 Mar 2010 10:20:36 +0000 (02:20 -0800)]
m68k: update jmpbuf-unwind.h
Matt Turner [Wed, 17 Feb 2010 14:52:26 +0000 (09:52 -0500)]
Fix SOCK_CLOEXEC on HPPA to match O_CLOEXEC.
The kernel defines SOCK_CLOEXEC as
include/linux/net.h:#define SOCK_CLOEXEC O_CLOEXEC
arch/parisc/include/asm/fcntl.h:#define O_CLOEXEC
010000000
But glibc was defining
sysdeps/unix/sysv/linux/hppa/bits/socket.h: SOCK_CLOEXEC =
01000000,
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
Carlos O'Donell [Tue, 2 Feb 2010 21:50:15 +0000 (16:50 -0500)]
Define MADV_MERGEABLE and MADV_UNMERGEABLE.
Add MADV_MERGEABLE and MADV_UNMERGEABLE to bits/mman.h,
matching HPPA values used in Linux kernel 2.6.32.
Carlos O'Donell [Tue, 2 Feb 2010 21:40:28 +0000 (16:40 -0500)]
Update __set_cr27() to mark r31 clobbered.
The function __set_cr27() uses the `ble`
instruction without marking the link register
r31 as clobbered. This change adds r31 to the
list of clobbers. The TLS thread register is
cr27 and is set by calling __set_cr27().
Carlos O'Donell [Tue, 2 Feb 2010 21:36:48 +0000 (16:36 -0500)]
Add unlimited argument support to makecontext()
The initial implementation of makecontext()
supported only 8 arguments. This change adds
support for unlimited argument processing given
a large enough stack.
Joseph Myers [Wed, 10 Feb 2010 15:32:33 +0000 (15:32 +0000)]
Add hidden alias for M68K fegetenv.
Joseph Myers [Wed, 10 Feb 2010 15:15:58 +0000 (15:15 +0000)]
Add hidden alias for soft-float PowerPC fegetenv.
Joseph Myers [Wed, 10 Feb 2010 15:15:32 +0000 (15:15 +0000)]
Add hidden alias for MIPS fegetenv.
Joseph Myers [Wed, 10 Feb 2010 15:14:41 +0000 (15:14 +0000)]
Add hidden alias for ARM fegetenv.
Carlos O'Donell [Mon, 1 Feb 2010 22:52:33 +0000 (17:52 -0500)]
Fix SOCK_CLOEXEC for accept4
Adjust the value of SOCK_CLOEXEC to match the kernel
value used for accept4. This has never worked in the
past, and all old applications are broken, therefore
we change this value to match the kernel value.
Carlos O'Donell [Mon, 1 Feb 2010 22:47:51 +0000 (17:47 -0500)]
Adjust errlist-compat to 257 for GLIBC_2.12
Added definitions for EOWNERDEAD, ENOTRECOVERABLE
and ERFKILL.
Carlos O'Donell [Tue, 1 Dec 2009 15:45:41 +0000 (10:45 -0500)]
Update constants and rearrange file.
Update F_SETOWN_EX and F_GETOWN_EX. Rearrange
the file to match other targets, reducing future
diffs against other targets and making maintenance
easier.
Matt Turner [Sat, 30 Jan 2010 00:22:01 +0000 (00:22 +0000)]
Fix Alpha bits/stat.h double inclusion problem.
Matt Turner [Sat, 30 Jan 2010 00:21:08 +0000 (00:21 +0000)]
Update Alpha bits/sigaction.h for XPG7.
Matt Turner [Sat, 30 Jan 2010 00:19:01 +0000 (00:19 +0000)]
Update Alpha bits/fcntl.h for XPG7 and allow bits/stat.h inclusion from fcntl.h.
Matt Turner [Sat, 30 Jan 2010 00:17:16 +0000 (00:17 +0000)]
Update Alpha O_SYNC.
Mike Frysinger [Sat, 30 Jan 2010 00:11:54 +0000 (00:11 +0000)]
alpha: fix typo in timer_settime include
Joseph Myers [Fri, 29 Jan 2010 01:54:52 +0000 (01:54 +0000)]
Fix microMIPS glibc by avoiding hardcoded instruction length assumptions.
microMIPS is a variable-length encoding of the MIPS32 instruction set
(plus some extra instructions). As it supports almost all of MIPS32,
assembly sources in glibc do not generally need changes to work with
microMIPS, but dl-trampoline.c contains some code with a hardcoded
assumption that three instructions occupy twelve bytes. This patch
fixes this code for microMIPS by using the difference between two
labels to let the assembler calculate the relevant length.
Joseph Myers [Mon, 11 Jan 2010 21:51:34 +0000 (21:51 +0000)]
Fix M68K bits/stat.h double inclusion problem.
Joseph Myers [Mon, 11 Jan 2010 21:00:28 +0000 (21:00 +0000)]
Fix MIPS bits/stat.h double inclusion problem.
Joseph Myers [Mon, 11 Jan 2010 13:28:37 +0000 (13:28 +0000)]
Update MIPS bits/sigaction.h for XPG7.
Joseph Myers [Sun, 10 Jan 2010 19:02:51 +0000 (19:02 +0000)]
Update M68K bits/fcntl.h for XPG7 and allow bits/stat.h inclusion from fcntl.h.
Joseph Myers [Sun, 10 Jan 2010 16:56:19 +0000 (16:56 +0000)]
Update MIPS bits/fcntl.h for XPG7 and allow bits/stat.h inclusion from fcntl.h.
Joseph Myers [Sun, 10 Jan 2010 16:55:39 +0000 (16:55 +0000)]
Update ARM bits/fcntl.h for XPG7.