From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1435 invoked by alias); 6 Feb 2020 03:14:27 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 1420 invoked by uid 89); 6 Feb 2020 03:14:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.5 required=5.0 tests=AWL,BAYES_00,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= X-HELO: mail-pj1-f48.google.com Received: from mail-pj1-f48.google.com (HELO mail-pj1-f48.google.com) (209.85.216.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Feb 2020 03:14:25 +0000 Received: by mail-pj1-f48.google.com with SMTP id q39so1876545pjc.0 for ; Wed, 05 Feb 2020 19:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id; bh=GzIYZrYXBMubHQHAu9KN9tc+GVZq+I8HB6k3xtKAe+s=; b=DxOzSGoob5pGOuKKk/O4rhLqdzX9TfwpxTPunng6PeVVjqNE61xH/IypjsH7WxAHcq HHyrQQnLzQzX9GKp/7V0vkWLhe0kE3WjDAfldEzT2Pip2ie9rVB38I3UIsAhC0dGRcpg Gz2tNJLXrftatHwFxvnibBh0POL+tmp2JxzvAsbX8XCJnSOlzwi2Fw7jxJjo73tYh26E +wCCgzfki6naTGNlbpW4tkWjWgc2JQ7vGhQ+akJAD25w07nU+nZJ7JRfC4A9Nq64BS2S /DQ85PuX2x+1xRTem6p7vfpjSFZU5lIQBhRSRk1jZNuC5LtDXjHAwJcCHQ/dI9wQh7XX o66w== Return-Path: Received: from gamma05.internal.sifive.com ([64.62.193.194]) by smtp.gmail.com with ESMTPSA id w187sm926188pfw.62.2020.02.05.19.14.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Feb 2020 19:14:23 -0800 (PST) From: Nelson Chu To: binutils@sourceware.org Cc: jimw@sifive.com Subject: [PATCH] RISC-V: Add description for -march-attr/-mno-arch-attr options in gas doc. Date: Thu, 06 Feb 2020 03:14:00 -0000 Message-Id: <1580958861-12668-1-git-send-email-nelson.chu@sifive.com> X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00084.txt.bz2 gas/ * doc/c-riscv.texi: Add the doc entries for -march-attr/ -mno-arch-attr command line options. --- gas/doc/c-riscv.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gas/doc/c-riscv.texi b/gas/doc/c-riscv.texi index 0976651..d45012a 100644 --- a/gas/doc/c-riscv.texi +++ b/gas/doc/c-riscv.texi @@ -59,6 +59,20 @@ required to materialize symbol addresses. (default) @item -mno-relax Don't do linker relaxations. +@cindex @samp{-march-attr} option, RISC-V +@item -march-attr +Generate the default contents for the riscv elf attribute section if the +.attribute directives are not set. This section is used to record the +information that a linker or runtime loader needs to check compatibility. +These information include ISA string, stack alignment requirement, unaligned +memory accesses, and the major, minor and revision version of privileged +specification. + +@cindex @samp{-mno-arch-attr} option, RISC-V +@item -mno-arch-attr +Don't generate the default riscv elf attribute section if the .attribute +directives are not set. + @end table @c man end -- 2.7.4