xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/loongarch/t-crtstuff (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1# -fasynchronous-unwind-tables is on by default for LoongArch.
2# We turn it off for crt*.o because it would make __EH_FRAME_BEGIN__ point
3# to .eh_frame data from crtbeginT.o instead of the user-defined object
4# during static linking.
5CRTSTUFF_T_CFLAGS += -fno-omit-frame-pointer -fno-asynchronous-unwind-tables
6