[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Make libelf not fail on unknown elf notes.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171456633 0
# Node ID 36bbb7edfd0b5d7e84a4e4e5589684f95787bbbb
# Parent  929868cd37150106c4235657c959ac3376e95aa2
Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxx>
---
 xen/common/libelf/libelf-dominfo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 929868cd3715 -r 36bbb7edfd0b xen/common/libelf/libelf-dominfo.c
--- a/xen/common/libelf/libelf-dominfo.c        Wed Feb 14 12:35:36 2007 +0000
+++ b/xen/common/libelf/libelf-dominfo.c        Wed Feb 14 12:37:13 2007 +0000
@@ -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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.