aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-07-14 09:39:23 +0000
committerAndreas Jaeger <aj@suse.de>2002-07-14 09:39:23 +0000
commit3dbd4a6f15b94b41f96fcb63a03ad080b19e7577 (patch)
tree5ecbdec3cc20240b78b16933425cfa70643d364b /sysdeps
parent631aeba45ec00da47706827b74dc624cd9e78257 (diff)
downloadglibc-3dbd4a6f15b94b41f96fcb63a03ad080b19e7577.zip
glibc-3dbd4a6f15b94b41f96fcb63a03ad080b19e7577.tar.gz
glibc-3dbd4a6f15b94b41f96fcb63a03ad080b19e7577.tar.bz2
Update.
2002-07-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/bits/link.h: Add biarch support.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/bits/link.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/x86_64/bits/link.h b/sysdeps/x86_64/bits/link.h
index 21c294a..8ea7157 100644
--- a/sysdeps/x86_64/bits/link.h
+++ b/sysdeps/x86_64/bits/link.h
@@ -1,5 +1,14 @@
+#if __WORDSIZE == 64
struct link_map_machine
{
Elf64_Addr plt; /* Address of .plt + 0x16 */
Elf64_Addr gotplt; /* Address of .got + 0x18 */
};
+
+#else
+struct link_map_machine
+ {
+ Elf32_Addr plt; /* Address of .plt + 0x16 */
+ Elf32_Addr gotplt; /* Address of .got + 0x0c */
+ };
+#endif