From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 82943 invoked by alias); 29 Aug 2019 11:50:03 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 82928 invoked by uid 89); 29 Aug 2019 11:50:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=expressed X-HELO: mail-wm1-f41.google.com Received: from mail-wm1-f41.google.com (HELO mail-wm1-f41.google.com) (209.85.128.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 29 Aug 2019 11:50:01 +0000 Received: by mail-wm1-f41.google.com with SMTP id o184so3526847wme.3 for ; Thu, 29 Aug 2019 04:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7H9uB6HfdztVL9SpjgLDkVxmgVnIosaFCSy29EbPwHo=; b=eE4f4SD3yzTXTUh+JAoB3QicNqxXzAGsmEBgcVmm1wabzXAIYYjfmvklyXOxQXkn2T C4Rb2sGFKoww6KEXHz6IanFqA7QSeD2x4Y+6+ePuDtluz+VplcqCkTi+EjE42yBMIsoK 1WHfAe28t19RboRy0S67Lb4ZcyMHFfUmCbTfO4YuTq3Xtbqqw+CochyT+ZPtXwmhwO1Z aJOemkV/ozo/ypyFK39AuImGfWCfBE6qsp+IL91oCccIr913w4hAqXtYpjm63LER7+Y1 eURMJaL/tojYB1JbS8MAOmiojwpjf0i7+MmuUy7wwi2i0RS+KxqK9XogSgjAz81lOKOw 7DxA== MIME-Version: 1.0 References: <1567004819-5473-1-git-send-email-joel@rtems.org> <1567004819-5473-2-git-send-email-joel@rtems.org> In-Reply-To: <1567004819-5473-2-git-send-email-joel@rtems.org> From: Kito Cheng Date: Thu, 29 Aug 2019 11:50:00 -0000 Message-ID: Subject: Re: [PATCH 1/3] riscv/include/fenv.h: Use shared fenv.h. To: joel@rtems.org Cc: Newlib Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019/txt/msg00532.txt.bz2 LGTM :) On Wed, Aug 28, 2019 at 11:07 PM wrote: > > From: Joel Sherrill > > libc/include/fenv.h was a direct copy of this file. > --- > newlib/libc/machine/riscv/include/fenv.h | 42 -------------------------------- > 1 file changed, 42 deletions(-) > delete mode 100644 newlib/libc/machine/riscv/include/fenv.h > > diff --git a/newlib/libc/machine/riscv/include/fenv.h b/newlib/libc/machine/riscv/include/fenv.h > deleted file mode 100644 > index 4795cc9..0000000 > --- a/newlib/libc/machine/riscv/include/fenv.h > +++ /dev/null > @@ -1,42 +0,0 @@ > -/* Copyright (c) 2017 SiFive Inc. All rights reserved. > - > - This copyrighted material is made available to anyone wishing to use, > - modify, copy, or redistribute it subject to the terms and conditions > - of the FreeBSD License. This program is distributed in the hope that > - it will be useful, but WITHOUT ANY WARRANTY expressed or implied, > - including the implied warranties of MERCHANTABILITY or FITNESS FOR > - A PARTICULAR PURPOSE. A copy of this license is available at > - http://www.opensource.org/licenses. > -*/ > - > -#ifndef _FENV_H > -#define _FENV_H > - > -#include > - > -#ifdef __cplusplus > -extern "C" { > -#endif > - > -/* Exception */ > -int feclearexcept(int excepts); > -int fegetexceptflag(fexcept_t *flagp, int excepts); > -int feraiseexcept(int excepts); > -int fesetexceptflag(const fexcept_t *flagp, int excepts); > -int fetestexcept(int excepts); > - > -/* Rounding mode */ > -int fegetround(void); > -int fesetround(int rounding_mode); > - > -/* Float environment */ > -int fegetenv(fenv_t *envp); > -int feholdexcept(fenv_t *envp); > -int fesetenv(const fenv_t *envp); > -int feupdateenv(const fenv_t *envp); > - > -#ifdef __cplusplus > -} > -#endif > - > -#endif > -- > 1.8.3.1 >