1 | #if __WORDSIZE == 64 |
---|---|
2 | struct link_map_machine |
3 | { |
4 | Elf64_Addr plt; /* Address of .plt + 0x16 */ |
5 | Elf64_Addr gotplt; /* Address of .got + 0x18 */ |
6 | void *tlsdesc_table; /* Address of TLS descriptor hash table. */ |
7 | }; |
8 | |
9 | #else |
10 | struct link_map_machine |
11 | { |
12 | Elf32_Addr plt; /* Address of .plt + 0x16 */ |
13 | Elf32_Addr gotplt; /* Address of .got + 0x0c */ |
14 | void *tlsdesc_table; /* Address of TLS descriptor hash table. */ |
15 | }; |
16 | #endif |
17 |