[PATCH v4 0/2] livepatch: enable -f{function,data}-sections compiler option

Roger Pau Monne posted 2 patches 2 years, 1 month ago
Test gitlab-ci passed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220309122846.89696-1-roger.pau@citrix.com
xen/Kconfig                 |  4 +++
xen/Makefile                |  2 ++
xen/arch/arm/arch.mk        |  2 --
xen/arch/arm/arm32/Makefile |  3 +--
xen/arch/arm/arm32/head.S   |  1 +
xen/arch/arm/arm64/Makefile |  3 +--
xen/arch/arm/arm64/head.S   |  1 +
xen/arch/arm/xen.lds.S      | 49 ++++++++++++++++++++-----------------
xen/arch/x86/Makefile       |  5 ++--
xen/arch/x86/arch.mk        |  2 --
xen/arch/x86/boot/head.S    |  2 +-
xen/arch/x86/xen.lds.S      | 20 +++++++++------
xen/common/Kconfig          |  1 +
13 files changed, 53 insertions(+), 42 deletions(-)
[PATCH v4 0/2] livepatch: enable -f{function,data}-sections compiler option
Posted by Roger Pau Monne 2 years, 1 month ago
Hello,

The content in v3 has been split in two patches, but is still mostly the
same. The main difference is that first patch does a bit of cleanup of
the build logic now that the header object file doesn't need to be the
first one passed to the linker script.

Thanks, Roger.

Roger Pau Monne (2):
  xen/build: put image header into a separate section
  livepatch: set -f{function,data}-sections compiler option

 xen/Kconfig                 |  4 +++
 xen/Makefile                |  2 ++
 xen/arch/arm/arch.mk        |  2 --
 xen/arch/arm/arm32/Makefile |  3 +--
 xen/arch/arm/arm32/head.S   |  1 +
 xen/arch/arm/arm64/Makefile |  3 +--
 xen/arch/arm/arm64/head.S   |  1 +
 xen/arch/arm/xen.lds.S      | 49 ++++++++++++++++++++-----------------
 xen/arch/x86/Makefile       |  5 ++--
 xen/arch/x86/arch.mk        |  2 --
 xen/arch/x86/boot/head.S    |  2 +-
 xen/arch/x86/xen.lds.S      | 20 +++++++++------
 xen/common/Kconfig          |  1 +
 13 files changed, 53 insertions(+), 42 deletions(-)

-- 
2.34.1