From dcbef06ce6bb21d62d5a32148a3e64746b47b449 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 12 May 2014 16:11:06 -0700 Subject: Remove the useless indirection in mips' __set_tls. Change-Id: I12e9d6716c42ccbccc9a186441aca0736bb22d05 --- libc/arch-mips/syscalls/__set_thread_area.S | 19 ------------------- libc/arch-mips/syscalls/__set_tls.S | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 libc/arch-mips/syscalls/__set_thread_area.S create mode 100644 libc/arch-mips/syscalls/__set_tls.S (limited to 'libc/arch-mips/syscalls') diff --git a/libc/arch-mips/syscalls/__set_thread_area.S b/libc/arch-mips/syscalls/__set_thread_area.S deleted file mode 100644 index f83249e..0000000 --- a/libc/arch-mips/syscalls/__set_thread_area.S +++ /dev/null @@ -1,19 +0,0 @@ -/* Generated by gensyscalls.py. Do not edit. */ - -#include - -ENTRY(__set_thread_area) - .set noreorder - .cpload t9 - li v0, __NR_set_thread_area - syscall - bnez a3, 1f - move a0, v0 - j ra - nop -1: - la t9,__set_errno - j t9 - nop - .set reorder -END(__set_thread_area) diff --git a/libc/arch-mips/syscalls/__set_tls.S b/libc/arch-mips/syscalls/__set_tls.S new file mode 100644 index 0000000..e5b0ca2 --- /dev/null +++ b/libc/arch-mips/syscalls/__set_tls.S @@ -0,0 +1,19 @@ +/* Generated by gensyscalls.py. Do not edit. */ + +#include + +ENTRY(__set_tls) + .set noreorder + .cpload t9 + li v0, __NR_set_thread_area + syscall + bnez a3, 1f + move a0, v0 + j ra + nop +1: + la t9,__set_errno + j t9 + nop + .set reorder +END(__set_tls) -- cgit v1.1