summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/clone.S')
-rw-r--r--libc/sysdeps/linux/sh/clone.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/clone.S b/libc/sysdeps/linux/sh/clone.S
index b912db0ad..3d18b6dd0 100644
--- a/libc/sysdeps/linux/sh/clone.S
+++ b/libc/sysdeps/linux/sh/clone.S
@@ -26,7 +26,7 @@
#include <bits/sysnum.h>
-#ifdef __HAVE_SHARED__
+#ifdef __PIC__
#define PLTJMP(_x) _x@PLT
#else
#define PLTJMP(_x) _x
@@ -99,7 +99,7 @@ clone:
/* we are done, passing the return value through r0 */
mov.l .L1, r1
-#ifdef __HAVE_SHARED__
+#ifdef __PIC__
mov.l r12, @-r15
sts.l pr, @-r15
mov r0, r4