From c98ec0b97f5223b1788adde6c25e9f7963efba48 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 12 Feb 2013 10:44:10 -0800 Subject: [PATCH] arm: Include libc-do-syscall in sysdep-rtld-routines When compiling with -mthumb, ld.so itself also needs __libc_do_syscall. --- ports/ChangeLog.arm | 3 +++ ports/sysdeps/unix/sysv/linux/arm/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index 611265f..cca2c69 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 * 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 be7946e..56ef159 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) -- 2.7.4