From d4d4f37fda7fa57e57132ff2f0d735ce7cc2178e Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Sep 2016 12:29:56 +0200 Subject: cleanup ppc port Remove powerpc64 bits as we only support powerpc32. --- libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S index 91c939e57..675a997e9 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S @@ -1,5 +1,9 @@ -#if defined __powerpc64__ -# include "powerpc64/clone.S" +/* We want an #include_next, but we are the main source file. + So, #include ourselves and in that incarnation we can use #include_next. */ +#ifndef INCLUDED_SELF +# define INCLUDED_SELF +# include #else -# include "powerpc32/clone.S" +# define RESET_PID +# include_next #endif -- cgit v1.2.3