mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 21:23:52 +08:00
522e02ab8a
It was noted in <https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the bits/*.h naming scheme should only be used for installed headers. This patch renames bits/linkmap.h to plain linkmap.h to follow that convention. Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). [BZ #14912] * bits/linkmap.h: Move to ... * sysdeps/generic/linkmap.h: ...here. * sysdeps/aarch64/bits/linkmap.h: Move to ... * sysdeps/aarch64/linkmap.h: ...here. * sysdeps/arm/bits/linkmap.h: Move to ... * sysdeps/arm/linkmap.h: ...here. * sysdeps/hppa/bits/linkmap.h: Move to ... * sysdeps/hppa/linkmap.h: ...here. * sysdeps/ia64/bits/linkmap.h: Move to ... * sysdeps/ia64/linkmap.h: ...here. * sysdeps/mips/bits/linkmap.h: Move to ... * sysdeps/mips/linkmap.h: ...here. * sysdeps/s390/bits/linkmap.h: Move to ... * sysdeps/s390/linkmap.h: ...here. * sysdeps/sh/bits/linkmap.h: Move to ... * sysdeps/sh/linkmap.h: ...here. * sysdeps/x86/bits/linkmap.h: Move to ... * sysdeps/x86/linkmap.h: ...here. * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17 lines
443 B
C
17 lines
443 B
C
#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
|