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 Tue, Sep 22, 2:23 PM. Tags None Referenced Files
Details
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. |