comparison sources/patches/uClibc-fixclone.patch @ 1419:62b8b2936c6f

Switch uClibc to 0.9.32, which simplifies the patch stack a lot but adds a few new ones.
author Rob Landley <rob@landley.net>
date Sun, 24 Jul 2011 13:55:31 -0500
parents
children
comparison
equal deleted inserted replaced
1418:f2f1238d25e2 1419:62b8b2936c6f
1 The sh4 and sparc targets have assembly implementations of clone.S that don't
2 get used, and thus the build breaks. Also, sparc is missing a header file in
3 pthreads.old that exists in pthreads.new.
4
5 diff --git a/libc/sysdeps/linux/sh/Makefile.arch b/libc/sysdeps/linux/sh/Makefile.arch
6 index 92e262b..6cbc681 100644
7 --- a/libc/sysdeps/linux/sh/Makefile.arch
8 +++ b/libc/sysdeps/linux/sh/Makefile.arch
9 @@ -9,4 +9,4 @@
10 CSRC := \
11 mmap.c pipe.c __init_brk.c brk.c sbrk.c pread_write.c cacheflush.c
12
13 -SSRC := setjmp.S __longjmp.S ___fpscr_values.S vfork.S
14 +SSRC := setjmp.S __longjmp.S ___fpscr_values.S vfork.S clone.S
15 diff --git a/libc/sysdeps/linux/sparc/Makefile.arch b/libc/sysdeps/linux/sparc/Makefile.arch
16 index d0cae9f..820b2fa 100644
17 --- a/libc/sysdeps/linux/sparc/Makefile.arch
18 +++ b/libc/sysdeps/linux/sparc/Makefile.arch
19 @@ -13,7 +13,7 @@ SSRC := \
20
21 ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
22 CSRC += sigaction.c
23 -SSRC += fork.S vfork.S
24 +SSRC += fork.S vfork.S clone.S
25 endif
26
27 # check weather __LONG_DOUBLE_128__ is defined (long double support)
28 --- /dev/null 2011-07-15 06:34:19.820919508 -0500
29 +++ uClibc/libpthread/linuxthreads.old/sysdeps/sparc/tcb-offsets.h 2011-07-23 19:53:02.079880519 -0500
30 @@ -0,0 +1 @@
31 +#include "../../../linuxthreads/sysdeps/pthread/tcb-offsets.h"