mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
75eff3fe90
This patch moves the AArch64 port to the main sysdeps hierarchy. The move is essentially: git mv ports/sysdeps/aarch64 sysdeps/aarch64 git mv ports/sysdeps/unix/sysv/linux/aarch64 sysdeps/unix/sysv/linux/aarch64 The README is updated and I've updated ChangeLog.aarch64 along the lines of the ARM move. The AArch64 build has been tested to confirm that there were no changes in objdump -dr output or the shared objects.
16 lines
432 B
Plaintext
16 lines
432 B
Plaintext
#include <stddef.h>
|
|
#include <sysdep.h>
|
|
#include <tls.h>
|
|
#include <link.h>
|
|
#include <dl-tlsdesc.h>
|
|
|
|
--
|
|
|
|
-- Abuse tls.h macros to derive offsets relative to the thread register.
|
|
|
|
TLSDESC_ARG offsetof(struct tlsdesc, arg)
|
|
|
|
TLSDESC_GEN_COUNT offsetof(struct tlsdesc_dynamic_arg, gen_count)
|
|
TLSDESC_MODID offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_module)
|
|
TLSDESC_MODOFF offsetof(struct tlsdesc_dynamic_arg, tlsinfo.ti_offset)
|