xen/link: Remove CONSTRUCTORS from linker script
PATCH 1/1 xen/link: Remove CONSTRUCTORS from linker script
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.
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Teddy Astie <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Baptiste Le Duc <[email protected]>
CC: Timothy Pearson <[email protected]>
CC: Ross Lagerwall <[email protected]>
--- 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(-)
xen/arch/arm/xen.lds.S +0 -1
@@ -95,7 +95,6 @@ SECTIONS *(.data.page_aligned) *(.data .data.*) - CONSTRUCTORS } :text . = ALIGN(8);
xen/arch/ppc/xen.lds.S +0 -1
@@ -86,7 +86,6 @@ SECTIONS *(.data.page_aligned) *(.data .data.*) - CONSTRUCTORS } :text DT_DEV_INFO /* Devicetree based device info */
xen/arch/riscv/xen.lds.S +0 -1
@@ -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
Signature · 1 line
2.39.5
Hi Andrew,
Quoted 7 lines · Andrew Cooper
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 <[email protected]>
Quoted 59 lines
---
CC: Jan Beulich <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Teddy Astie <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Volodymyr Babchuk <[email protected]>
CC: Bertrand Marquis <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Oleksii Kurochko <[email protected]>
CC: Baptiste Le Duc <[email protected]>
CC: Timothy Pearson <[email protected]>
CC: Ross Lagerwall <[email protected]>--- 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(-)xen/arch/arm/xen.lds.S +0
-1@@ -95,7 +95,6 @@ SECTIONS *(.data.page_aligned) *(.data .data.*) - CONSTRUCTORS } :text . = ALIGN(8);xen/arch/ppc/xen.lds.S +0
-1@@ -86,7 +86,6 @@ SECTIONS *(.data.page_aligned) *(.data .data.*) - CONSTRUCTORS } :text DT_DEV_INFO /* Devicetree based device info */xen/arch/riscv/xen.lds.S +0
-1@@ -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
Signature · 1 line
WBR, Volodymyr
Quoted 7 lines · Andrew Cooper
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 <[email protected]>
~Michal
Quoted 7 lines · Andrew Cooper
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 <[email protected]>
Thanks.
~ Oleksii