diff -r 88bb0d305308 xen/arch/x86/domain_build.c --- a/xen/arch/x86/domain_build.c Wed Aug 01 15:47:54 2007 +0100 +++ b/xen/arch/x86/domain_build.c Thu Aug 02 09:31:58 2007 +0200 @@ -268,9 +268,6 @@ int __init construct_dom0( if ( (rc = elf_init(&elf, image_start, image_len)) != 0 ) return rc; -#ifdef VERBOSE - elf_set_verbose(&elf); -#endif elf_parse_binary(&elf); if ( (rc = elf_xen_parse(&elf, &parms)) != 0 ) return rc; diff -r 88bb0d305308 xen/common/libelf/libelf-loader.c --- a/xen/common/libelf/libelf-loader.c Wed Aug 01 15:47:54 2007 +0100 +++ b/xen/common/libelf/libelf-loader.c Thu Aug 02 09:30:52 2007 +0200 @@ -53,8 +53,10 @@ int elf_init(struct elf_binary *elf, con /* Find section string table. */ section = elf_uval(elf, elf->ehdr, e_shstrndx); shdr = elf_shdr_by_index(elf, section); - if ( shdr != NULL ) + if ( shdr != NULL ) { elf->sec_strtab = elf_section_start(elf, shdr); + high = low = (unsigned long)shdr; + } /* Find symbol table and symbol string table. */ count = elf_shdr_count(elf);