[libc] Adjust aarch64 startup code to reliably sniff out the start args.
authorSiva Chandra <sivachandra@google.com>
Thu, 4 Aug 2022 00:37:06 +0000 (17:37 -0700)
committerSiva Chandra <sivachandra@google.com>
Thu, 4 Aug 2022 06:12:02 +0000 (23:12 -0700)
commitc9e1ecd46da5c31cd7da3207691567906a100231
treecab36cf8b7e2e2ee4bb8432cd649e1368241f7a9
parent077b16aa6cc488a5ad3db2f607ba74647420bb54
[libc] Adjust aarch64 startup code to reliably sniff out the start args.

Since this now allows, the init/fini array iteration has been added in
a similar fashion to x86_64 and the corresponding test enabled.

Reviewed By: jeffbailey

Differential Revision: https://reviews.llvm.org/D131133
libc/loader/linux/aarch64/start.cpp
libc/test/integration/loader/linux/CMakeLists.txt