about summary refs log tree commit diff
path: root/ports
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-02-12 10:44:10 -0800
committerRichard Henderson <rth@twiddle.net>2013-02-28 00:08:59 -0800
commitc98ec0b97f5223b1788adde6c25e9f7963efba48 (patch)
tree71fdb1fb43656bee184f06efd5d610d4589bc93d /ports
parent8a0018d62f3f25d3c36eb45a92a1c64023695b6c (diff)
downloadglibc-c98ec0b97f5223b1788adde6c25e9f7963efba48.tar.gz
glibc-c98ec0b97f5223b1788adde6c25e9f7963efba48.tar.xz
glibc-c98ec0b97f5223b1788adde6c25e9f7963efba48.zip
arm: Include libc-do-syscall in sysdep-rtld-routines
When compiling with -mthumb, ld.so itself also needs __libc_do_syscall.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.arm3
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/Makefile2
2 files changed, 4 insertions, 1 deletions
diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm
index 611265f6ad..cca2c6970b 100644
--- a/ports/ChangeLog.arm
+++ b/ports/ChangeLog.arm
@@ -4,6 +4,9 @@
 
 	* sysdeps/arm/preconfigure: Handle __ARM_ARCH_6*__.
 
+	* sysdeps/unix/sysv/linux/arm/Makefile [elf] (sysdep-rtld-routines):
+	Include libc-do-syscall.
+
 2013-02-27  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/arm/sysdep.h (CFI_SECTIONS): New macro.
diff --git a/ports/sysdeps/unix/sysv/linux/arm/Makefile b/ports/sysdeps/unix/sysv/linux/arm/Makefile
index be7946e966..56ef159670 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/Makefile
+++ b/ports/sysdeps/unix/sysv/linux/arm/Makefile
@@ -10,7 +10,7 @@ shared-only-routines += libc-aeabi_read_tp
 endif
 
 ifeq ($(subdir),elf)
-sysdep-rtld-routines += aeabi_read_tp
+sysdep-rtld-routines += aeabi_read_tp libc-do-syscall
 endif
 
 ifeq ($(subdir),misc)