summaryrefslogtreecommitdiffstats
path: root/Makefile.def
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-23 21:50:30 +0000
committerFran├žois-Xavier Coudert <fxcoudert@gcc.gnu.org>2015-08-23 21:50:30 +0000
commitad4f95e395b752371643327c1fdf71fac70de526 (patch)
tree2d9bb42bb8fba1bb8290c5fdeb49a6955a68c642 /Makefile.def
parentre PR libfortran/62296 (EXECUTE_COMMAND_LINE not F2008 conforming) (diff)
downloadgcc-ad4f95e395b752371643327c1fdf71fac70de526.tar.gz
gcc-ad4f95e395b752371643327c1fdf71fac70de526.tar.bz2
gcc-ad4f95e395b752371643327c1fdf71fac70de526.tar.xz
re PR libfortran/54572 (Use libbacktrace library)
PR libfortran/54572 * Makefile.def: Make libgfortran depend on libbacktrace. * Makefile.in: Regenerate. * config-lang.in: Add libbacktrace to target_libs. * Makefile.am (libgfortran_la_LDFLAGS): Link in libbacktrace. (AM_CPPFLAGS): Add libbacktrace directories to include paths. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Remove checks for strtok_r, wait, execve, pipe, and dup2. Remove call to GCC_CHECK_UNWIND_GETIPINFO. * libgfortran.h (full_exe_path, find_addr2line, backtrace): Remove prototypes. (show_backtrace): Add prototype. * runtime/backtrace.c: Rework file entirely. * runtime/compile_options.c (backtrace_handler): Rename backtrace to show_backtrace. (maybe_find_addr2line): Remove function. (set_options): Remove call to maybe_find_addr2line. * runtime/error.c (sys_abort): Rename backtrace to show_backtrace. * runtime/main.c (store_exe_path): Empty function body. (full_exe_path, gfstrtok_r, find_addr2line): Remove functions. (cleanup): Don't free removed variables. * runtime/minimal.c (full_exe_path): Remove function. (set_args): Don't set exe_path. * gfortran.dg/backtrace_1.f90: New test. From-SVN: r227106
Diffstat (limited to 'Makefile.def')
-rw-r--r--Makefile.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def
index 01445e4ff6a..8b4dad99160 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -597,6 +597,7 @@ dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
597dependencies = { module=configure-target-newlib; on=all-binutils; }; 597dependencies = { module=configure-target-newlib; on=all-binutils; };
598dependencies = { module=configure-target-newlib; on=all-ld; }; 598dependencies = { module=configure-target-newlib; on=all-ld; };
599dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; }; 599dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
600dependencies = { module=configure-target-libgfortran; on=all-target-libbacktrace; };
600 601
601languages = { language=c; gcc-check-target=check-gcc; }; 602languages = { language=c; gcc-check-target=check-gcc; };
602languages = { language=c++; gcc-check-target=check-c++; 603languages = { language=c++; gcc-check-target=check-c++;