[libc-commits] [PATCH] D119641: Implement basic loader for Linux aarch64
Jeff Bailey via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sat Feb 12 11:06:48 PST 2022
jeffbailey created this revision.
jeffbailey added a reviewer: sivachandra.
Herald added subscribers: libc-commits, pengfei, kristof.beyls, mgorny.
Herald added a project: libc-project.
jeffbailey requested review of this revision.
This implements a basic arm64 loader for Linux, and all the currently
enabled linker tests pass. TLS is not implemented, and functions
using it will have undefined behaviour. Notably, the TLS test is
currently disabled on x86_64.
Much of the structure is copied from x86_64 to allow for a refactoring
of the start code between architectures.
Tested:
ninja libc_loader_tests on aarch64-linux.
Co-authored-by: Raman Tenneti <rtenneti at google.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119641
Files:
libc/loader/linux/aarch64/CMakeLists.txt
libc/loader/linux/aarch64/start.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119641.408198.patch
Type: text/x-patch
Size: 3386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220212/56fab76a/attachment.bin>
More information about the libc-commits
mailing list