From e26ed573b62f69d9813e72fda4ee3da6eaf4d7b7 Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Fri, 5 Jan 2007 10:20:37 +0000 Subject: Support SecurePLTs for PowerPC. You need a toolchain that supports config option --enable-secureplt. The assembler must also supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17 is known to do this. --- libc/sysdeps/linux/powerpc/bsd-setjmp.S | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (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 6128d9fa2..f95d08217 100644 --- a/libc/sysdeps/linux/powerpc/bsd-setjmp.S +++ b/libc/sysdeps/linux/powerpc/bsd-setjmp.S @@ -29,11 +29,9 @@ __setjmp: li r4,1 /* Set second argument to 1. */ -#ifdef __PIC__ - b __sigsetjmp@plt -#else - b __sigsetjmp -#endif + + b __sigsetjmp@local + .size __setjmp,.-__setjmp .globl setjmp; -- cgit v1.2.3