diff options
-rw-r--r-- | arch/mips/crt_arch.h | 5 | ||||
-rw-r--r-- | src/thread/mips/syscall_cp.s | 6 |
2 files changed, 2 insertions, 9 deletions
diff --git a/arch/mips/crt_arch.h b/arch/mips/crt_arch.h index f4ba02ae..9fc50d7c 100644 --- a/arch/mips/crt_arch.h +++ b/arch/mips/crt_arch.h @@ -4,16 +4,13 @@ __asm__( ".text \n" ".global _" START "\n" ".global " START "\n" -".global " START "_data\n" ".type _" START ", @function\n" ".type " START ", @function\n" -".type " START "_data, @function\n" "_" START ":\n" "" START ":\n" " bal 1f \n" " move $fp, $0 \n" -"" START "_data: \n" -" .gpword " START "_data \n" +" .gpword . \n" " .gpword " START "_c \n" ".weak _DYNAMIC \n" ".hidden _DYNAMIC \n" diff --git a/src/thread/mips/syscall_cp.s b/src/thread/mips/syscall_cp.s index b01a5704..d2846264 100644 --- a/src/thread/mips/syscall_cp.s +++ b/src/thread/mips/syscall_cp.s @@ -9,9 +9,6 @@ .global __cp_cancel .hidden __cp_cancel .type __cp_cancel,@function -.global __cp_cancel_data -.hidden __cp_cancel_data -.type __cp_cancel_data,@function .hidden __cancel .global __syscall_cp_asm .hidden __syscall_cp_asm @@ -46,8 +43,7 @@ __cp_cancel: move $2, $ra bal 1f addu $sp, $sp, 32 -__cp_cancel_data: - .gpword __cp_cancel_data + .gpword . .gpword __cancel 1: lw $3, ($ra) subu $3, $ra, $3 |