summaryrefslogtreecommitdiffstats
path: root/libgloss/nds32/_unlink.S
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-12-15 13:30:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-12-15 13:30:07 +0000
commitd4ef8a6368e8e5b22808e3df64306418f1971ba9 (patch)
treef7874b57ad4653b890c423c79a3712a09d8be793 /libgloss/nds32/_unlink.S
parent0cbcde7bdbecd41228cd09bb102ef73cde5aef96 (diff)
downloadcygnal-d4ef8a6368e8e5b22808e3df64306418f1971ba9.tar.gz
cygnal-d4ef8a6368e8e5b22808e3df64306418f1971ba9.tar.bz2
cygnal-d4ef8a6368e8e5b22808e3df64306418f1971ba9.zip
* libgloss/nds32/_exit.S: Finish with an infinite loop in _exit.
* libgloss/nds32/_getpid.S: Don't issue _getpid system call, it is always successful. * libgloss/nds32/_gettimeofday.S: No error for _gettimeofday is defined in SYS_geterr handler. * libgloss/nds32/_isatty.S: No error for _isatty is defined in SYS_geterr handler. * libgloss/nds32/_kill.S: Alway fail. errno = EINVAL. * libgloss/nds32/_link.S: Alway fail. errno = EMLINK. * libgloss/nds32/_times.S: Alway fail. errno = EACCES. * libgloss/nds32/_unlink.S: fix copy and paste error. * libgloss/nds32/crt0.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/crt1.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/syscall_extra.h: Re-format. * libgloss/nds32/vh.h: Add more virtual hosting number.
Diffstat (limited to 'libgloss/nds32/_unlink.S')
-rw-r--r--libgloss/nds32/_unlink.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/nds32/_unlink.S b/libgloss/nds32/_unlink.S
index ec251b504..bb5989c3f 100644
--- a/libgloss/nds32/_unlink.S
+++ b/libgloss/nds32/_unlink.S
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "vh.h"
.extern _impure_ptr
-TYPE1 _lseek, VH_LSEEK
+TYPE1 _unlink, VH_UNLINK
#else /* not __NDS32_VH__ */