From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41695 invoked by alias); 14 Dec 2019 10:28:57 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 41657 invoked by uid 302); 14 Dec 2019 10:28:57 -0000 Date: Sat, 14 Dec 2019 10:28:00 -0000 Message-ID: <20191214102857.41656.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Anthony Green To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Implement the unlink system call for the moxie simulator. X-Act-Checkin: newlib-cygwin X-Git-Author: Anthony Green X-Git-Refname: refs/heads/master X-Git-Oldrev: 31227ba53d39ec1dac19a488c967ebbe9a04c19a X-Git-Newrev: 78b7a3b0f879715f6078720aaa07e0fb6156b586 X-SW-Source: 2019-q4/txt/msg00020.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=78b7a3b0f879715f6078720aaa07e0fb6156b586 commit 78b7a3b0f879715f6078720aaa07e0fb6156b586 Author: Anthony Green 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