Implement the unlink system call for the moxie simulator.
Corresponding support for this was just added to the gdb moxie simulator. Unlink support is required by the GCC testsuite.
This commit is contained in:
parent
31227ba53d
commit
78b7a3b0f8
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* sim-unlink.S -- write interface for moxie simulator
|
||||
*
|
||||
* Copyright (c) 2008 Anthony Green
|
||||
* Copyright (c) 2008, 2019 Anthony Green
|
||||
*
|
||||
* The authors hereby grant permission to use, copy, modify, distribute,
|
||||
* and license this software and its documentation for any purpose, provided
|
||||
@ -22,7 +22,7 @@
|
||||
.text
|
||||
_unlink:
|
||||
unlink:
|
||||
jmpa unlink
|
||||
swi SYS_unlink
|
||||
ret
|
||||
.Lend:
|
||||
.size _unlink,.Lend-_unlink
|
||||
|
Loading…
Reference in New Issue
Block a user