public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Implement the unlink system call for the moxie simulator.
@ 2019-12-14 10:28 Anthony Green
  0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2019-12-14 10:28 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=78b7a3b0f879715f6078720aaa07e0fb6156b586

commit 78b7a3b0f879715f6078720aaa07e0fb6156b586
Author: Anthony Green <green@moxielogic.com>
Date:   Sat Dec 14 05:27:38 2019 -0500

    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.

Diff:
---
 libgloss/moxie/sim-unlink.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgloss/moxie/sim-unlink.S b/libgloss/moxie/sim-unlink.S
index 87ae90f..e6bd7dc 100644
--- a/libgloss/moxie/sim-unlink.S
+++ b/libgloss/moxie/sim-unlink.S
@@ -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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-14 10:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-14 10:28 [newlib-cygwin] Implement the unlink system call for the moxie simulator Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).