From patchwork Thu Feb 22 05:19:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 86201 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 374873857B8D for ; Thu, 22 Feb 2024 05:20:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 374873857B8D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708579224; bh=vNTTCoPaOF8lTxnaveC2kxblrFLTMbMLQB1LKkwdAx8=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=FOVrm4YBzJoIh2ZqCr8xBrKH7jTbRisKIMjrX5G854fbBqANaqVoAqArUgBX8Nh3e 1M9aQZ2tvnIKOH+tIdjeOtMmlBeGZk1G/eZdVcHQ4zUdg3l5lTSxNsJhk/2Oh3ciId F4j9IUTUb6cZ90Ajbv/woiTpMnKngvgz3pARVrA0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by sourceware.org (Postfix) with ESMTPS id BDF0F3858D1E for ; Thu, 22 Feb 2024 05:19:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BDF0F3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BDF0F3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.210.169 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708579178; cv=none; b=YgesI5zur0idyaXjRu7utUPfpasMah3l05HjOGarCzUQoqV5IJsdCTkSE0Nmz99kbr3oYkx9lNq/8/VKDQA7ZhVoKvZZhFtZsTeZlSpLiWw3nlv36OOGCcB+wFFMmKvFEalkyhNb+umOX3SKEw+7qfFAnmge6feGAXWbkxp84jc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708579178; c=relaxed/simple; bh=Q+x2Wuas5FIbEGymwO28dcerjrvoylSOfUg9AhjZ3Eo=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=A2Dh8C6W0NtY34rSKZ2qkN84uxD+0C1QD19j6E0I5CZPKq8uH1keMyfQrVGAAuDLfqhOyWVf2gkqwJnNq5cSEHfllb7f/50WH4ohKNRO+vYeEziF+r+gnFp4fCD5Zvkf9apZ8NZeXLjd9MFoVpzsow7RVzwGqnzZWv0fZWwQyl4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e457fab0e2so334486b3a.0 for ; Wed, 21 Feb 2024 21:19:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708579174; x=1709183974; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vNTTCoPaOF8lTxnaveC2kxblrFLTMbMLQB1LKkwdAx8=; b=Wr9D84xOvgAHblUMH+XbHW1VJ6BaT3h0n7VLThASSWUi/ipIWdVglIP69GWjoTqYRj icN7ZPaSDuoZscXKRepl/4cbTJxDR5OShZ4YJgcqYc1V4x8oW5OFJw2wzImYITo3jCY+ Wad9fajsGr0C+FXUWKxdJRHytNh8x+5rqZdBbenPuvXRRQ6kzpk9XDmQBcRFVrTu9O1a JAka8zVKdjH2VhKnp2YTbI+cubf9o+70SAwHvAy5JFPEgRmS8OqRk8koV47JS5HlzitS aQazTrOr9k7c71/pSCdtSFlKvSeNIQiOvJMtfiys65SpMreIUbFzsqeIhbsEceDIdIXY 87rw== X-Gm-Message-State: AOJu0Yw2fQCt1q8fINnK0fe5rSO02E8ht/RdxPWGVZn3hUkb8iZ7U+in yF9u3WiSfJ1NilF1WHLEEvoaNvjdYHLTvMO2PNMvCL9tC4luVcU4GRi/PCaBwAM= X-Google-Smtp-Source: AGHT+IEVRgGMtjJgDVj3IPzqZt7Q91uZI0DaZm4Fd3a+brzPQRVAlwkd4qr5hssw8z+jTERiNNEogA== X-Received: by 2002:aa7:8dc4:0:b0:6e4:8c1d:7f0b with SMTP id j4-20020aa78dc4000000b006e48c1d7f0bmr1966373pfr.6.1708579174051; Wed, 21 Feb 2024 21:19:34 -0800 (PST) Received: from localhost.localdomain ([149.248.38.156]) by smtp.gmail.com with ESMTPSA id d24-20020aa78158000000b006e053e98e1csm9910562pfn.136.2024.02.21.21.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:19:33 -0800 (PST) From: YunQiang Su To: gcc-patches@gcc.gnu.org Subject: [commit] invoke.texi: Fix some skipping UrlSuffix problem for MIPS Date: Thu, 22 Feb 2024 13:19:26 +0800 Message-Id: <20240222051926.3637943-1-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org The problem is that, there are these lines in mips.opt.urls: ; skipping UrlSuffix for 'mabi=' due to finding no URLs ; skipping UrlSuffix for 'mno-flush-func' due to finding no URLs ; skipping UrlSuffix for 'mexplicit-relocs' due to finding no URLs These lines is not fixed by this patch due to that we don't document these options: ; skipping UrlSuffix for 'mlra' due to finding no URLs ; skipping UrlSuffix for 'mdebug' due to finding no URLs ; skipping UrlSuffix for 'meb' due to finding no URLs ; skipping UrlSuffix for 'mel' due to finding no URLs gcc * doc/invoke.texi(MIPS Options): Fix skipping UrlSuffix problem of mabi=, mno-flush-func, mexplicit-relocs; add missing leading - of mbranch-cost option. * config/mips/mips.opt.urls: Regenerate. --- gcc/config/mips/mips.opt.urls | 12 ++++++++++-- gcc/doc/invoke.texi | 14 +++++--------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/gcc/config/mips/mips.opt.urls b/gcc/config/mips/mips.opt.urls index ff2f0aee0e3..96aba041026 100644 --- a/gcc/config/mips/mips.opt.urls +++ b/gcc/config/mips/mips.opt.urls @@ -6,7 +6,8 @@ UrlSuffix(gcc/MIPS-Options.html#index-EB-2) EL UrlSuffix(gcc/MIPS-Options.html#index-EL-2) -; skipping UrlSuffix for 'mabi=' due to finding no URLs +mabi= +UrlSuffix(gcc/MIPS-Options.html#index-mabi-3) mabicalls UrlSuffix(gcc/MIPS-Options.html#index-mabicalls) @@ -65,9 +66,15 @@ UrlSuffix(gcc/MIPS-Options.html#index-membedded-data) meva UrlSuffix(gcc/MIPS-Options.html#index-meva) +mexplicit-relocs= +UrlSuffix(gcc/MIPS-Options.html#index-mexplicit-relocs-2) + mexplicit-relocs UrlSuffix(gcc/MIPS-Options.html#index-mexplicit-relocs-2) +mno-explicit-relocs +UrlSuffix(gcc/MIPS-Options.html#index-mno-explicit-relocs-2) + mextern-sdata UrlSuffix(gcc/MIPS-Options.html#index-mextern-sdata) @@ -173,7 +180,8 @@ UrlSuffix(gcc/MIPS-Options.html#index-mno-float) mmcu UrlSuffix(gcc/MIPS-Options.html#index-mmcu-1) -; skipping UrlSuffix for 'mno-flush-func' due to finding no URLs +mno-flush-func +UrlSuffix(gcc/MIPS-Options.html#index-mno-flush-func-1) mno-mdmx UrlSuffix(gcc/MIPS-Options.html#index-mno-mdmx) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8219a6a5947..58527e1ea3c 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -27995,11 +27995,7 @@ Aliases of @option{-minterlink-compressed} and @option{-mno-interlink-compressed}. These options predate the microMIPS ASE and are retained for backwards compatibility. -@opindex mabi=32 -@opindex mabi=o64 -@opindex mabi=n32 -@opindex mabi=64 -@opindex mabi=eabi +@opindex mabi @item -mabi=32 @itemx -mabi=o64 @itemx -mabi=n32 @@ -28486,9 +28482,8 @@ Enable (disable) use of the @code{%hi()} and @code{%lo()} assembler relocation operators. This option has been superseded by @option{-mexplicit-relocs} but is retained for backwards compatibility. -@opindex mexplicit-relocs=none -@opindex mexplicit-relocs=base -@opindex mexplicit-relocs=pcrel +@opindex mexplicit-relocs +@opindex mno-explicit-relocs @item -mexplicit-relocs=none @itemx -mexplicit-relocs=base @itemx -mexplicit-relocs=pcrel @@ -28767,6 +28762,7 @@ Disable the insertion of cache barriers. This is the default setting. @end table @opindex mflush-func +@opindex mno-flush-func @item -mflush-func=@var{func} @itemx -mno-flush-func Specifies the function to call to flush the I and D caches, or to not @@ -28778,7 +28774,7 @@ depends on the target GCC was configured for, but commonly is either @code{_flush_func} or @code{__cpu_flush}. @opindex mbranch-cost -@item mbranch-cost=@var{num} +@item -mbranch-cost=@var{num} Set the cost of branches to roughly @var{num} ``simple'' instructions. This cost is only a heuristic and is not guaranteed to produce consistent results across releases. A zero cost redundantly selects