restore use of .type in asm, but use modern @function (vs %function)
[musl] / src / thread / i386 / cancellation2.s
index 6f3f694..4e4438b 100644 (file)
@@ -1,5 +1,6 @@
 .text
 .global __pthread_register_cancel
 .text
 .global __pthread_register_cancel
+.type   __pthread_register_cancel,@function
 __pthread_register_cancel:
        pushl %eax
        call __pthread_register_cancel_3
 __pthread_register_cancel:
        pushl %eax
        call __pthread_register_cancel_3
@@ -7,6 +8,7 @@ __pthread_register_cancel:
        ret
 
 .global __pthread_unregister_cancel
        ret
 
 .global __pthread_unregister_cancel
+.type   __pthread_unregister_cancel,@function
 __pthread_unregister_cancel:
        pushl %eax
        call __pthread_unregister_cancel_3
 __pthread_unregister_cancel:
        pushl %eax
        call __pthread_unregister_cancel_3