From 51fcab754dabef67a26210a6e1cd752290a10749 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Sun, 14 Jan 2018 21:22:23 -0600 Subject: execinfo: Clean up, implement backtrace_symbols_fd Rename the file to match the header it implements functions from. Changes to existing code: * Fix the return value from backtrace (off by one). * Use __builtin_extract_return_addr as recommended in gcc documentation. * Document header usage. * Document where the functions are referenced in the LSB standard. Signed-off-by: Samuel Holland --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 887a7cf..b6ea4f7 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ LIBGCOMPAT_INCLUDE = \ libgcompat/alias.h LIBGCOMPAT_SRC = \ - libgcompat/backtrace.c \ libgcompat/dlmopen.c \ libgcompat/dlvsym.c \ + libgcompat/execinfo.c \ libgcompat/gnulib.c \ libgcompat/malloc.c \ libgcompat/math.c \ -- cgit v1.2.3-70-g09d2