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(-)
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
On 11/12/26 9:40 PM, Andrew Cooper wrote:
> 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>
Reviewed-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Thanks.
~ Oleksii
On 12-Nov-26 21:40, Andrew Cooper wrote:
> 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>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
~Michal
Hi Andrew,
Andrew Cooper <andrew.cooper3@citrix.com> writes:
> 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>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.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
--
WBR, Volodymyr
© 2016 - 2026 Red Hat, Inc.