Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:GA
kexec-tools
kexec-tools-kdump-fix-elf-header-endianess.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kexec-tools-kdump-fix-elf-header-endianess.patch of Package kexec-tools
From: Laurent Dufour <ldufour@linux.vnet.ibm.com> Subject: kdump fix ELF header endianess References: bnc#888150 Signed-off-by: Tony Jones <tonyj@suse.de> Upstream: pending The ELF header created among the loading of the kdump kernel should be flagged using the current endianess and not always as big endian. Without this patch the data exposed in /proc/vmcore are not readable when running in LE mode. Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com> --- kexec/arch/ppc64/crashdump-ppc64.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/kexec/arch/ppc64/crashdump-ppc64.c +++ b/kexec/arch/ppc64/crashdump-ppc64.c @@ -38,7 +38,11 @@ static struct crash_elf_info elf_info64 = { class: ELFCLASS64, +#if BYTE_ORDER == LITTLE_ENDIAN + data: ELFDATA2LSB, +#else data: ELFDATA2MSB, +#endif machine: EM_PPC64, page_offset: PAGE_OFFSET, lowmem_limit: MAXMEM,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor