From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bahamut.mc.pp.se (bahamut.mc.pp.se [IPv6:2001:470:dcd3:1:214:4fff:fe97:7322]) by sourceware.org (Postfix) with ESMTP id 3389C386183F for ; Tue, 23 Feb 2021 21:31:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3389C386183F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mc.pp.se Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=marcus@mc.pp.se Received: from hakua (hakua [192.168.42.40]) by bahamut.mc.pp.se (Postfix) with SMTP id E188344906 for ; Tue, 23 Feb 2021 22:31:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mc.pp.se; s=hedgehog; t=1614115884; bh=v1H/h7uLUOjOH8X+2Q8RbuqLojLy+gGPdEK5XKwNmY4=; h=From:To:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding; b=KQLgAAn/E6Yh9q00Zyqx1paMJ1CI9OssVBECV 8pY9VRIIJS4uCBckTO23y6tqw0a4HYZrdo9aen3LcczBoav1RB0IqFZtKi9lf5Ex6OM Cjc1GqnvI5Q0Kr4tYl/dwCTbYzwjbrD9/uPLD6IEYrM144MpjQKsm/88OXRLuiJbAXg = Received: by hakua (sSMTP sendmail emulation); Tue, 23 Feb 2021 22:31:23 +0100 From: "Marcus Comstedt" To: newlib@sourceware.org Subject: [PATCH 0/2] Fixes for big endian RISC-V Date: Tue, 23 Feb 2021 22:31:15 +0100 Message-Id: <20210223213117.65475-1-marcus@mc.pp.se> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2021 21:31:27 -0000 Hi. These are two fixes needed for newlib to work correctly on big endian RISC-V, support for which is currently being added to gcc. // Marcus -- newlib/libc/include/machine/ieeefp.h | 4 ++++ newlib/libc/machine/riscv/strcmp.S | 40 ++++++++++++++++++++++++++++++++---- 2 files changed, 40 insertions(+), 4 deletions(-)