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 8138D385040F for ; Sun, 20 Dec 2020 11:29:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8138D385040F 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 momoka (momoka [192.168.42.37]) by bahamut.mc.pp.se (Postfix) with SMTP id 47BE8A29A5; Sun, 20 Dec 2020 12:29:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mc.pp.se; s=hedgehog; t=1608463777; bh=nf9ft5VZwqLItZxCaJE5F2Ep742JLVmWh/Tcqqcv/WE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; b=qhLr5KDR/EgRVEgc+d+XO83t A+blreyQkZa5ik8kvaO04k/goeTPn3gXLf51tOlGBp068t/VYbegxzmcaQt0wFRUJpo zBjKnW5jC0IBK1Q8BVQZKDLB3B1HGgDuxjASVNq/2AsAC5ZGBiq7OlOTuMbfBXnVCNZ ZtSDYpaTy6xAo= Received: by momoka (sSMTP sendmail emulation); Sun, 20 Dec 2020 12:29:36 +0100 From: "Marcus Comstedt" To: binutils@sourceware.org Cc: Marcus Comstedt Subject: [PATCH v2 6/6] RISC-V: Mention -mbig-endian and -mlittle-endian in doc Date: Sun, 20 Dec 2020 12:29:17 +0100 Message-Id: <20201220112917.5000-7-marcus@mc.pp.se> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201220112917.5000-1-marcus@mc.pp.se> References: <20201220112917.5000-1-marcus@mc.pp.se> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2020 11:29:38 -0000 gas/ * doc/as.texi: Add -mlittle-endian and -mbig-endian to docs. * doc/c-riscv.texi: Likewise. --- gas/doc/as.texi | 1 + gas/doc/c-riscv.texi | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 983cec3cbf..2f8142472f 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -536,6 +536,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. [@b{-fpic}|@b{-fPIC}|@b{-fno-pic}] [@b{-march}=@var{ISA}] [@b{-mabi}=@var{ABI}] + [@b{-mlittle}|@b{-mlittle-endian}|@b{-mbig}|@b{-mbig-endian}] @end ifset @ifset RL78 diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi index d63b1f3990..481bfbbfbb 100644 --- a/gas/doc/c-riscv.texi +++ b/gas/doc/c-riscv.texi @@ -99,6 +99,16 @@ read-only CSR can not be written by the CSR instructions. @cindex @samp{-mno-csr-check} option, RISC-V @item -mno-csr-check Don't do CSR checking. + +@cindex @samp{-mlittle} option, RISC-V +@cindex @samp{-mlittle-endian} option, RISC-V +@item -mlittle, -mlittle-endian +Generate code for a little endian machine. + +@cindex @samp{-mbig} option, RISC-V +@cindex @samp{-mbig-endian} option, RISC-V +@item -mbig, -mbig-endian +Generate code for a big endian machine. @end table @c man end -- 2.26.2