diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-02-02 00:17:30 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-08 00:50:30 +0000 |
commit | 0c1386ccad79f3fee36eddc5f7810b4c20b2382d (patch) | |
tree | 96f8edc6002bb6492933deede812c760cf617b01 /meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch | |
parent | b9ff9682b3bac2c6e23f9c9ba15f25530228e2c7 (diff) | |
download | poky-0c1386ccad79f3fee36eddc5f7810b4c20b2382d.tar.gz |
uclibc: Upgrade recipes from 0.9.32 -> 0.9.33
Prefer 0.9.33 by default
Delete recipes for 0.9.32
(From OE-Core rev: 5d2c0b051072b3cee510dcad8d20fb26d3843f62)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch b/meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch new file mode 100644 index 0000000000..15ee0ca156 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-0.9.33/compile-arm-fork-with-O2.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | When compiling in thumb mode for arm with -Os gcc gives up since it can not find registers | ||
2 | to spill. So we use -O2 option for compiling fork.c It may be addressable in gcc. | ||
3 | |||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
9 | index 329d8a9..41e3646 100644 | ||
10 | --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
11 | +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | ||
12 | @@ -30,3 +30,9 @@ CFLAGS-OMIT-libc-lowlevellock.c = -DNOT_IN_libc -DIS_IN_libpthread | ||
13 | # This macro should be alternatively implemented in THUMB | ||
14 | # assembly. | ||
15 | ASFLAGS-vfork.S = -marm | ||
16 | + | ||
17 | +# For arm fork.c does not compile with -Os when in compiling | ||
18 | +# in thumb1 mode | ||
19 | +ifeq ($(COMPILE_IN_THUMB_MODE),y) | ||
20 | +CFLAGS-fork.c = -O2 | ||
21 | +endif | ||