>>> On 23.02.16 at 17:31, wrote:
> --- a/xen/arch/x86/xen.lds.S
> +++ b/xen/arch/x86/xen.lds.S
> @@ -65,6 +65,12 @@ SECTIONS
>
> *(.rodata)
> *(.rodata.*)
> +
> +#ifdef LOCK_PROFILE
> + __lock_profile_start = .;
> + *(.lockprofile.data)
> + __lock_profile_end =
The entire contents of .lockprofile.data are unchanging pointers to
lock_profile structure in .data. Annotate the type as such, and link the
section in .rodata. As these are just pointers, there is no need for 32byte
alignment.
Signed-off-by: Andrew Cooper
---
CC: Jan Beulich
CC: Ian Campbell