annotate sources/patches/uClibc-fixclone.patch @ 1458:60f1087591ac

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