[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] gcov: collect more sections to constructor list
commit afb118e719675062c3365265e28c403f5e1a3440 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Thu Sep 1 13:06:57 2016 +0100 Commit: Wei Liu <wei.liu2@xxxxxxxxxx> CommitDate: Wed Sep 7 07:30:03 2016 +0100 gcov: collect more sections to constructor list The version of gcc (4.9.2) I use put constructors into .init_array* section(s). Collect those sections into constructor list as well. Modify both arm and x86 scripts to keep them in sync. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Julien Grall <julien.grall@xxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> --- xen/arch/arm/xen.lds.S | 2 ++ xen/arch/x86/xen.lds.S | 2 ++ 2 files changed, 4 insertions(+) diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S index b24e93b..3c5e7ba 100644 --- a/xen/arch/arm/xen.lds.S +++ b/xen/arch/arm/xen.lds.S @@ -166,7 +166,9 @@ SECTIONS . = ALIGN(8); __ctors_start = .; + *(.ctors) *(.init_array) + *(SORT(.init_array.*)) __ctors_end = .; } :text __init_end_efi = .; diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index 67cfda1..d903c31 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -205,6 +205,8 @@ SECTIONS . = ALIGN(8); __ctors_start = .; *(.ctors) + *(.init_array) + *(SORT(.init_array.*)) __ctors_end = .; } :text -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |