From 5418c5ea2ab6a8e82421ebbf8060e52b5b1710a7 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 16 Dec 2009 08:48:08 +0100 Subject: build: Get rids of PIC macro using compiler flag __PIC__ instead Based on Peter Mazinger's comments on a recent commit, I decided to get rids of all occurrences of PIC changing them to __PIC__ Signed-off-by: Carmelo Amoroso --- libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S') diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S index 50d98d395..c7df9bf86 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S @@ -48,7 +48,7 @@ __pthread_cond_wait: .Lalloc: mov r4, r8 mov r5, r9 -#ifdef PIC +#ifdef __PIC__ mova .Lgot0, r0 mov.l .Lgot0, r12 add r0, r12 @@ -65,7 +65,7 @@ __pthread_cond_wait: bt 2f bra 1f nop -#ifdef PIC +#ifdef __PIC__ .align 2 .Lgot0: .long _GLOBAL_OFFSET_TABLE_ @@ -473,7 +473,7 @@ __condvar_w_cleanup: .LcallUR: mov.l .Lresume, r1 -#ifdef PIC +#ifdef __PIC__ add r12, r1 #endif jsr @r1 @@ -488,7 +488,7 @@ __condvar_w_cleanup: .Lmlocki3: .long __pthread_mutex_cond_lock-.Lmlocki3b .Lresume: -#ifdef PIC +#ifdef __PIC__ .long _Unwind_Resume@GOTOFF #else .long _Unwind_Resume -- cgit v1.2.3