From patchwork Wed Nov 22 22:18:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 168584 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:6f03:b0:164:83eb:24d7 with SMTP id r3csp1537284rwn; Wed, 22 Nov 2023 14:19:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0ndrssT565riykGCpwFBnuQQMIU2s46zr7vF9O0U2RQaWBFKXCQnSP8QpQgzn+0ZNurca X-Received: by 2002:a05:6a21:1c8d:b0:18a:d55f:6a27 with SMTP id sf13-20020a056a211c8d00b0018ad55f6a27mr3460254pzb.26.1700691542164; Wed, 22 Nov 2023 14:19:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700691542; cv=none; d=google.com; s=arc-20160816; b=Hz84T+EPrJp7Uujc+zZsBjsBroPOMCUmke80f1jCBF3O5+9ILNO16Uz8BeBaBNKhV7 Z/MltjF29YyYEgkDYpHqxENtLvMVN6NFatrdK/2WANsI5QdA0z+1NHOrGbbsLHR6yECu BLStNIuW8k4CgE5eXJDJKNUmaiD50GPRDd8ayoH/q+h03YneIv+gPQxBuokA7j89c16Q CS18mTzNAN9BKQZOvZhSKURGQHzXVuwif/dttkZzY42XW1SpEoGYwVwmn1BIjLWmJDNJ 9YoZPzJ6RhsfIFUG+v4lUYxQczRm0Y3pON9/cZmhmiZZSjv9x3UzgnO9oUwidv2HXw2F Q1Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Wu/GUoL+MRnrnubC/F98+5Yk/scqktKko/FHpbTalF0=; fh=p1Qf4H5TYe6x87oeu/ZwD97uWE3f/aSmdhLxEgeh+tk=; b=euNL1l/54W7A7xP8SrzuvCFHu5X23rZSTJQgcXV+3Y11mdi3zvVdRUU7dPnVgn//ND 0cJJHacl9lEq0aROvIkDg4KXDYk5oDrFWmeW3KDNO8m0juYBwuc5cXL31rRJXw10Jn+G YS8FkNoQzltXOHLwBQNjfHS8n6ogCYENCgZUD7ikgl+2wtmPtY9lfdydCuXgtritZcNj LJawbQCrCqhKHIJgvKp5mzNn1k/8iFysSsr6J0vl8HrHA1/LUB0LF2aPJbj6nLFhT0aT iYCA2nH/b47vs6tCotf70BLPW5+YkSlFzRlcUvKbBO1SJ9eJnnIkfoONSZI9SDieswep uCiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=laW49S+9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b19-20020a63d313000000b00584ca25959csi5346pgg.540.2023.11.22.14.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 14:19:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=laW49S+9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B449582691A5; Wed, 22 Nov 2023 14:18:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344699AbjKVWSk (ORCPT + 99 others); Wed, 22 Nov 2023 17:18:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235269AbjKVWSg (ORCPT ); Wed, 22 Nov 2023 17:18:36 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EC4DD50 for ; Wed, 22 Nov 2023 14:18:27 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02699C433C9; Wed, 22 Nov 2023 22:18:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700691506; bh=z8B55/ejcoe2WW+RVahNts4dxuwsQAuxIT3oPjNu21M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=laW49S+9ECP9y1T3wKde/cIOj+JYD94ZcV2pI72RtAoICnQozqPsFxDWdxqSrefDs ZjJqCBW5+z6y6DzbG/csYQ6qH+PKfJG30uVSgEA5HoqOs885iuMwXWhUKNjPsAwbdw XxvuGpQBeGw7woppvooV/6F5QcCuM+r8430xkQV5fEQ3z29cskCKuvxCiK6dt3ldAO qaVCT/uPkCtPeBI2ntkUjI5j8N8ms+wmJIo8CjN8FD9esa5RfFYHm3KKeJJfq4DzBB ppL8aFHiNtClGNGSAJOItlB/hWNweuQwonVMF7Ot9M2RAfSPlcInsxxZjHopGYk+fw Q2mrXvH3TOBDQ== From: deller@kernel.org To: linux-kernel@vger.kernel.org, Masahiro Yamada , Arnd Bergmann , linux-modules@vger.kernel.org, linux-arch@vger.kernel.org, Luis Chamberlain Subject: [PATCH 4/4] modules: Add missing entry for __ex_table Date: Wed, 22 Nov 2023 23:18:14 +0100 Message-ID: <20231122221814.139916-5-deller@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231122221814.139916-1-deller@kernel.org> References: <20231122221814.139916-1-deller@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 14:18:47 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783304334381473117 X-GMAIL-MSGID: 1783304334381473117 From: Helge Deller The entry for __ex_table was missing, which may make __ex_table become 1- or 2-byte aligned in modules. Add the entry to ensure it gets 32-bit aligned. Signed-off-by: Helge Deller Cc: # v6.0+ --- scripts/module.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/module.lds.S b/scripts/module.lds.S index b00415a9ff27..488f61b156b2 100644 --- a/scripts/module.lds.S +++ b/scripts/module.lds.S @@ -26,6 +26,7 @@ SECTIONS { .altinstructions 0 : ALIGN(8) { KEEP(*(.altinstructions)) } __bug_table 0 : ALIGN(8) { KEEP(*(__bug_table)) } __jump_table 0 : ALIGN(8) { KEEP(*(__jump_table)) } + __ex_table 0 : ALIGN(4) { KEEP(*(__ex_table)) } __patchable_function_entries : { *(__patchable_function_entries) }