Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/nds32/syscall_utime.S')
-rw-r--r--libgloss/nds32/syscall_utime.S20
1 files changed, 1 insertions, 19 deletions
diff --git a/libgloss/nds32/syscall_utime.S b/libgloss/nds32/syscall_utime.S
index 7090d359e..b53a21f4d 100644
--- a/libgloss/nds32/syscall_utime.S
+++ b/libgloss/nds32/syscall_utime.S
@@ -32,22 +32,4 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.extern errno
-
- .section .text
- .global _utime
- .type _utime, @function
- .align 2
-_utime:
- /* Make syscall 'SYS_utime'.
- Reture value '-1' stored in $r0 means there is something wrong.
- If there is something wrong, make syscall 'SYS_geterr' to get
- error code to see what exactly happens and store it in errno . */
- syscall SYS_utime
- addi $r1, $r0, 1
- bnez $r1, .Ldone
- syscall SYS_geterr
- s.w $r0, errno
- movi $r0, -1
-.Ldone:
- ret
- .size _utime, .-_utime
+SYS_WRAPPER _utime, SYS_utime