From: Roger Pau Monne Date: Thu, 27 Jun 2019 09:33:34 +0000 (+0200) Subject: xen/link: handle .init.rodata.cst* sections in the linker script X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1980 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=874fc28b72fbb49f4f304b9acd3d49afd8326042;p=xen.git xen/link: handle .init.rodata.cst* sections in the linker script 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é Acked-by: Andrew Cooper [Make .init.rodata consistent with .rodata] Signed-off-by: Andrew Cooper --- diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index e664c4441a..12c107f45d 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -154,8 +154,7 @@ SECTIONS . = ALIGN(PAGE_SIZE); .init.data : { *(.init.rodata) - *(.init.rodata.rel) - *(.init.rodata.str*) + *(.init.rodata.*) . = ALIGN(POINTER_ALIGN); __setup_start = .; diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index cee7cf80dd..a73139cd29 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -219,8 +219,7 @@ SECTIONS #endif *(.init.rodata) - *(.init.rodata.rel) - *(.init.rodata.str*) + *(.init.rodata.*) . = ALIGN(POINTER_ALIGN); __setup_start = .;