ia64/xen-unstable

changeset 13913:36bbb7edfd0b

Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
author kfraser@localhost.localdomain
date Wed Feb 14 12:37:13 2007 +0000 (2007-02-14)
parents 929868cd3715
children 6fd71faaaa3b
files xen/common/libelf/libelf-dominfo.c
line diff
     1.1 --- a/xen/common/libelf/libelf-dominfo.c	Wed Feb 14 12:35:36 2007 +0000
     1.2 +++ b/xen/common/libelf/libelf-dominfo.c	Wed Feb 14 12:37:13 2007 +0000
     1.3 @@ -107,9 +107,9 @@ int elf_xen_parse_note(struct elf_binary
     1.4      if ((type >= sizeof(note_desc) / sizeof(note_desc[0])) ||
     1.5  	(NULL == note_desc[type].name))
     1.6      {
     1.7 -	elf_err(elf, "%s: unknown xen elf note (0x%x)\n",
     1.8 +	elf_msg(elf, "%s: unknown xen elf note (0x%x)\n",
     1.9  		__FUNCTION__, type);
    1.10 -	return -1;
    1.11 +	return 0;
    1.12      }
    1.13  
    1.14      if (note_desc[type].str)