about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/s390/linkmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/s390/linkmap.h')
-rw-r--r--REORG.TODO/sysdeps/s390/linkmap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/s390/linkmap.h b/REORG.TODO/sysdeps/s390/linkmap.h
new file mode 100644
index 0000000000..283615b99a
--- /dev/null
+++ b/REORG.TODO/sysdeps/s390/linkmap.h
@@ -0,0 +1,13 @@
+#if __WORDSIZE == 64
+struct link_map_machine
+  {
+    Elf64_Addr plt; /* Address of .plt + 0x2e */
+    const Elf64_Rela *jmprel; /* Address of first JMP_SLOT reloc */
+  };
+#else
+struct link_map_machine
+  {
+    Elf32_Addr plt; /* Address of .plt + 0x2c */
+    const Elf32_Rela *jmprel; /* Address of first JMP_SLOT reloc */
+  };
+#endif