[libc-commits] [libc] [libc] Add `Scrt1.o` to `startup_components` (PR #97497)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Wed Jul 3 08:23:38 PDT 2024


SchrodingerZhu wrote:

cc @MaskRay . I am not sure directly creating `crt1` to `Scrt1` based on `crt1` will work? If it does work for current configuration, it can be easily broken in the future. `-pie`, `-static`, `-static-pie` should have different relocation policies. 

https://github.com/llvm/llvm-project/pull/97497


More information about the libc-commits mailing list