Message ID | 141030de2b3d470251d1588b39cb041ec505d84f.1699025537.git.tanyuan@tinylab.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp1138769vqu; Fri, 3 Nov 2023 09:00:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMPeHFwJmQ+Cel0ou+9YLJ2ObG1zgOzv6XloXk8vXDPkrVHyG5vt0UWDcHORWpdrOR6N+y X-Received: by 2002:a05:6808:2022:b0:3b2:f344:3a41 with SMTP id q34-20020a056808202200b003b2f3443a41mr1639809oiw.2.1699027233166; Fri, 03 Nov 2023 09:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699027233; cv=none; d=google.com; s=arc-20160816; b=Hw7S4/eh98EY/MXz1YrWJSqnc7OCARq9VBRgVmA9ofa0cKXWOLAZey00kKl8gk3I1X KraTEylwEB6KZFAA0bFV8xcWJ3FSPxrr2JlrawbboMFNkkEUtUxygHYsHHP3IbGDmilV ez0LfA6V2clFVF5StJ0pWJ/JDfFWdUu389d/mt2lp0scWGsDXrcJkBmUeqiNjLlDv03h pC4jwPFjTrk5/2Oi7nNshsEFQIRNAnSd9T3JiSuSk7U+BlBc/B47Za0o5TRpV2u9yOos /b7CQUaVKK3Ja7vCAE68n90Bh7xGnCXYRWd3a/IDsCBBJBQJJCc8dpNSoyysFX3dp3wI w/yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=EO59TVlnXsGnPGwId0kb+bejgSG0E0LwxwIDmtXz/hI=; fh=NvW3CO3GtIHRKW4YFObS4dEX0yL9bbz2APezTtyZGhQ=; b=Nma53yYulNhsB/f6W8RzZVDB6PGH+HEufpxjfmdL9fjuQhanP8VA2MpoC7Ht9Ue0ty 4RXhAVAXWA6cW7j4Y8OkjZ22YiAeVAISMuK6iylxlW0Gjntzs1HagA+PF90axg9jkdFU t9ryxZYktoJ4feAtKCJ6K7Ddh5Bt6928SCCMu9Ducj2ki/eZL3A1niq0P8bXX4WyPUmS tvcyFFrA1sLWvTs+xCGTAZUw5aVHStMy/ixJx77Dg5AbvtbZjSrMKEAlGZrdvO1Thy5B JdhKYzlv+47NJmO0cIpyQPq+Tu9JdqoLbJmKWVgyXVHNapWT81l742avu2ZK88A4Uxxr X3Yw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a15-20020a05680802cf00b003af188ded42si721085oid.127.2023.11.03.09.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 09:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 187C482CC45E; Fri, 3 Nov 2023 09:00:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344505AbjKCQAS (ORCPT <rfc822;heyuhang3455@gmail.com> + 35 others); Fri, 3 Nov 2023 12:00:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343945AbjKCQAQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Nov 2023 12:00:16 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.155.65.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B9A2CA; Fri, 3 Nov 2023 09:00:12 -0700 (PDT) X-QQ-mid: bizesmtp89t1699027199tr6cexfv Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Fri, 03 Nov 2023 23:59:56 +0800 (CST) X-QQ-SSF: 01200000000000B06000000A0000000 X-QQ-FEAT: J5JfekO1WsiW/sSK9b0/2SRgOwgztbvJaqippsUrhkBT0nfPERe3CiBmcwtjz QpzvzTaAyarFENK22g18sd4WrJtroYvGBndfc+80wj7YD8GXTPFE63PYdZfssoaggn37JF1 CeT4asgR6uqXE743WuMFyc0x2/w6p5rmPS5RdVkWpq1wdgAirUOvzdxBnfp/BH/yVAOG+VK nuqwGFmYsfi5b7WwIDnPQEhZN6hZb6/eGcz4PwK7TFD10lDLnMuVyHe9WS6+GDJ8RvQ2t0+ CRr+zifxj6GjZOuv7Gm2iGWovRvgRTB53/KK2DBFh1siV3bXj3z8JS2Obvsu+/t7oibKU9q 0uW9Al7Boxi073MJVkzuvWKDvgsnA== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 6517666058283072593 From: Yuan Tan <tanyuan@tinylab.org> To: falcon@tinylab.org, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, luc.vanoostenryck@gmail.com, linux-sparse@vger.kernel.org Cc: linux@weissschuh.net, palmer@rivosinc.com, paul.walmsley@sifive.com, paulburton@kernel.org, paulmck@kernel.org, tim.bird@sony.com, tsbogend@alpha.franken.de, w@1wt.eu, tanyuan@tinylab.org, i@maskray.me Subject: [PATCH v1 05/14] DCE/DSE: add HAVE_SECTION_SHF_LINK_ORDER_SUPPORT option Date: Fri, 3 Nov 2023 23:59:54 +0800 Message-Id: <141030de2b3d470251d1588b39cb041ec505d84f.1699025537.git.tanyuan@tinylab.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1699025537.git.tanyuan@tinylab.org> References: <cover.1699025537.git.tanyuan@tinylab.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvrgz:qybglogicsvrgz5a-1 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 03 Nov 2023 09:00:29 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781559179993354358 X-GMAIL-MSGID: 1781559179993354358 |
Series |
DCE/DSE: Add Dead Syscalls Elimination support, part2
|
|
Commit Message
Yuan Tan
Nov. 3, 2023, 3:59 p.m. UTC
SHF_LINK_ORDER requires ld >= 2.35. LLD supports SHF_LINK_ORDER to, but it does not support riscv HAVE_LD_DEAD_CODE_DATA_ELIMINATION. Therefore, I haven't tested the minimum compatible version yet. Signed-off-by: Yuan Tan <tanyuan@tinylab.org> Signed-off-by: Zhangjin Wu <falcon@tinylab.org> --- init/Kconfig | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/init/Kconfig b/init/Kconfig index aa648ce8bca1..1ef5b19918e5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1462,6 +1462,11 @@ config HAVE_TRIM_UNUSED_SYSCALLS depends on HAVE_LD_DEAD_CODE_DATA_ELIMINATION default n +config HAVE_SECTION_SHF_LINK_ORDER_SUPPORT + bool + depends on AS_IS_GNU && AS_VERSION >= 23500 + default y + menuconfig EXPERT bool "Configure standard kernel features (expert users)" # Unhide debug options, to make the on-by-default options visible