From 93a11d8bb29423727cdd71c12b6ae8accc21997b Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Fri, 13 Jan 2012 12:27:29 +0100 Subject: libubacktrace: use -asynchronous-funwind-tables rather than -funwind-tables From gcc documentation, we can read: " ... -fasynchronous-unwind-tables Generate unwind table in dwarf2 format, if supported by target machine. The table is exact at each instruction boundary, so it can be used for stack unwinding from asynchronous events (such as debugger or garbage collector) ..." So it seems better rather than using -funwind-tables (glibc seems to prefer -fasynchronous-unwind-tables). Signed-off-by: Carmelo Amoroso Acked-by: Mike Frysinger --- libubacktrace/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libubacktrace/Makefile.in') diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in index a932f83cf..b18e3e675 100644 --- a/libubacktrace/Makefile.in +++ b/libubacktrace/Makefile.in @@ -26,8 +26,8 @@ libubacktrace_OUT := $(top_builddir)libubacktrace libubacktrace_SRC-y := libubacktrace_SRC-$(UCLIBC_HAS_BACKTRACE) := backtrace.c backtracesyms.c backtracesymsfd.c -# -funwind-tables is required for backtrace to work using dwarf2 -CFLAGS-backtrace.c := -funwind-tables +# -fasynchronous-unwind-tables is required for backtrace to work using dwarf2 +CFLAGS-backtrace.c := -fasynchronous-unwind-tables libubacktrace_SRCS := $(addprefix $(libubacktrace_DIR)/,$(libubacktrace_SRC-y)) -- cgit v1.2.3