summaryrefslogtreecommitdiff
path: root/src/string/x86_64/memcpy.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-18 21:18:23 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-18 21:18:23 -0400
commitb35c4c475bea3c8f938d8e9696d1138eabb54a89 (patch)
tree40d3f046173125a3a038e8b8c912bbcf35ac1003 /src/string/x86_64/memcpy.s
parent8ed66ecbcba1dd0f899f22b534aac92a282f42d5 (diff)
downloadmusl-b35c4c475bea3c8f938d8e9696d1138eabb54a89.tar.gz
remove potentially PIC-incompatible relocations from x86_64 and x32 asm
analogous to commit 8ed66ecbcba1dd0f899f22b534aac92a282f42d5 for i386.
Diffstat (limited to 'src/string/x86_64/memcpy.s')
-rw-r--r--src/string/x86_64/memcpy.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/string/x86_64/memcpy.s b/src/string/x86_64/memcpy.s
index 1282dc3b..3d960efa 100644
--- a/src/string/x86_64/memcpy.s
+++ b/src/string/x86_64/memcpy.s
@@ -1,6 +1,9 @@
.global memcpy
+.global __memcpy_fwd
+.hidden __memcpy_fwd
.type memcpy,@function
memcpy:
+__memcpy_fwd:
mov %rdi,%rax
cmp $8,%rdx
jc 1f