aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcc/config/riscv/t-elf2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/config/riscv/t-elf b/libgcc/config/riscv/t-elf
index dbc8f85..415e1ff 100644
--- a/libgcc/config/riscv/t-elf
+++ b/libgcc/config/riscv/t-elf
@@ -4,3 +4,5 @@ LIB2ADD += $(srcdir)/config/riscv/save-restore.S \
$(srcdir)/config/riscv/div.S \
$(srcdir)/config/riscv/atomic.c \
+# Avoid the full unwinder being pulled along with the division libcalls.
+LIB2_DIVMOD_EXCEPTION_FLAGS := -fasynchronous-unwind-tables