]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
xen/elfnote: Specify ELF Notes are x86-specific
authorJason Andryuk <jason.andryuk@amd.com>
Wed, 27 Mar 2024 08:14:17 +0000 (09:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 27 Mar 2024 08:14:17 +0000 (09:14 +0100)
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 <jason.andryuk@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/elfnote.h

index 8bf54d035b9c63268943e1fd1375d41dce4b9eb3..1d84b05f44d15cb9c79cbb92805eb8cd2386cfc0 100644 (file)
@@ -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.
  */
 
 /*