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: 204567 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:aa16:b0:108:e6aa:91d0 with SMTP id by22csp45957dyb; Wed, 21 Feb 2024 21:24:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUr6YoZJOn5YBpNUUbGCd11Zhv5OG6tFaZfNF/+U9c3WzfiyrkPWtQfxFAqPCEzRmNkRcr8BctnGZiH3NBu2cBqEE/UBA== X-Google-Smtp-Source: AGHT+IF7MIqfLahtm7fdIS1g0dhaSGJ7s0Bfi3X1QgMX2BXP8q5ZJeHKddalTKTERbnpJucpuFGr X-Received: by 2002:a05:6214:19ee:b0:68f:6116:6f97 with SMTP id q14-20020a05621419ee00b0068f61166f97mr3321744qvc.16.1708579471602; Wed, 21 Feb 2024 21:24:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708579471; cv=pass; d=google.com; s=arc-20160816; b=vzI3VrRt4aFsKN/lnrej+CxGw8Vf/ZM8jPq94pZD7O/J9+jUIzTaaPBhMjQRBYmMQj K3FvoeEhmJQiVLQ0MdtIm0swAaGGdmRY0iKC28lVKToMUQ7mX8BDgMTYiih92sUcM4Zo 64teGBL3HQZ2MTJY6phKNWBAp0ODUNcEqitfyyPlbDgPlKWXtkrenzY/siV2yEXmlLbx dIWCLJsa/nVSexU3jADUKC7J5/ovXXftd/AWpoAA3U20OU+dlks7KLYg8t9gvmzD0dm9 TgehPDNwD4N3eMCHFaZopZV8a70/wEOiEs8DqzzI7RANGFMF7eYZJ6h2vP8JuZmm04cv uayQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:arc-filter :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=vNTTCoPaOF8lTxnaveC2kxblrFLTMbMLQB1LKkwdAx8=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=iJGFB2+bhV2AaZBInL+Wg16by5yzXeeo2E+UGVui1vjFk4m31zbDz12tuXgVcQNK9Z y0m7KQM+0h75NMszwzZpoFhUIUElu5h+qTTVrW1WS4vf4ej2HyGA8TEqeXBCDIsUCRbn DSgZyltlCkC4X30Xah/U7rCb2oQmOK9f1TmTU9Mnfam9hrT7ywQFpJX17rBUFwXl7l0u DXZbGGYRSKXFptEf2q9EBTahRUCaWTcRr+xY4rq3B9PsnKpvYVEkQWJi+KBfOYw9fBpa ZZPSsIA7ZE2/lL5xA7Qb0YL+feY6S/xFCUGUmCf8elC6gNCErvAncf0nlZocDPoNE0ux 1zGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Wpgr49Bv; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id u12-20020a0562141c0c00b0068fb82329f8si979169qvc.598.2024.02.21.21.24.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:24:31 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=Wpgr49Bv; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0B05A3857C69 for ; Thu, 22 Feb 2024 05:20:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B05A3857C69 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708579247; bh=vNTTCoPaOF8lTxnaveC2kxblrFLTMbMLQB1LKkwdAx8=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Wpgr49BvFE244LRzlcg5KKrAapAb3nLJb0fhZ9GGGl3B7beBeV4hZbj0t6jOfY7WC Y09d2dD282v+PRr10wzpggxQN9GBUTUbXlQEXxEQm78fhSBL/0jh30eR6dxyXNkUnm mwFsaUE+kXQB+fJbnPL/pm+nyth5uGlasEphY1MI= 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-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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791575428253625980 X-GMAIL-MSGID: 1791575428253625980 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