WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Make libelf not fail on unknown elf notes.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 08:15:11 -0800
Delivery-date: Wed, 14 Feb 2007 08:15:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Make libelf not fail on unknown elf notes., Xen patchbot-unstable <=