commit | 04dfbd2a776d6288a11926dd586d2ba3aa89841b | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Sep 09 11:26:44 2022 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Sep 15 15:55:38 2022 -0700 |
tree | e722f507560d0b736abdbe0e6944f0bdbdd60fdf | |
parent | 54a39aefbae96da6e36cdc1272bd6e275e98676c [diff] |
Run __libc_start_main directly Change relinterp.c from a chain loader that jumps to _start to a replacement crt that implements _start and jumps to __libc_start_main when it is done. This makes it only work for musl, but reduces the complexity of compiling against it by removing the need to override the entry point to __ri__start. Bug: 242601708 Test: m USE_HOST_MUSL=true bzip2 Change-Id: Ib9b5530d3a8c533b2e6ccde72fb301aab742a835