Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2074152pxt; Sun, 8 Aug 2021 10:34:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLfoJFW/2lBfw9ig0GaZbn/6Sm/UsB0eQFCP+bInwD99+qzAi7k+CHIX7Z9vBn/wnQscBY X-Received: by 2002:a05:6602:328c:: with SMTP id d12mr56175ioz.41.1628444060894; Sun, 08 Aug 2021 10:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628444060; cv=none; d=google.com; s=arc-20160816; b=HbKeU9zKDIJytd1tzO+e3r+bmC97+FXJ3Y0aMU8k9WhUub9ggcWi47wixW9u1rAecy slkuvuKkGW3jJaD2V9ZXJU9dP/86BkMaJVVcBKlXGRG5cfzZB/5L0u9wKtF42sX4K/+G DIENrJWamOAZBlFol9qgKZWd3xVSQflCqseZRY4tJys2lyIlE1608Xb4NdsyoxvjmWM8 DuEwuj2Ya8enamb/Q9zeeCJYOzpcZ21Dpzaz/Kfsw0mfMZLYHBvhMdiBvuL7PjTRaR1V o6dEOSZf8N0kvR+68AgbRWfe1egBMGZpanXCcFnLoE6e8A53AWuXQX6TMLO8p41ZF6xe EYzg== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=WuexwR6JBp2SejsSmUDlqafq1D7FsWELDzcihRpmwcs=; b=J26m942xJGBr9kyK6mH8EHG3aVxaSTOds1HLzLM3qVejbQJclUIIHscEtELQ5NaPo/ nmUesiLO00pupVUKHGRaFbQUvdBAEITkgQkUx/V+Jk1SfEmHkKrFtlEQwMkP/2tOycbe zR3lm0SN61ASNFy0snxusmUx/l6jk+jJ1IjLaE/3o+nTVlf9fEG2il3aST3wXOcKH6ec 4WaoN/X4jqNLkR4OGXu6P/Zg3mXxPJvML9ChJL5kELClENbUSUsva2IeJxZ7bbicTXT6 lUPozP42YhIJG+By9WbX1h+i6Z7da6laxFPDn74sU0lfy/2fp107L1XzDZ2rW8zWY/z4 IlXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mail.ustc.edu.cn header.s=dkim header.b=poyJBIYn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mail.ustc.edu.cn Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t16si11532742iov.17.2021.08.08.10.34.10; Sun, 08 Aug 2021 10:34:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mail.ustc.edu.cn header.s=dkim header.b=poyJBIYn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mail.ustc.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232031AbhHHRcN (ORCPT + 99 others); Sun, 8 Aug 2021 13:32:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230201AbhHHRcK (ORCPT ); Sun, 8 Aug 2021 13:32:10 -0400 Received: from ustc.edu.cn (email6.ustc.edu.cn [IPv6:2001:da8:d800::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ADED1C061760 for ; Sun, 8 Aug 2021 10:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ustc.edu.cn; s=dkim; h=Received:Date:From:To:Cc:Subject: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=WuexwR6JBp2SejsSmUDlqafq1D7FsWELDzcihRpmwcs=; b=poyJBIYni+y0N wIt+XKW1tZ9hlqieO4hIQp97nxsiih/nWzotaLFB+BrLYehmSWnxw8Z/EK4Nb1/G cpiz/0xuVjMOiXxWUeUbB39x7sTc+vjGDNVWqsJiqEcrFfpFmWIGcgjrcyUyJwuD AruK/e889/QvaFGFUsdhRqcRV3K+qY= Received: from xhacker (unknown [101.86.20.15]) by newmailweb.ustc.edu.cn (Coremail) with SMTP id LkAmygCHXv_iFBBhg_YMAA--.5135S2; Mon, 09 Aug 2021 01:31:14 +0800 (CST) Date: Mon, 9 Aug 2021 01:25:09 +0800 From: Jisheng Zhang To: Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] riscv: improve __ex_table section handling Message-ID: <20210809012509.4983c1d6@xhacker> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CM-TRANSID: LkAmygCHXv_iFBBhg_YMAA--.5135S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUU5K7k0a2IF6FyUM7kC6x804xWl14x267AK xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j 6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIE14v26r 4UJVWxJr1l84ACjcxK6I8E87Iv6xkF7I0E14v26r4UJVWxJr1le2I262IYc4CY6c8Ij28I cVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx 0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwCF04k2 0xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI 8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41l IxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIx AIcVCF04k26cxKx2IYs7xG6rWUJVWrZr1UMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvE x4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07joGQDUUUUU= X-CM-SenderInfo: xmv2xttqjtqzxdloh3xvwfhvlgxou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jisheng Zhang Enable BUILDTIME_TABLE_SORT to sort the exception table at build time then move exception table to RO_DATA segment. Jisheng Zhang (2): riscv: Enable BUILDTIME_TABLE_SORT riscv: Move EXCEPTION_TABLE to RO_DATA segment arch/riscv/Kconfig | 1 + arch/riscv/kernel/vmlinux-xip.lds.S | 1 - arch/riscv/kernel/vmlinux.lds.S | 4 ++-- scripts/sorttable.c | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) -- 2.32.0