All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen/link: Remove CONSTRUCTORS from linker script
@ 2026-11-12 20:40 Andrew Cooper
  2026-11-13  1:33 ` Volodymyr Babchuk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Cooper @ 2026-11-12 20:40 UTC (permalink / raw)
  To: Xen-devel
  Cc: Andrew Cooper, Jan Beulich, Roger Pau Monné, Teddy Astie,
	Stefano Stabellini, Julien Grall, Volodymyr Babchuk,
	Bertrand Marquis, Michal Orzel, Oleksii Kurochko, Baptiste Le Duc,
	Timothy Pearson, Ross Lagerwall

The other architectures inherited CONSTRUCTORS from x86, so just as with
commit b7a7e346c710 ("x86: drop use of CONSTRUCTORS from linker script"), they
should be dropped.

The .ctors section is handled explicitly in all architectures.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <jbeulich@suse.com>
CC: Roger Pau Monné <roger@xenproject.org>
CC: Teddy Astie <teddy.astie@vates.tech>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Julien Grall <julien@xen.org>
CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
CC: Bertrand Marquis <bertrand.marquis@arm.com>
CC: Michal Orzel <michal.orzel@amd.com>
CC: Oleksii Kurochko <oleksii.kurochko@gmail.com>
CC: Baptiste Le Duc <baptiste.le-duc@vates.tech>
CC: Timothy Pearson <tpearson@raptorengineering.com>
CC: Ross Lagerwall <ross.lagerwall@citrix.com>
---
 xen/arch/arm/xen.lds.S   | 1 -
 xen/arch/ppc/xen.lds.S   | 1 -
 xen/arch/riscv/xen.lds.S | 1 -
 3 files changed, 3 deletions(-)

diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S
index 8d0954c90afd..b5ccc732bd8d 100644
--- a/xen/arch/arm/xen.lds.S
+++ b/xen/arch/arm/xen.lds.S
@@ -95,7 +95,6 @@ SECTIONS
        *(.data.page_aligned)
 
        *(.data .data.*)
-       CONSTRUCTORS
   } :text
 
   . = ALIGN(8);
diff --git a/xen/arch/ppc/xen.lds.S b/xen/arch/ppc/xen.lds.S
index b2159279169c..fee810791840 100644
--- a/xen/arch/ppc/xen.lds.S
+++ b/xen/arch/ppc/xen.lds.S
@@ -86,7 +86,6 @@ SECTIONS
         *(.data.page_aligned)
 
         *(.data .data.*)
-        CONSTRUCTORS
     } :text
 
     DT_DEV_INFO                       /* Devicetree based device info */
diff --git a/xen/arch/riscv/xen.lds.S b/xen/arch/riscv/xen.lds.S
index d1c5ce59c90d..4dc55f5ad26f 100644
--- a/xen/arch/riscv/xen.lds.S
+++ b/xen/arch/riscv/xen.lds.S
@@ -93,7 +93,6 @@ SECTIONS
         *(.data.page_aligned)
         *(.sdata .sdata.*)
         *(.data .data.*)
-        CONSTRUCTORS
     } :text
 
     DT_DEV_INFO                       /* Devicetree based device info */

base-commit: 4263fe42b736596cfa5bfec661f2f55f02759aa7
prerequisite-patch-id: 680071148129321ffaf7bd7435d031904014f556
prerequisite-patch-id: 4ebfc2a1d8cd14cc1cf477b6db8cc9ef72310674
-- 
2.39.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-13  8:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 20:40 [PATCH] xen/link: Remove CONSTRUCTORS from linker script Andrew Cooper
2026-11-13  1:33 ` Volodymyr Babchuk
2026-11-13  7:40 ` Orzel, Michal
2026-11-13  8:24 ` Oleksii Kurochko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.