summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-21 06:49:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-21 06:49:01 +0000
commit2d2ae37963f34dcc86f1b9e95702181f0147465e (patch)
tree173cbf91cb8b3dc79e0f56a129c7c9997414fd09
parenta71c83bc448a0bf63ca753840f78f1c5b36bcdff (diff)
Those crazy binutils folks changed their abi. Add this so older
apps can cope gracefully.
-rw-r--r--include/elf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 8d9384c96..8e6f364cc 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -2316,6 +2316,11 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_390_JMP_SLOT 11 /* Create PLT entry. */
#define R_390_RELATIVE 12 /* Adjust by program base. */
#define R_390_GOTOFF32 13 /* 32 bit offset to GOT. */
+
+/* Those crazy binutils folks changed their
+ * abi. Add this so older apps can cope. */
+#define R_390_GOTOFF R_390_GOTOFF32
+
#define R_390_GOTPC 14 /* 32 bit PC relative offset to GOT. */
#define R_390_GOT16 15 /* 16 bit GOT offset. */
#define R_390_PC16 16 /* PC relative 16 bit. */