This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] add R_390_*20 relocations.
- From: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 12 Nov 2004 15:21:47 +0100
- Subject: [PATCH] add R_390_*20 relocations.
Hi,
while working on a bugfix for modutils I noticed that the 20 bit
relocations for s390 are missing in elf/elf.h. Without them
the fixed modutils won't compile anymore.
blue skies,
Martin.
2004-11-12 Martin Schwidefsky <schwidefsky@de.ibm.com>
* elf/elf.h: Add 20 bit relocations R_390_*20.
diff -urN libc/elf/elf.h libc-elf/elf/elf.h
--- libc/elf/elf.h 2004-11-03 15:39:52.000000000 +0100
+++ libc-elf/elf/elf.h 2004-11-10 17:20:28.000000000 +0100
@@ -2402,8 +2402,13 @@
#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. */