[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [xenppc-unstable] [ppc] add __powerpc__ ifdef for ELF loading
# HG changeset patch # User Hollis Blanchard <hollisb@xxxxxxxxxx> # Node ID b0b842d3f70671e6a6af31243d1d265601d592fb # Parent 57715edb2a5cf4e391ae1e2e1e8f155ad8afd4a8 [ppc] add __powerpc__ ifdef for ELF loading Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- tools/libxc/xc_load_elf.c | 4 ++++ 1 files changed, 4 insertions(+) diff -r 57715edb2a5c -r b0b842d3f706 tools/libxc/xc_load_elf.c --- a/tools/libxc/xc_load_elf.c Fri Jun 16 14:56:52 2006 -0500 +++ b/tools/libxc/xc_load_elf.c Fri Jun 16 15:53:18 2006 -0500 @@ -39,6 +39,10 @@ loadelfsymtab( #define ELFCLASS ELFCLASS64 #define ELFDATA ELFDATA2LSB #define ELFMACHINE EM_X86_64 +#elif defined(__powerpc__) +#define ELFCLASS ELFCLASS64 +#define ELFDATA ELFDATA2MSB +#define ELFMACHINE EM_PPC_64 #endif int probe_elf(const char *image, _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |