Commit Graph

3993 Commits

Author SHA1 Message Date
Joseph Myers
848fa4a9c0 Update ARM for ABIVERSION changes. 2010-03-30 16:26:07 +00:00
Richard Henderson
8eb49e8ae8 alpha: Define MSG_WAITFORONE.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-30 07:50:27 -07:00
Richard Henderson
3648b8073b Update ChangeLog for alpha kernel-features.h pulls. 2010-03-30 07:48:27 -07:00
Matt Turner
742c00d3d9 alpha: update kernel-features.h for syscalls added in 2.6.33.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-03-30 07:35:30 -07:00
Matt Turner
b14e8cb285 alpha: create kernel-features.h.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-03-30 07:34:57 -07:00
Joseph Myers
e9823ee1b8 Define MSG_WAITFORONE for MIPS. 2010-03-30 13:16:44 +00:00
Richard Henderson
05479f36bb alpha: Implement ____longjmp_chk.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:53 -07:00
Richard Henderson
c87187fbb5 alpha: Fix errlist-compat for GLIBC_2.12.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:53 -07:00
Richard Henderson
3a808c3df7 alpha: Add hidden alias for fegetenv.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:53 -07:00
Richard Henderson
45e3c40653 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>
2010-03-26 13:17:53 -07:00
Richard Henderson
6546e0c499 alpha: Don't include asm/page.h in sys/user.h.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:53 -07:00
Richard Henderson
c735022ded alpha: Update bits/fcntl.h for XPG7 and define f_owner_ex et al.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:52 -07:00
Richard Henderson
ee390edfa9 alpha: Define PTR_MANGLE for !PIC too.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:52 -07:00
Richard Henderson
cce01cf0a1 alpha: Avoid unused variable warnings with INTERNAL_SYSCALL_ERR*.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:52 -07:00
Richard Henderson
c7b880234d alpha: Add sysdep/unix/sysv/linux/alpha/creat.c.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:52 -07:00
Richard Henderson
a9374d8174 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>
2010-03-26 13:17:52 -07:00
Richard Henderson
6796df65e4 alpha: Fix the return type of the atomic.h macros.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 13:17:51 -07:00
Thomas Schwinge
01b32e7361 Add CFI statements to ARM's assembly code. 2010-03-26 18:12:56 +00:00
Joseph Myers
cca1fbbc2f Update MIPS dl-lookup.c from generic version. 2010-03-24 18:05:37 +00:00
Joseph Myers
b6c131119c Really commit intended version of Alpha bits/socket.h. 2010-03-23 15:25:31 +00:00
Matt Turner
0b37400ae4 Create bits/socket.h for alpha, correct SOCK_CLOEXEC and SOCK_NONBLOCK values. 2010-03-23 15:19:04 +00:00
Mischa Jonker
1eb0725631 Fix bug 11291: add *mem as atomic operation output for MIPS. 2010-03-23 15:03:10 +00:00
Andreas Schwab
92dd2ecf16 m68k: use signbit macro 2010-03-13 18:15:31 +01:00
Andreas Schwab
b5e933757c m68k: remove duplicate __signbit definitions 2010-03-13 17:28:12 +01:00
Andreas Schwab
326a03edf9 m68k: define __signbit inlines 2010-03-13 16:59:42 +01:00
Andreas Schwab
dbd0094b3f m68k: TLS reference to errno in syscall stubs 2010-03-13 01:00:03 +01:00
Andreas Schwab
7d6cb729ed m68k: don't include <sysdep.h> in lowlevellock.h 2010-03-12 22:15:23 +01:00
Andreas Schwab
7e261ba3d8 Add m68k-helpers optimized for m680x0 2010-03-12 21:40:09 +01:00
Andreas Schwab
2b3dafb087 Whitespace cleanup 2010-03-12 19:55:40 +01:00
Maxim Kuvyrkov
40111cb9e1 NPTL support for m68k/ColdFire 2010-03-12 19:52:07 +01:00
Maxim Kuvyrkov
75e73e66e4 m68k: update ColdFire sigcontext ABI 2010-03-12 19:52:07 +01:00
Maxim Kuvyrkov
d8e90a15fe m68k: remove bits/siginfo.h in favor of generic one 2010-03-12 19:51:56 +01:00
Maxim Kuvyrkov
42ae1878f3 m68k: update jmpbuf-unwind.h 2010-03-12 19:45:34 +01:00
Matt Turner
f3ed03373a 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>
2010-02-17 09:52:26 -05:00
Carlos O'Donell
317d0e66a0 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.
2010-02-17 09:27:42 -05:00
Carlos O'Donell
d143075adc 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().
2010-02-17 09:27:41 -05:00
Carlos O'Donell
40215fde03 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.
2010-02-17 09:27:40 -05:00
Joseph Myers
ee0c4dd1cc Add hidden alias for M68K fegetenv. 2010-02-10 15:32:33 +00:00
Joseph Myers
5ed9c2ea8a Add hidden alias for soft-float PowerPC fegetenv. 2010-02-10 15:15:58 +00:00
Joseph Myers
8256e69afd Add hidden alias for MIPS fegetenv. 2010-02-10 15:15:32 +00:00
Joseph Myers
caf557426d Add hidden alias for ARM fegetenv. 2010-02-10 15:14:41 +00:00
Carlos O'Donell
fa1b9bae63 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.
2010-02-01 17:55:00 -05:00
Carlos O'Donell
cbbda7adb2 Adjust errlist-compat to 257 for GLIBC_2.12
Added definitions for EOWNERDEAD, ENOTRECOVERABLE
and ERFKILL.
2010-02-01 17:54:59 -05:00
Carlos O'Donell
b8eca7ff8c 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.
2010-02-01 17:54:58 -05:00
Matt Turner
aa576322e0 Fix Alpha bits/stat.h double inclusion problem. 2010-01-30 00:22:01 +00:00
Matt Turner
1480094d1f Update Alpha bits/sigaction.h for XPG7. 2010-01-30 00:21:08 +00:00
Matt Turner
54faff0517 Update Alpha bits/fcntl.h for XPG7 and allow bits/stat.h inclusion from fcntl.h. 2010-01-30 00:19:01 +00:00
Matt Turner
1f4a25ae2b Update Alpha O_SYNC. 2010-01-30 00:17:16 +00:00
Mike Frysinger
77b22d3e99 alpha: fix typo in timer_settime include 2010-01-30 00:11:54 +00:00
Joseph Myers
54b7103af4 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.
2010-01-29 01:54:52 +00:00