summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2011-08-19 15:09:50 +0200
committerSimon Horman <horms@verge.net.au>2011-08-20 18:02:29 +0900
commitd866fa444cc47097c07b3d31c494fdacd977f6d8 (patch)
tree6c902b0b94b1f8fa02459e52c3af269c6a4066cd /include
parent7c7caf11813cf9993201285886ba9661b3de2d18 (diff)
downloadkexec-tools-d866fa444cc47097c07b3d31c494fdacd977f6d8.tar.gz
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 <holzheu@linux.vnet.ibm.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/elf.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h
index c958a40e..1a2eb5a8 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