aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2003-07-01 14:46:26 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2003-07-01 14:46:26 +0000
commit89af415b3f58f793214e953bc9e72684fda94f51 (patch)
tree599d7db1305e9639cb4099a00d9886b194c1c084
parent933fbc29d65808323354fd325f0589ca07f5fedf (diff)
downloadgdb-89af415b3f58f793214e953bc9e72684fda94f51.zip
gdb-89af415b3f58f793214e953bc9e72684fda94f51.tar.gz
gdb-89af415b3f58f793214e953bc9e72684fda94f51.tar.bz2
* s390.h (elf_s390_reloc_type): Add long displacement relocations
R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/s390.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 4c13d02..2f78483 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-01 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * s390.h (elf_s390_reloc_type): Add long displacement relocations
+ R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
+
2003-06-29 Andreas Jaeger <aj@suse.de>
* mmix.h: Convert to ISO C90 prototypes.
diff --git a/include/elf/s390.h b/include/elf/s390.h
index 6a21c3b..3a1306f 100644
--- a/include/elf/s390.h
+++ b/include/elf/s390.h
@@ -110,6 +110,11 @@ START_RELOC_NUMBERS (elf_s390_reloc_type)
RELOC_NUMBER (R_390_TLS_DTPOFF, 55) /* Offset in TLS block. */
RELOC_NUMBER (R_390_TLS_TPOFF, 56) /* Negate offset in static TLS
block. */
+ RELOC_NUMBER (R_390_20, 57) /* Direct 20 bit. */
+ RELOC_NUMBER (R_390_GOT20, 58) /* 20 bit GOT offset. */
+ RELOC_NUMBER (R_390_GOTPLT20, 59) /* 20 bit offset to jump slot. */
+ RELOC_NUMBER (R_390_TLS_GOTIE20, 60)/* 20 bit GOT offset for statis TLS
+ block offset. */
/* These are GNU extensions to enable C++ vtable garbage collection. */
RELOC_NUMBER (R_390_GNU_VTINHERIT, 250)
RELOC_NUMBER (R_390_GNU_VTENTRY, 251)