summaryrefslogtreecommitdiff
path: root/patches/glibc
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-10 00:35:44 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-10 02:05:36 (GMT)
commit4ccbf49d1109bc435253d24b901d53feb37fb22b (patch)
tree477ebd04b887eff49a189cb20697c7d873da8a66 /patches/glibc
parentcc3432c4d6ada44e2cb2ff80dd09f66e0614d3aa (diff)
Add a patch to build 2.15 for ARM
Fix from upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc')
-rw-r--r--patches/glibc/ports-2.15/091-libmemusage-link-failure.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.15/091-libmemusage-link-failure.patch b/patches/glibc/ports-2.15/091-libmemusage-link-failure.patch
new file mode 100644
index 0000000..9f9887c
--- /dev/null
+++ b/patches/glibc/ports-2.15/091-libmemusage-link-failure.patch
@@ -0,0 +1,19 @@
+commit 2d80bda39073a35af4b904d27fa1511cd309b26f
+Author: Nathan Sidwell <nathan@codesourcery.com>
+Date: Fri Jan 6 20:14:44 2012 +0000
+
+ Add ARM dependency of libmemusage.so on libc_nonshared.a.
+
+diff --git a/ports/sysdeps/arm/Makefile b/ports/sysdeps/arm/Makefile
+index 5651161..1a88430 100644
+--- a/ports/sysdeps/arm/Makefile
++++ b/ports/sysdeps/arm/Makefile
+@@ -7,3 +7,8 @@ endif
+ ifeq ($(subdir),csu)
+ gen-as-const-headers += tlsdesc.sym
+ endif
++
++# to pull in __aeabi_read_tp, needed for tls
++ifeq ($(subdir),malloc)
++$(objpfx)libmemusage.so: $(common-objpfx)libc_nonshared.a
++endif