crt1/crti/crtn and self-relocation for LoongArch.
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007@gmail.com>
Signed-off-by: yu shan wei <mpysw@vip.163.com>
Differential D59892
lib/csu: add LoongArch support Authored by zhaoxiaoqiang007_gmail.com on Sep 22 2026, 2:23 PM. Project Tags None Referenced Files None
Details
crt1/crti/crtn and self-relocation for LoongArch. Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007@gmail.com>
Diff Detail
Event TimelineComment Actions A few high-level comments. These files contain $FreeBSD$ which should is long obsolete and should never be present. As with @imp's comments on D59893, the bringing over the copyrights and acknowledgements is questionable. Please don't implement crti and crtn. The _init and _fini functions are obsolete and should not be supported in new architectures. IMO it was an error to have added support to RISC-V.
Comment Actions
Is it appropriate to change the clang FreeBSD driver to reflect this ? Comment Actions More copyright tagging advice.
Comment Actions since clang driver changes has been merged, all changes with be there in next reversion Comment Actions update to resolve comments since last reversion
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||