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 1555bb2b3..6128d9fa2 100644 --- a/libc/sysdeps/linux/powerpc/bsd-setjmp.S +++ b/libc/sysdeps/linux/powerpc/bsd-setjmp.S @@ -29,7 +29,11 @@ __setjmp: li r4,1 /* Set second argument to 1. */ +#ifdef __PIC__ + b __sigsetjmp@plt +#else b __sigsetjmp +#endif .size __setjmp,.-__setjmp .globl setjmp; -- cgit v1.2.3