Note that those sections when not prefixed with .init are already handled by the more general .rodata.* matching pattern in the .rodata output section.
Signed-off-by: Roger Pau Monné <roger....@citrix.com> --- Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew Cooper <andrew.coop...@citrix.com> Cc: Wei Liu <w...@xen.org> --- xen/arch/arm/xen.lds.S | 1 + xen/arch/x86/xen.lds.S | 1 + 2 files changed, 2 insertions(+) diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index e664c4441a..b636d9f223 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -156,6 +156,7 @@ SECTIONS *(.init.rodata) *(.init.rodata.rel) *(.init.rodata.str*) + *(.init.rodata.cst*) . = ALIGN(POINTER_ALIGN); __setup_start = .; diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 19aa4332cf..d0c7fbc37b 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -216,6 +216,7 @@ SECTIONS *(.init.rodata) *(.init.rodata.rel) *(.init.rodata.str*) + *(.init.rodata.cst*) . = ALIGN(POINTER_ALIGN); __setup_start = .; -- 2.20.1 (Apple Git-117) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel