From f0923988dea536a51618d3cdca0c2621699143f4 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 10 Apr 2002 07:20:20 +0000 Subject: Make assembly code PIC-compatible. --- libc/sysdeps/linux/powerpc/bsd-_setjmp.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps/linux/powerpc/bsd-_setjmp.S') diff --git a/libc/sysdeps/linux/powerpc/bsd-_setjmp.S b/libc/sysdeps/linux/powerpc/bsd-_setjmp.S index ef898a7e1..d58e45b13 100644 --- a/libc/sysdeps/linux/powerpc/bsd-_setjmp.S +++ b/libc/sysdeps/linux/powerpc/bsd-_setjmp.S @@ -29,5 +29,9 @@ _setjmp: li r4,0 /* Set second argument to 0. */ +#ifdef __PIC__ + b __sigsetjmp@plt +#else b __sigsetjmp +#endif .size _setjmp,.-_setjmp -- cgit v1.2.3