[libc] Add TLS image initialization to aarch64 startup code.
authorSiva Chandra <sivachandra@google.com>
Fri, 17 Jun 2022 05:58:45 +0000 (22:58 -0700)
committerSiva Chandra <sivachandra@google.com>
Sat, 18 Jun 2022 05:50:14 +0000 (22:50 -0700)
commitbe6af89f85ebd04646b5704301470f02b70a0447
tree6cabfca5413259ad0d2ec6963f8ac5e5055e3370
parente29133629b3d389b3c7cd9083874de5792747967
[libc] Add TLS image initialization to aarch64 startup code.

The TLS loader test has been enabled for aarch64.
Handling of PT_TLS' filesz and memsz for x86_64 has also been fixed.

Reviewed By: jeffbailey

Differential Revision: https://reviews.llvm.org/D128032
libc/config/linux/app.h
libc/loader/linux/aarch64/CMakeLists.txt
libc/loader/linux/aarch64/start.cpp
libc/loader/linux/x86_64/start.cpp
libc/test/integration/loader/linux/CMakeLists.txt