Message ID | 3acff566dc1818a36b32a34e25b0de58c5118ee6.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 j7csp1145250vqu; Fri, 3 Nov 2023 09:06:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEtiuD2Vmcl+q0BVOnhnrnw/gpv78NrLrf3+W1Ang3GEeFy4maZoo3N7DZhuPPdR/7EBHl6 X-Received: by 2002:a05:6830:6210:b0:6d3:1fff:f915 with SMTP id cd16-20020a056830621000b006d31ffff915mr7597045otb.23.1699027587379; Fri, 03 Nov 2023 09:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699027587; cv=none; d=google.com; s=arc-20160816; b=y8y2hO5zIQsOBBP3QrR71cGPqQfPNJiaZtAAxWk7aFPqsMQ3UiWOlGijKTEVFx95Zu iCPaLZhXIcws8oUak6b8k7bAlwzJSGPrOwTrkMXRySb64fk8++/zeU146crMi4NyValF Q01UpOm0+BDODH/+56lLrM/BT/rx7eGkcPw/Oib4NtAMD4m/+UqBim3bp2X5gTUV5wLi YzbdcEEycRtyfxsg4+4AcPQXa8KI/jw+kC9YDil4fT9CPn37ffBvKOH7UhaGJoz6gUtt e+Qi6MV3sstuI+JDTz0wC6Yz+R9808DxXV/h3KzRhfgaGrhVhY7dQVhLCl087sD8HQub u78A== 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=d1YaUh1CfijQRC6TNy4bZy0v2enH+BfjtNHEyDeILIU=; fh=NvW3CO3GtIHRKW4YFObS4dEX0yL9bbz2APezTtyZGhQ=; b=w3oi/JunKAspZjx+h7PfIPZRBbJ33umizEoULJYrEKvaYdKQamXRszulWLll2a0CZq cncPf72Wo7725j+LtE1xStGsu8TdO8RMks3DmMPZqDW5T51zFt3t0OFNhVEZ9dY/JqEr okB34gNnSssfucwtH49TTWZ2s/UxA70E03B4a7hFOrXYuetKcCbbNspF3Yuq4X3oX/0w bqJ6QAsLXf1lMbhYM4ZvJ1dPQN9u8RbYu9OfKseDvZ1lGBVwPxqGsuo0SykkNwMxJzR6 7Pm28voJ1V0G6jcgrO1J6Io6ZFPkGDTH7+y1jdXQQ7gDCRY7IW3ZXywLBiD0YJNQlMaE zJeQ== 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 g8-20020a056830308800b006ce2f3b77b7si763076ots.219.2023.11.03.09.06.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 09:06:27 -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 52A268048C1E; Fri, 3 Nov 2023 09:05:52 -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 S234377AbjKCQFc (ORCPT <rfc822;heyuhang3455@gmail.com> + 35 others); Fri, 3 Nov 2023 12:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234387AbjKCQF3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 3 Nov 2023 12:05:29 -0400 Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31C3110C6; Fri, 3 Nov 2023 09:05:07 -0700 (PDT) X-QQ-mid: bizesmtp88t1699027493t4lqanvg Received: from main2-ubuntu.tail147f4.ts.net ( [202.201.15.117]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 04 Nov 2023 00:04:50 +0800 (CST) X-QQ-SSF: 01200000000000B06000000A0000000 X-QQ-FEAT: jXjag1m6xl5ppx2DzruJtGaZWnmD4kcr8XGhe8RzDeQnj/4txlNMA0RrzbdM3 NkLCpOnAtszVCaalBQWVPDXpaXS99zJq6AlrppFnw1HKvKL0xj0E5A9V7XJ4MlTzYMuw81z fr0TQpqQaEJWCRXcAtRVJi0F1ePqT0AT21/h93uarocjC8Z8j1tjIaNhhk3tVoz+rnGhrAd TRL0MreVOn2ipogbXqRHd+i6op09393O4FSiuY8ril1xpaW3/uszhT2UDapIXWOaUz+PptB f2CN/td6z1BqlmsTzYJ3ewPyBma8ADUsb5d7vDUH3TMXEtfm+e3ucDioNeOaMAYycbIr9aJ /sF2ho7MXuFQ17Wh2UAABl458F674OLb8zGA6HrpmOBwvwfV8QFEVjuC0lUdg== X-QQ-GoodBg: 0 X-BIZMAIL-ID: 11412250178732425861 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 14/14] DCE/DSE: vmlinux.lds.h: allow NO_KEEP on __ex_table sections Date: Sat, 4 Nov 2023 00:04:48 +0800 Message-Id: <3acff566dc1818a36b32a34e25b0de58c5118ee6.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:05:52 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781559551322506068 X-GMAIL-MSGID: 1781559551322506068 |
Series |
DCE/DSE: Add Dead Syscalls Elimination support, part2
|
|
Commit Message
Yuan Tan
Nov. 3, 2023, 4:04 p.m. UTC
With SHF_LINK_ORDER or SHF_GROUP, all of the __extable sections are no longer orphan sections. In this case, KEEP() is no longer needed. Signed-off-by: Yuan Tan <tanyuan@tinylab.org> Signed-off-by: Zhangjin Wu <falcon@tinylab.org> --- include/asm-generic/vmlinux.lds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f10afc42a1ac..e5e5850ea573 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -658,7 +658,7 @@ #define EXCEPTION_TABLE(align) \ . = ALIGN(align); \ __ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) { \ - BOUNDED_SECTION_BY(__ex_table, ___ex_table) \ + BOUNDED_SECTION_BY(__ex_table, ___ex_table, NO_KEEP) \ } /*