1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Use x86_64 bits/{link.h,linkmap.h} for i386/x86_64

This commit is contained in:
H.J. Lu
2012-05-30 15:21:55 -07:00
parent f726f0bb75
commit 6bd976963f
5 changed files with 7 additions and 65 deletions

View File

@@ -0,0 +1,16 @@
#if __WORDSIZE == 64
struct link_map_machine
{
Elf64_Addr plt; /* Address of .plt + 0x16 */
Elf64_Addr gotplt; /* Address of .got + 0x18 */
void *tlsdesc_table; /* Address of TLS descriptor hash table. */
};
#else
struct link_map_machine
{
Elf32_Addr plt; /* Address of .plt + 0x16 */
Elf32_Addr gotplt; /* Address of .got + 0x0c */
void *tlsdesc_table; /* Address of TLS descriptor hash table. */
};
#endif