[all-commits] [llvm/llvm-project] 55120a: Implement basic loader for Linux aarch64

Jeff Bailey via All-commits all-commits at lists.llvm.org
Tue Feb 15 19:42:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 55120aad4e34a8cb591029cd2788e833c17e077c
      https://github.com/llvm/llvm-project/commit/55120aad4e34a8cb591029cd2788e833c17e077c
  Author: Jeff Bailey <jeffbailey at google.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    A libc/loader/linux/aarch64/CMakeLists.txt
    A libc/loader/linux/aarch64/start.cpp

  Log Message:
  -----------
  Implement basic loader for Linux aarch64

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>

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D119641




More information about the All-commits mailing list