Andreas Schwab
690d264a40
m68k: fix loading of GOT for Coldfire
2010-08-02 18:48:56 +02:00
Andreas Schwab
2aed4f91fd
m68k: cleanup sysdep files
...
Use sysdep files in subdirectories instead of testing cpu macros.
2010-08-02 18:47:27 +02:00
Joseph Myers
71feaf7206
Define F_SETPIPE_SZ and F_GETPIPE_SZ for M68K.
2010-06-24 16:18:51 +00:00
Carlos O'Donell
3680f14a7d
[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.
2010-06-24 12:13:36 -04:00
Carlos O'Donell
131fafa7da
[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.
2010-06-23 17:03:11 -04:00
Joseph Myers
fdb3ec206e
Define F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.
2010-06-14 22:09:52 +00:00
Joseph Myers
ce47c03640
Define F_SETPIPE_SZ and F_GETPIPE_SZ for ARM.
2010-06-14 22:09:08 +00:00
Andreas Schwab
9166f36fcc
m68k: mark all inline math functions as non-throwing
2010-06-13 22:30:17 +02:00
Andreas Schwab
08b1b36387
m68k: Add required definitions to sys/user.h
2010-06-13 21:09:38 +02:00
Andreas Schwab
0df5659285
m68k: force alignment of futex variables
2010-06-11 21:59:21 +02:00
Andreas Schwab
c14e796ff6
hppa: Update nptl/pthread.h to match generic file
2010-06-07 14:46:19 +02:00
Joseph Myers
d0160bcc19
Fix internal_recvmmsg build attributes for ARM EABI.
2010-05-21 23:18:13 +00:00
Joseph Myers
6531684d50
Fix recvmmsg for MIPS.
2010-05-21 23:16:17 +00:00
Richard Henderson
200b5faee1
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>
2010-05-04 09:06:15 -07:00
Aurelien Jarno
2ec03f509f
alpha: add dl-procinfo support.
...
Fixes glibc bug 6827.
Signed-off-by: Matt Turner <mattst88@gmail.com>
2010-05-04 09:02:22 -07:00
Aurelien Jarno
116ff9ad18
alpha: fix corner cases in ceil, floor, rint.
...
Partial revert of bebc49030c
. 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>
2010-05-04 09:01:40 -07:00
GOTO Masanori
6a84c77c71
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>
2010-05-04 09:00:25 -07:00
Joseph Myers
b1ab8c5fd9
Update MIPS libc-abis configuration for libc changes.
2010-04-14 19:28:10 +00:00
Daniel Jacobowitz
2dcd7ed8fd
Fix unwinding through Thumb-2 system calls.
2010-04-08 12:43:55 -04:00
Joseph Myers
1dbb4edc73
Fix abiversion handling for MIPS.
2010-04-06 20:26:22 +00:00
Carlos O'Donell
3af825d53b
hppa: Define MSG_WAITFORONE.
...
Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
2010-03-31 13:52:39 -04:00
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
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