summary refs log tree commit diff
path: root/sysdeps/powerpc/bsd-_setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/bsd-_setjmp.S')
-rw-r--r--sysdeps/powerpc/bsd-_setjmp.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/powerpc/bsd-_setjmp.S b/sysdeps/powerpc/bsd-_setjmp.S
index 90171ea616..a9aefcc977 100644
--- a/sysdeps/powerpc/bsd-_setjmp.S
+++ b/sysdeps/powerpc/bsd-_setjmp.S
@@ -25,5 +25,9 @@
 
 ENTRY (_setjmp)
 	li 4,0				/* Set second argument to 0.  */
-	b C_SYMBOL_NAME(__sigsetjmp)
+#ifdef PIC
+	b __sigsetjmp@plt
+#else
+	b __sigsetjmp
+#endif
 END (_setjmp)