From d866fa444cc47097c07b3d31c494fdacd977f6d8 Mon Sep 17 00:00:00 2001 From: Michael Holzheu Date: Fri, 19 Aug 2011 15:09:50 +0200 Subject: kexec-tools: Add s390 kdump support This patch adds kdump support for s390 to the kexec tool and enables the "--load-panic" option. When loading the kdump kernel and ramdisk we add the address of the crashkernel memory to the normal load address. Signed-off-by: Michael Holzheu Signed-off-by: Simon Horman --- include/elf.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/elf.h b/include/elf.h index c958a40..1a2eb5a 100644 --- a/include/elf.h +++ b/include/elf.h @@ -2304,9 +2304,13 @@ typedef Elf32_Addr Elf32_Conflict; #define R_390_TLS_DTPOFF 55 /* Offset in TLS block. */ #define R_390_TLS_TPOFF 56 /* Negated offset in static TLS block. */ - +#define R_390_20 57 /* Direct 20 bit. */ +#define R_390_GOT20 58 /* 20 bit GOT offset. */ +#define R_390_GOTPLT20 59 /* 20 bit offset to jump slot. */ +#define R_390_TLS_GOTIE20 60 /* 20 bit GOT offset for static TLS + block offset. */ /* Keep this the last entry. */ -#define R_390_NUM 57 +#define R_390_NUM 61 /* CRIS relocations. */ #define R_CRIS_NONE 0 -- cgit