summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/setjmp.S
diff options
context:
space:
mode:
authorPeter Griffin <pgriffin@mpc-data.co.uk>2009-04-29 12:02:47 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-07-09 08:47:50 +0200
commit9dd284eb5d042d5cb4fdfca892f5374bdeab4d11 (patch)
tree6e62fbe38d3b9bdfcf550060900ea9e43ed75417 /libc/sysdeps/linux/sh/setjmp.S
parenta124fab2628b2da836836e824669ccee6b75cfd8 (diff)
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 <pgriffin@mpc-data.co.uk> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/setjmp.S')
-rw-r--r--libc/sysdeps/linux/sh/setjmp.S2
1 files changed, 1 insertions, 1 deletions
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