diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-01-08 13:15:49 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-01-08 13:15:49 +0000 |
commit | 8ce65842ad07d007963febce10bec54ad0063986 (patch) | |
tree | 3576225a8069ee3a706beade8fa709ef5b0a489d /tools | |
parent | 68b1230ae3933388add17859b370abeac28fb754 (diff) | |
download | xen-8ce65842ad07d007963febce10bec54ad0063986.tar.gz xen-8ce65842ad07d007963febce10bec54ad0063986.tar.bz2 xen-8ce65842ad07d007963febce10bec54ad0063986.zip |
Move libelf headers out of xen public header dir.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/include/Makefile | 3 | ||||
-rw-r--r-- | tools/libxc/xc_core.h | 2 | ||||
-rw-r--r-- | tools/libxc/xc_dom.h | 2 | ||||
-rw-r--r-- | tools/libxc/xc_elf.h | 2 | ||||
-rw-r--r-- | tools/libxc/xc_hvm_build.c | 2 | ||||
-rw-r--r-- | tools/xcutils/readnotes.c | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/tools/include/Makefile b/tools/include/Makefile index db0b760559..62c27170ef 100644 --- a/tools/include/Makefile +++ b/tools/include/Makefile @@ -10,11 +10,12 @@ xen-foreign: xen/.dir: @rm -rf xen - mkdir xen + mkdir -p xen/libelf ln -sf ../$(XEN_ROOT)/xen/include/public/COPYING xen ln -sf $(addprefix ../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) xen ln -sf $(addprefix ../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) xen ln -sf ../xen-sys/$(XEN_OS) xen/sys + ln -sf $(addprefix ../../$(XEN_ROOT)/xen/include/xen/,libelf.h elfstructs.h) xen/libelf/ ln -s ../xen-foreign xen/foreign touch $@ diff --git a/tools/libxc/xc_core.h b/tools/libxc/xc_core.h index c5663e9426..30100ba416 100644 --- a/tools/libxc/xc_core.h +++ b/tools/libxc/xc_core.h @@ -23,7 +23,7 @@ #include "xen/version.h" #include "xg_private.h" -#include "xen/elfstructs.h" +#include "xen/libelf/elfstructs.h" /* section names */ #define XEN_DUMPCORE_SEC_NOTE ".note.Xen" diff --git a/tools/libxc/xc_dom.h b/tools/libxc/xc_dom.h index 770e00bba2..ca03ba5db4 100644 --- a/tools/libxc/xc_dom.h +++ b/tools/libxc/xc_dom.h @@ -1,4 +1,4 @@ -#include <xen/libelf.h> +#include <xen/libelf/libelf.h> #define INVALID_P2M_ENTRY ((xen_pfn_t)-1) diff --git a/tools/libxc/xc_elf.h b/tools/libxc/xc_elf.h index 089df2b070..5f7119bd04 100644 --- a/tools/libxc/xc_elf.h +++ b/tools/libxc/xc_elf.h @@ -1 +1 @@ -#include <xen/elfstructs.h> +#include <xen/libelf/elfstructs.h> diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index e0e75aac21..0b3bc61765 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -17,7 +17,7 @@ #include <xen/hvm/params.h> #include "xc_e820.h" -#include <xen/libelf.h> +#include <xen/libelf/libelf.h> #define SUPERPAGE_PFN_SHIFT 9 #define SUPERPAGE_NR_PFNS (1UL << SUPERPAGE_PFN_SHIFT) diff --git a/tools/xcutils/readnotes.c b/tools/xcutils/readnotes.c index 4ba53819c5..b770f56fe9 100644 --- a/tools/xcutils/readnotes.c +++ b/tools/xcutils/readnotes.c @@ -13,7 +13,7 @@ #include <xg_private.h> #include <xc_dom.h> /* gunzip bits */ -#include <xen/libelf.h> +#include <xen/libelf/libelf.h> static void print_string_note(const char *prefix, struct elf_binary *elf, const elf_note *note) |