Add support for a minimal version of libgfortran for accelerator targets.
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 28 Nov 2014 17:39:15 +0000 (17:39 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 28 Nov 2014 17:39:15 +0000 (17:39 +0000)
commitee95f9288a029478f1fbf9741db51855ac9a552b
tree0e296527e984f03d733bdbf9031d556f5292b19a
parent8760be8546edd0941c1d62dd47e5130fae5df953
Add support for a minimal version of libgfortran for accelerator targets.

* Makefile.am (AM_CFLAGS): Add -DLIBGFOR_MINIMAL if LIBGFOR_MINIMAL.
        (gfor_io_src, gfor_heper_src, gfor_src): Split into minimal and
        always included sources.
        * Makefile.in: Regenerate.
        * configure.ac (LIBGFOR_MINIMAL): New AM_CONDITIONAL.
        * configure: Regenerate.
        * caf/single.c (caf_runtime_error): Don't print messages if
        LIBGFOR_MINIMAL.
        * runtime/compile_options.c (fatal_error_in_progress,
        show_signal, backtrace_handler, maybe_find_addr2line): Guard with
        !defined LIBGFOR_MINIMAL.
        (set_options): Likewise for the backtrace code.
        * runtime/minimal.c: New file.

From-SVN: r218170
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/caf/single.c
libgfortran/configure
libgfortran/configure.ac
libgfortran/runtime/compile_options.c
libgfortran/runtime/minimal.c [new file with mode: 0644]