summaryrefslogtreecommitdiff
path: root/packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-12-02 23:30:38 (GMT)
committerGitHub <noreply@github.com>2017-12-02 23:30:38 (GMT)
commitd917a29865876b913fe2939ee2a0728145e8543a (patch)
tree4e048ed57988306696efa3c5b81a80d48030e913 /packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch
parente832b9b220f90b11b893e2815ceb37ec2b708683 (diff)
parent98bc4decdeab1361bdc585c86591718fb08c8ffb (diff)
Merge pull request #874 from stilor/renumber-update-patches
Renumber & update patches
Diffstat (limited to 'packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch')
-rw-r--r--packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch b/packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch
new file mode 100644
index 0000000..6e35f5a
--- /dev/null
+++ b/packages/glibc-ports/2.15/0001-libmemusage-link-failure.patch
@@ -0,0 +1,21 @@
+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.
+
+---
+ sysdeps/arm/Makefile | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+--- a/sysdeps/arm/Makefile
++++ b/sysdeps/arm/Makefile
+@@ -7,3 +7,8 @@
+ 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