From: Jason Andryuk Date: Wed, 27 Mar 2024 08:14:17 +0000 (+0100) Subject: xen/elfnote: Specify ELF Notes are x86-specific X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=853c71dfbf520a84158d23803de8e29d08c957bb;p=people%2Faperard%2Fxen-unstable.git xen/elfnote: Specify ELF Notes are x86-specific The Xen ELF Notes are only used with x86. libelf's elf_xen_note_check() exits early for ARM binaries with "ELF: Not bothering with notes on ARM". Add a comment to the top of elfnote.h specifying that Notes are only used with x86 binaries. This is to avoid adding disclaimers for individual notes. Signed-off-by: Jason Andryuk Acked-by: Jan Beulich --- diff --git a/xen/include/public/elfnote.h b/xen/include/public/elfnote.h index 8bf54d035b..1d84b05f44 100644 --- a/xen/include/public/elfnote.h +++ b/xen/include/public/elfnote.h @@ -24,6 +24,8 @@ * * String values (for non-legacy) are NULL terminated ASCII, also known * as ASCIZ type. + * + * Xen only uses ELF Notes contained in x86 binaries. */ /*