gcc/libgcc/config/riscv
Maciej W. Rozycki 090d3f5ab3 RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS
Use `-fasynchronous-unwind-tables' rather than `-fexceptions
-fnon-call-exceptions' in LIB2_DIVMOD_FUNCS compilation flags so as to
provide unwind tables for the affected functions while not pulling the
unwinder proper, which is not required here.

Beyond saving program space it fixes a RISC-V glibc build error due to
unsatisfied `malloc' and `free' references from the unwinder causing
link errors with `ld.so' where libgcc has been built at -O0.

	libgcc/
	* config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
	variable.
2020-09-29 01:20:01 +01:00
..
atomic.c Update copyright years. 2020-01-01 12:51:42 +01:00
crti.S
crtn.S
div.S RISC-V: Make __divdi3 handle div by zero same as hardware. 2020-06-02 11:44:44 -07:00
linux-unwind.h Update copyright years. 2020-01-01 12:51:42 +01:00
muldi3.S Update copyright years. 2020-01-01 12:51:42 +01:00
multi3.c Update copyright years. 2020-01-01 12:51:42 +01:00
riscv-asm.h Update copyright years. 2020-01-01 12:51:42 +01:00
save-restore.S RISC-V/libgcc: Reduce the size of RV64 millicode by 6 bytes 2020-07-31 23:52:20 +01:00
sfp-machine.h Update copyright years. 2020-01-01 12:51:42 +01:00
t-elf RISC-V/libgcc: Use `-fasynchronous-unwind-tables' for LIB2_DIVMOD_FUNCS 2020-09-29 01:20:01 +01:00
t-elf32
t-elf64
t-softfp32 RISC-V: Build soft-float divide routines for -mno-fdiv. 2019-11-01 13:35:12 -07:00
t-softfp64