Skip to content

Enable --gc-sections

Jason Andryuk xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xen: Centralize scheduler linker definitionxen/arch/arm/xen.lds.S xen/arch/ppc/xen.lds.S xen/arch/riscv/xen.lds.S +2 more+10 -163 replies
2/2xen: Add CONFIG_GC_SECTIONSxen/Makefile xen/arch/arm/Makefile xen/arch/arm/xen.lds.S +8 more+76 -6422 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Enable --gc-sections

The first patch removes the scheduler duplication in the linker script. The second patch adds CONFIG_GC_SECTIONS and makes it available for all architectures.

Pipeline here:
https://gitlab.com/xen-project/people/jandryuk-amd/xen/-/pipelines/2205223331

--print-gc-sections is enabled, and ARM builds in particular show a good bit of removal.

Jason Andryuk (2):
xen: Centralize scheduler linker definition
xen: Add CONFIG_GC_SECTIONS

 xen/Makefile              |  3 +++
 xen/arch/arm/Makefile     |  6 +++---
 xen/arch/arm/xen.lds.S    | 27 ++++++++++++---------------
 xen/arch/ppc/Makefile     |  6 +++---
 xen/arch/ppc/xen.lds.S    | 19 ++++++++-----------
 xen/arch/riscv/Makefile   |  6 +++---
 xen/arch/riscv/xen.lds.S  | 19 ++++++++-----------
 xen/arch/x86/Makefile     |  6 +++---
 xen/arch/x86/xen.lds.S    | 39 ++++++++++++++++++---------------------
 xen/common/Kconfig        |  9 +++++++++
 xen/include/xen/xen.lds.h | 24 +++++++++++++++---------
 11 files changed, 85 insertions(+), 79 deletions(-)
Signature · 1 line
2.52.0