diff options
author | Bernhard Walle <bwalle@suse.de> | 2007-07-10 10:23:16 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2007-07-27 14:08:32 +0900 |
commit | b9c3648e690ad0dad12389659673206213a09760 (patch) | |
tree | a40271dee3ba106a8bf005e16b37423f46477963 /kexec/crashdump-xen.c | |
parent | b84b87747a16f0afbef6f6802bb794a94f4961d9 (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