Make libelf not fail on unknown elf notes.
PATCH 1/1 Make libelf not fail on unknown elf notes.
Hi,
Yet another trivial fix, please apply,
Gerd
Signature · 1 line
Gerd Hoffmann <[email protected]>
Make libelf not fail on unknown elf notes.
Signed-off-by Gerd Hoffmann <[email protected]>
xen/common/libelf/libelf-dominfo.c +2 -2
@@ -107,9 +107,9 @@ int elf_xen_parse_note(struct elf_binaryif ((type >=sizeof (note_desc) /sizeof (note_desc[0 ])) || (NULL == note_desc[type].name)) { -elf_err (elf,"%s: unknown xen elf note (0x%x)\n" , +elf_msg (elf,"%s: unknown xen elf note (0x%x)\n" , __FUNCTION__, type); -return -1 ; +return 0 ; }if (note_desc[type].str)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel