|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libelf: "required" features should also b
# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1310110500 -3600
# Node ID 1ed49fb67feaf9b5e91b33ced312022262c59fba
# Parent 3e3c0a8be9f95abbb8649e1206dda58fe4d7360c
libelf: "required" features should also be reported as "supported"
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
diff -r 3e3c0a8be9f9 -r 1ed49fb67fea xen/common/libelf/libelf-dominfo.c
--- a/xen/common/libelf/libelf-dominfo.c Fri Jul 08 08:34:29 2011 +0100
+++ b/xen/common/libelf/libelf-dominfo.c Fri Jul 08 08:35:00 2011 +0100
@@ -64,13 +64,14 @@
{
if ( !elf_xen_feature_names[i] )
continue;
- if ( (required != NULL) && (feature[0] == '!') )
+ if ( feature[0] == '!' )
{
/* required */
if ( !strcmp(feature + 1, elf_xen_feature_names[i]) )
{
elf_xen_feature_set(i, supported);
- elf_xen_feature_set(i, required);
+ if ( required )
+ elf_xen_feature_set(i, required);
break;
}
}
_______________________________________________
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] libelf: "required" features should also be reported as "supported",
Xen patchbot-unstable <=
|
|
|
|
|