remove potentially PIC-incompatible relocations from x86_64 and x32 asm
[musl] / src / string / x86_64 / memmove.s
index 247f0ac..172c025 100644 (file)
@@ -4,7 +4,8 @@ memmove:
        mov %rdi,%rax
        sub %rsi,%rax
        cmp %rdx,%rax
-       jae memcpy
+.hidden __memcpy_fwd
+       jae __memcpy_fwd
        mov %rdx,%rcx
        lea -1(%rdi,%rdx),%rdi
        lea -1(%rsi,%rdx),%rsi