From: Anthony Green <green@moxielogic.com>
To: newlib@sourceware.org
Subject: [PATCH] Add libgloss unlink support for moxie port
Date: Sat, 14 Dec 2019 10:31:00 -0000 [thread overview]
Message-ID: <CACxje5_EaYDwh76EjZQWPahm4YD8inx72mz81vMMHSxKR6an9g@mail.gmail.com> (raw)
I just pushed the attached, which is required by the GCC testsuite.
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 --git a/libgloss/moxie/sim-unlink.S b/libgloss/moxie/sim-unlink.S
index 87ae90fad..e6bd7dc2a 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
reply other threads:[~2019-12-14 10:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACxje5_EaYDwh76EjZQWPahm4YD8inx72mz81vMMHSxKR6an9g@mail.gmail.com \
--to=green@moxielogic.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).