From b6a444a72e587272cdeca6d7148a9249a037df6f Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Thu, 15 Jul 2010 14:22:56 +0200
Subject: nptl: (librt) powerpc32's PSEUDO_RET needs __syscall_error

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'libpthread')

diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch
index 02b6e9c37..ee75cdbdc 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/Makefile.arch
@@ -11,6 +11,9 @@ libpthread_linux_arch_CSRC = pthread_once.c pt-__syscall_error.c
 libc_linux_arch_CSRC = fork.c
 libc_linux_arch_SSRC = clone.S vfork.S
 
+# powerpc32's PSEUDO_RET needs __syscall_error@local
+librt_linux_arch_CSRC = pt-__syscall_error.c
+
 ASFLAGS += -DUSE___THREAD
 CFLAGS += $(SSP_ALL_CFLAGS)
 
-- 
cgit v1.2.3