summaryrefslogtreecommitdiff
path: root/kexec/crashdump-xen.c
diff options
context:
space:
mode:
authorBernhard Walle <bwalle@suse.de>2007-07-10 10:23:16 +0200
committerSimon Horman <horms@verge.net.au>2007-07-27 14:08:32 +0900
commitb9c3648e690ad0dad12389659673206213a09760 (patch)
treea40271dee3ba106a8bf005e16b37423f46477963 /kexec/crashdump-xen.c
parentb84b87747a16f0afbef6f6802bb794a94f4961d9 (diff)
Determine ELF32/ELF64 automatically on i386
On i386, kexec generates ELF64 core headers by default if the user doesn't override this via a command line option. Because GDB cannot analyse ELF64 core dumps on 32 bit platforms, it's a bad idea to use ELF64 if it's not needed. This patch selects ELF32 if the biggest memory address fits in 32 bit address space, which should be the case on non PAE systems. If the user specifies a command line option, that option overrides the detection. Signed-off-by: Bernhard Walle <bwalle@suse.de> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump-xen.c')
0 files changed, 0 insertions, 0 deletions