From: Marco Schlumpp Date: Mon, 20 Nov 2023 08:14:43 +0000 (+0100) Subject: Enable unwind tables for libunwind X-Git-Tag: RELEASE-0.16.0 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;ds=sidebyside;p=unikraft%2Flibs%2Flibunwind.git 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 --- 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)