From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id C50EA3858D28 for ; Wed, 13 Apr 2022 05:12:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C50EA3858D28 Received: by mail-pf1-x42a.google.com with SMTP id bo5so1013546pfb.4 for ; Tue, 12 Apr 2022 22:12:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QC0oUSPfcXzJi+iGi+KoSolljpRCK3lwzRafyg37j1Y=; b=w6HlzySVmBcbOasm2FiCL6GgIMTqLAbYxUx7gpKdBwIcUz6x6KTmXz4Y9qDy6Gm1UX wEAoVR2mzGSmj1aITFfbCPRKLfvjQgkzS39fAOm+qKAzWRbIXH+OizDzm1IAF+DTHohj I4yyeyEkSZvpLh2OSUxooaE40c5wGvDFhKs19D/OR44PV5E9ZjdnAajaFOcozjy4Jxw8 aZr1nrS4e7WG7tpDN9yAn6gNX4OrJuAPlyfNBt7an34xLT716jxnlfNWmxgnKGL/Hdjh dIOoOM0sbXqqy9+yLRg3ft+vjo45KCalwty63rXbrGtSqLTLszkZWAIyjXBMpwmD67tY NzNQ== X-Gm-Message-State: AOAM530/7JW73YsVfnaDWif3SNUemWKxvUo2ho7VD5EMvc+InZcMoDIj UlXwbQDrwuhpo1rXzIIBOIOHlkyMPog= X-Google-Smtp-Source: ABdhPJzC8YEpS0Tyl9mDdZu2LwzdAnC5XHRm8IxFtsmEQLjZulOyWZFo/O1AIkwOXRSDYF8w2utUgg== X-Received: by 2002:a05:6a00:248e:b0:506:1dce:fcba with SMTP id c14-20020a056a00248e00b005061dcefcbamr1576081pfv.21.1649826746748; Tue, 12 Apr 2022 22:12:26 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:4551:ed6f:3bf1:7321]) by smtp.gmail.com with ESMTPSA id d14-20020a656b8e000000b0039cc54c9e89sm4135759pgw.12.2022.04.12.22.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 22:12:25 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 514EA1140F9D; Wed, 13 Apr 2022 14:42:22 +0930 (ACST) Date: Wed, 13 Apr 2022 14:42:22 +0930 From: Alan Modra To: Kito Cheng Cc: Patrick O'Neill , Binutils , gnu-toolchain@rivosinc.com Subject: Re: [PATCH 0/4] RISCV: Improve linker time complexity Message-ID: References: <20220412162601.146507-1-patrick@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3029.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Wed, 13 Apr 2022 05:12:29 -0000 On Wed, Apr 13, 2022 at 08:58:38AM +0800, Kito Cheng via Binutils wrote: > And I have a suggestion here is - does it possible to let co-exist with current > implementation and having a command line option to select the linker > relaxation, of course we > could default to using the new implementation, but that gives us an > emergency fallback option to use the old implementation :) You already have an emergency fallback, use an older binutils or revert the patchset. IMO you do not want two implementations of any given feature. Doing so just makes it more likely that neither implementation is good. -- Alan Modra Australia Development Lab, IBM