Make libelf not fail on unknown elf notes. Signed-off-by: Gerd Hoffmann diff -r ad9bbd103034 xen/common/libelf/libelf-dominfo.c --- a/xen/common/libelf/libelf-dominfo.c Fri Feb 09 18:19:24 2007 +0000 +++ b/xen/common/libelf/libelf-dominfo.c Mon Feb 12 15:05:11 2007 +0100 @@ -107,9 +107,9 @@ int elf_xen_parse_note(struct elf_binary if ((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)