summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/clone.S10
1 files changed, 7 insertions, 3 deletions
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 <clone.S>
#else
-# include "powerpc32/clone.S"
+# define RESET_PID
+# include_next <clone.S>
#endif