On Mär 08 2022, Richard Sandiford via Gcc-patches wrote:
>> +
>> +.section .init,"ax",@progbits
>> +.globl _init
>> +.type _init,@function
>> +_init:
>> +addi.d $r3,$r3,-16
>> +st.d $r1,$r3,8
>> +addi.d $r3,$r3,16
>> +jirl$r0,$r1,0
>> +
>> +.section
xucheng...@loongson.cn writes:
> diff --git a/libgcc/config/loongarch/crti.S b/libgcc/config/loongarch/crti.S
> new file mode 100644
> index 000..27b7eab3626
> --- /dev/null
> +++ b/libgcc/config/loongarch/crti.S
> @@ -0,0 +1,43 @@
> +/* Copyright (C) 2021-2022 Free Software Foundation, Inc
From: chenglulu
2022-03-04 Chenghua Xu
Lulu Cheng
libgcc/
* config/loongarch/crtfastmath.c: New file.
* config/loongarch/crti.S: Like wise.
* config/loongarch/crtn.S: Like wise.
* config/loongarch/linux-unwind.h: Like wise.
* config/loong