1#include <sys/asm.h> 2#include <sys/regdef.h> 3 4.text 5.set push 6.set noreorder 7.align 2 8.global __pthread_new_thread_entry 9.hidden __pthread_new_thread_entry 10__pthread_new_thread_entry: 11 PTR_L a0, (SZREG * 2)(sp) 12 PTR_L t9, 0(sp) 13 PTR_ADDIU sp, sp, (SZREG * 3) 14 ins sp, $0, 0, 4 # align to 16bytes 15 PTR_ADDIU sp, sp, -(SZREG * NARGSAVE) 16 jalr t9 17 nop 18 19LEAF(pthread_handle_sigcancel) 20.hidden pthread_handle_sigcancel 21 PTR_LA t9, _pthread_handle_sigcancel 22 jr t9 23 nop 24END(pthread_handle_sigcancel) 25 26.set pop 27