libelf: Tidy up logging and remove dependency on stdio.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 08:27:40 +0000 (09:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 28 May 2010 08:27:40 +0000 (09:27 +0100)
commit36cfb6aa84c1b5a5b5ac15883e34b10f32ab0ab8
treef6eb1345d9d81843e0213b31d30f672895d8fdac
parent96830282274a9f6a7aafd506976a3639b6f80836
libelf: Tidy up logging and remove dependency on stdio.

libelf now permits callers to specify logging callback functions,
rather than a FILE*.  libelf's non-Xen callers are all libxc users, so
the stdio dependency and the default logging callback function (which
calls vfprintf) is now in libxc.

Xen's use of libxc is unaffected in this patch.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxc/xc_dom_elfloader.c
tools/libxc/xenctrl.h
tools/xcutils/readnotes.c
xen/common/libelf/libelf-loader.c
xen/common/libelf/libelf-private.h
xen/common/libelf/libelf-relocate.c
xen/include/xen/libelf.h