@@ -315,6 +315,8 @@ int load_crashdump_segments(struct kexec_info *info, char *mod_cmdline)
last_ranges = 0;
if (crash_memory_ranges[last_ranges].end > UINT32_MAX) {
+ dbgprintf("Using 64-bit ELF core format\n");
+
/* for support LPAE enabled kernel*/
elf_info.class = ELFCLASS64;
@@ -323,6 +325,7 @@ int load_crashdump_segments(struct kexec_info *info, char *mod_cmdline)
usablemem_rgns.size, &buf, &bufsz,
ELF_CORE_HEADER_ALIGN);
} else {
+ dbgprintf("Using 32-bit ELF core format\n");
err = crash_create_elf32_headers(info, &elf_info,
usablemem_rgns.ranges,
usablemem_rgns.size, &buf, &bufsz,