From 9dd284eb5d042d5cb4fdfca892f5374bdeab4d11 Mon Sep 17 00:00:00 2001 From: Peter Griffin Date: Wed, 29 Apr 2009 12:02:47 +0100 Subject: sh: Change __HAVE_SHARED__ to __PIC__ Generate PIC relocations when __PIC__ is defined rather than __HAVE_SHARED__ (like other architectures). Signed-off-by: Peter Griffin Signed-off-by: Carmelo Amoroso --- libc/sysdeps/linux/sh/setjmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/sh/setjmp.S') diff --git a/libc/sysdeps/linux/sh/setjmp.S b/libc/sysdeps/linux/sh/setjmp.S index 3296c2ba9..00475a008 100644 --- a/libc/sysdeps/linux/sh/setjmp.S +++ b/libc/sysdeps/linux/sh/setjmp.S @@ -77,7 +77,7 @@ __sigsetjmp_intern: mov.l r9, @-r4 mov.l r8, @-r4 -#ifdef __HAVE_SHARED__ +#ifdef __PIC__ mov.l .LG, r2 mova .LG, r0 add r0, r2 -- cgit v1.2.3