没编译过去
meter -Qunused-arguments -DLOCORE -c /usr/src/lib/csu/loongarch/crti.S -o crti_s.o
/usr/src/lib/csu/loongarch/crti.S:12:2: error: unrecognized instruction mnemonic, did you mean: add.d, add.w?
add.i sp, sp, -16
^
/usr/src/lib/csu/loongarch/crti.S:13:7: error: invalid operand for instruction
st.d ra, sp, 0
^
/usr/src/lib/csu/loongarch/crti.S:20:2: error: unrecognized instruction mnemonic, did you mean: add.d, add.w?
add.i sp, sp, -16
^
/usr/src/lib/csu/loongarch/crti.S:21:7: error: invalid operand for instruction
st.d ra, sp, 0
^
*** Error code 1
Stop.
make[5]: stopped in /usr/src/lib/csu/loongarch
*** Error code 1
这个似乎并不是loongarch的指令
_init:
add.i sp, sp, -16
st.d ra, sp, 0
https://gitee.com/hitmoon/loongarch-fb/blob/loongarch_port/lib/csu/loongarch/crti.S#L12