From c00929901c1b07d3587c50c7a28ae58f9918f68f Mon Sep 17 00:00:00 2001 From: Marco Schlumpp Date: Mon, 20 Nov 2023 09:14:43 +0100 Subject: [PATCH] Enable unwind tables for libunwind libunwind has to unwind its own functions too when unwinding the complete stack. Without unwind tables this is impossible. Therefore, enable them for libunwind itself. Signed-off-by: Marco Schlumpp --- Makefile.uk | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.uk b/Makefile.uk index 2594192..eb3d56b 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -68,6 +68,7 @@ LIBUNWIND_FLAGS-y += -Wsign-compare LIBUNWIND_FLAGS-y += -D_LIBUNWIND_IS_BAREMETAL LIBUNWIND_FLAGS-y += -D_LIBUNWIND_IS_NATIVE_ONLY LIBUNWIND_FLAGS-y += -D_LIBUNWIND_HAS_NO_THREADS +LIBUNWIND_FLAGS-y += -funwind-tables LIBUNWIND_CFLAGS-y += $(LIBUNWIND_FLAGS-y) -- 2.39.5