summaryrefslogtreecommitdiff
path: root/libc/string/x86_64/memcpy.S
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 09:09:38 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-12-16 09:09:38 +0100
commit9849c407e8e6732fbf417cb447937e3b3b9a54ec (patch)
treeb5afacedc3fde717c225b6969f3bcc8c8765d7f4 /libc/string/x86_64/memcpy.S
parent8cd420c223f1a39c01835189669928ea8df9d221 (diff)
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 <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/string/x86_64/memcpy.S')
-rw-r--r--libc/string/x86_64/memcpy.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/x86_64/memcpy.S b/libc/string/x86_64/memcpy.S
index 697b992d0..011291447 100644
--- a/libc/string/x86_64/memcpy.S
+++ b/libc/string/x86_64/memcpy.S
@@ -26,7 +26,7 @@
#define MEMPCPY_P (defined memcpy)
.text
-#if defined PIC && !defined NOT_IN_libc
+#if defined __PIC__ && !defined NOT_IN_libc
ENTRY (__memcpy_chk)
cmpq %rdx, %rcx
jb HIDDEN_JUMPTARGET (__chk_fail)