aboutsummaryrefslogtreecommitdiff
path: root/ports/sysdeps/unix/sysv/linux/aarch64/Makefile
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-07-05 17:13:35 +0100
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2013-07-09 15:07:12 +0100
commit8ab07407ba4857e0d565288f786a53360b17466b (patch)
treec6f7ed36dd02ff409a4a2619fb54cb52214628fe /ports/sysdeps/unix/sysv/linux/aarch64/Makefile
parentc61f8513f7392e512faab89b758093c6e61a890c (diff)
downloadglibc-8ab07407ba4857e0d565288f786a53360b17466b.zip
glibc-8ab07407ba4857e0d565288f786a53360b17466b.tar.gz
glibc-8ab07407ba4857e0d565288f786a53360b17466b.tar.bz2
[AArch64] Use _dl_static_init to set GLR0(dl_pagesize)
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/aarch64/Makefile')
-rw-r--r--ports/sysdeps/unix/sysv/linux/aarch64/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/Makefile b/ports/sysdeps/unix/sysv/linux/aarch64/Makefile
index 97c179a..8a3d76b 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/Makefile
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/Makefile
@@ -7,6 +7,12 @@ endif
ifeq ($(subdir),elf)
sysdep_routines += dl-vdso
sysdep-rtld-routines += __read_tp
+ifeq ($(build-shared),yes)
+# This is needed for DSO loading from static binaries.
+sysdep-dl-routines += dl-static
+sysdep_routines += dl-static
+sysdep-rtld-routines += dl-static
+endif
endif
ifeq ($(subdir),misc)