From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 94FAA3858D28; Wed, 3 Jan 2024 08:45:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94FAA3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704271554; bh=2UoQQ1RDyMrCI0mpUcv7k30TeC5oQCmoxSo/aZpBAkM=; h=From:To:Subject:Date:From; b=xRxnJeDTeQyAZRdViGj1z2eGDgtnRLFWOGsL1n0jNhrKFX6pPZlTYULsbK5flNnyf iK12TH5Vk9JfStJfsOQbihbYqrh4t1h08DNoPoZrwURxwtKl7al4297TUgBhKdKMc8 OXN4I5fpxE4cknEVIu6x0QDDEYe0SyitSIKNIql8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] libgloss: moxie: delete unused/invalid assembly file X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/main X-Git-Oldrev: a2ddc21f801b17327a7c65c81e8b55b7d62efdb6 X-Git-Newrev: cd754062860a91c11ef13648bab0010db82daf63 Message-Id: <20240103084554.94FAA3858D28@sourceware.org> Date: Wed, 3 Jan 2024 08:45:53 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Dcd754062860= a91c11ef13648bab0010db82daf63 commit cd754062860a91c11ef13648bab0010db82daf63 Author: Mike Frysinger Date: Tue Dec 26 20:25:18 2023 -0500 libgloss: moxie: delete unused/invalid assembly file =20 This is a .c file, not assembly, and it's a duplicate (same content) as the existing sim-lseek.c. Delete it since it's unused and doesn't actually compile. Diff: --- libgloss/moxie/sim-lseek.S | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/libgloss/moxie/sim-lseek.S b/libgloss/moxie/sim-lseek.S deleted file mode 100644 index 86fb67504..000000000 --- a/libgloss/moxie/sim-lseek.S +++ /dev/null @@ -1,31 +0,0 @@ -/* - * sim-lseek.S -- write interface for moxie simulator - *=20 - * Copyright (c) 2008 Anthony Green - * - * The authors hereby grant permission to use, copy, modify, distribute, - * and license this software and its documentation for any purpose, provid= ed - * that existing copyright notices are retained in all copies and that this - * notice is included verbatim in any distributions. No written agreement, - * license, or royalty fee is required for any of the authorized uses. - * Modifications to this software may be copyrighted by their authors - * and need not follow the licensing terms described here, provided that - * the new terms are clearly indicated on the first page of each file where - * they apply. - */ - -#include -#include - -/* - * lseek -- Since a simulated serial port is non-seekable, we return - * an error. - */ -off_t -_lseek (int fd, - off_t offset, - int whence) -{ - errno =3D ESPIPE; - return ((off_t)-1); -} \ No newline at end of file