diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch b/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch new file mode 100644 index 0000000000..bf6f2c8dbf --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 714f543f4fa8fb3911449b6ce1517481359e0cff Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 23 Jun 2012 14:21:17 -0700 | ||
4 | Subject: [PATCH] nptl/arm: Move aeabi_read_tp to uclibc_nonshared.a | ||
5 | |||
6 | Otherwise it creates wrong references from shared libs | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | Upstream-Status: Pending | ||
10 | --- | ||
11 | libc/sysdeps/linux/arm/Makefile.arch | 4 +++- | ||
12 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch | ||
15 | index 5fc3e54..8285b9b 100644 | ||
16 | --- a/libc/sysdeps/linux/arm/Makefile.arch | ||
17 | +++ b/libc/sysdeps/linux/arm/Makefile.arch | ||
18 | @@ -13,7 +13,9 @@ SSRC := \ | ||
19 | vfork.S clone.S | ||
20 | |||
21 | ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) | ||
22 | -SSRC += libc-aeabi_read_tp.S libc-thumb_atomics.S | ||
23 | +SSRC += libc-thumb_atomics.S | ||
24 | +libc-nonshared-y += $(ARCH_OUT)/libc-aeabi_read_tp.os | ||
25 | +libc-static-y += $(ARCH_OUT)/libc-aeabi_read_tp.o | ||
26 | endif | ||
27 | |||
28 | ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y) | ||
29 | -- | ||
30 | 1.7.9.5 | ||
31 | |||