remove all .size and .type directives for functions from the asm
[musl] / src / thread / x86_64 / syscall_cp.s
index 8b25048..2081928 100644 (file)
@@ -1,6 +1,5 @@
 .text
 .global __syscall_cp_asm
-.type   __syscall_cp_asm,%function
 __syscall_cp_asm:
        lea 1f(%rip),%rax
        mov %rax,8(%rdi)
@@ -19,7 +18,7 @@ __syscall_cp_asm:
        mov %r11,8(%rsp)
 1:     syscall
        xor %ecx,%ecx
-       mov 8(%rsp),%edi
+       mov 8(%rsp),%rdi
        mov %rcx,(%rdi)
        ret
 2:     call __cancel