Oldish SUSE compilers generate .comment.SUSE.OPTS sections. Just like we already discard such for xen.efi, fold them into .comment for xen-syms.
Signed-off-by: Jan Beulich <[email protected]> --- Just like for .comment itself I also wouldn't mind discarding these also for the non-EFI case. --- a/xen/arch/x86/xen.lds.S +++ b/xen/arch/x86/xen.lds.S @@ -454,7 +454,7 @@ SECTIONS .stab.exclstr 0 : { *(.stab.exclstr) } .stab.index 0 : { *(.stab.index) } .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } + .comment 0 : { *(.comment) *(.comment.*) } /* * LLVM ld also wants .symtab, .strtab, and .shstrtab placed. These look to * be benign to GNU ld, so we can have them here unconditionally.
