From b3d6651df07bccb43b3ca25c65a29d014d934a4a Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 18 Aug 2025 09:17:31 +0100 Subject: [PATCH] arm/link: Remove exception table sections This was almost certainly copy&paste from x86. ARM does not us these nor selects HAS_EX_TABLE, so drop the sections and their boundary markers. No functional change. Signed-off-by: Andrew Cooper Acked-by: Julien Grall --- xen/arch/arm/xen.lds.S | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index 9f30c3a13e..db17ff1efa 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -86,16 +86,6 @@ SECTIONS } : text .data.read_mostly : { - /* Exception table */ - __start___ex_table = .; - *(.ex_table) - __stop___ex_table = .; - - /* Pre-exception table */ - __start___pre_ex_table = .; - *(.ex_table.pre) - __stop___pre_ex_table = .; - *(.data.read_mostly) } :text