From 853c71dfbf520a84158d23803de8e29d08c957bb Mon Sep 17 00:00:00 2001 From: Jason Andryuk Date: Wed, 27 Mar 2024 09:14:17 +0100 Subject: [PATCH] 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 --- xen/include/public/elfnote.h | 2 ++ 1 file changed, 2 insertions(+) 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. */ /*