|
|
f61693 |
--- libgfortran/Makefile.am.jj 2021-04-20 10:33:07.504337576 +0200
|
|
|
f61693 |
+++ libgfortran/Makefile.am 2021-05-11 20:24:31.211422979 +0200
|
|
|
f61693 |
@@ -37,6 +37,7 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdi
|
|
|
f61693 |
$(lt_host_flags)
|
|
|
f61693 |
|
|
|
f61693 |
toolexeclib_LTLIBRARIES = libgfortran.la
|
|
|
f61693 |
+noinst_LTLIBRARIES = libgfortran_nonshared80.la
|
|
|
f61693 |
toolexeclib_DATA = libgfortran.spec
|
|
|
f61693 |
libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
|
|
|
f61693 |
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
|
|
|
f61693 |
@@ -1041,6 +1042,91 @@ libgfortran_la_SOURCES = $(prereq_SRC)
|
|
|
f61693 |
|
|
|
f61693 |
endif
|
|
|
f61693 |
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_generated_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/generated/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_generated_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/generated/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_intrinsics_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/intrinsics/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_intrinsics_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/intrinsics/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_runtime_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/runtime/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_runtime_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/runtime/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.f90,%.lo,$(nonshared_intrinsics_f90_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/intrinsics/%.f90
|
|
|
f61693 |
+ $(LTPPFCCOMPILE) -c -o $@ $< -fallow-leading-underscore
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.f90,%.o,$(nonshared_intrinsics_f90_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/intrinsics/%.f90
|
|
|
f61693 |
+ $(PPFCCOMPILE) -c -o $@ $< -fallow-leading-underscore
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_runtime_C_SRC = \
|
|
|
f61693 |
+nonshared-ISO_Fortran_binding.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_generated_C_SRC = \
|
|
|
f61693 |
+nonshared-findloc0_i1.c \
|
|
|
f61693 |
+nonshared-findloc0_i2.c \
|
|
|
f61693 |
+nonshared-findloc0_i4.c \
|
|
|
f61693 |
+nonshared-findloc0_i8.c \
|
|
|
f61693 |
+nonshared-findloc0_i16.c \
|
|
|
f61693 |
+nonshared-findloc0_r4.c \
|
|
|
f61693 |
+nonshared-findloc0_r8.c \
|
|
|
f61693 |
+nonshared-findloc0_r10.c \
|
|
|
f61693 |
+nonshared-findloc0_r16.c \
|
|
|
f61693 |
+nonshared-findloc0_c4.c \
|
|
|
f61693 |
+nonshared-findloc0_c8.c \
|
|
|
f61693 |
+nonshared-findloc0_c10.c \
|
|
|
f61693 |
+nonshared-findloc0_c16.c \
|
|
|
f61693 |
+nonshared-findloc0_s1.c \
|
|
|
f61693 |
+nonshared-findloc0_s4.c \
|
|
|
f61693 |
+nonshared-findloc1_i1.c \
|
|
|
f61693 |
+nonshared-findloc1_i2.c \
|
|
|
f61693 |
+nonshared-findloc1_i4.c \
|
|
|
f61693 |
+nonshared-findloc1_i8.c \
|
|
|
f61693 |
+nonshared-findloc1_i16.c \
|
|
|
f61693 |
+nonshared-findloc1_r4.c \
|
|
|
f61693 |
+nonshared-findloc1_r8.c \
|
|
|
f61693 |
+nonshared-findloc1_r10.c \
|
|
|
f61693 |
+nonshared-findloc1_r16.c \
|
|
|
f61693 |
+nonshared-findloc1_c4.c \
|
|
|
f61693 |
+nonshared-findloc1_c8.c \
|
|
|
f61693 |
+nonshared-findloc1_c10.c \
|
|
|
f61693 |
+nonshared-findloc1_c16.c \
|
|
|
f61693 |
+nonshared-findloc1_s1.c \
|
|
|
f61693 |
+nonshared-findloc1_s4.c \
|
|
|
f61693 |
+nonshared-findloc2_s1.c \
|
|
|
f61693 |
+nonshared-findloc2_s4.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_intrinsics_C_SRC = \
|
|
|
f61693 |
+nonshared-is_contiguous.c \
|
|
|
f61693 |
+nonshared-trigd.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_intrinsics_f90_SRC = \
|
|
|
f61693 |
+nonshared-random_init.f90
|
|
|
f61693 |
+
|
|
|
f61693 |
+libgfortran_nonshared80_la_SOURCES = \
|
|
|
f61693 |
+$(nonshared_runtime_C_SRC) \
|
|
|
f61693 |
+$(nonshared_generated_C_SRC) \
|
|
|
f61693 |
+$(nonshared_intrinsics_C_SRC) \
|
|
|
f61693 |
+$(nonshared_intrinsics_f90_SRC) \
|
|
|
f61693 |
+$(srcdir)/ieee/nonshared-ieee_arithmetic.c \
|
|
|
f61693 |
+$(srcdir)/io/nonshared-transfer.c \
|
|
|
f61693 |
+$(srcdir)/runtime/nonshared-error.c
|
|
|
f61693 |
+
|
|
|
f61693 |
I_M4_DEPS=m4/iparm.m4
|
|
|
f61693 |
I_M4_DEPS0=$(I_M4_DEPS) m4/iforeach.m4
|
|
|
f61693 |
I_M4_DEPS1=$(I_M4_DEPS) m4/ifunction.m4
|
|
|
f61693 |
--- libgfortran/ieee/nonshared-ieee_arithmetic.c.jj 2021-05-11 20:24:18.918549661 +0200
|
|
|
f61693 |
+++ libgfortran/ieee/nonshared-ieee_arithmetic.c 2021-05-11 20:24:18.918549661 +0200
|
|
|
f61693 |
@@ -0,0 +1,64 @@
|
|
|
f61693 |
+/* Helper functions in C for IEEE modules
|
|
|
f61693 |
+ Copyright (C) 2013-2021 Free Software Foundation, Inc.
|
|
|
f61693 |
+ Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
f61693 |
+
|
|
|
f61693 |
+This file is part of the GNU Fortran runtime library (libgfortran).
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is free software; you can redistribute it and/or
|
|
|
f61693 |
+modify it under the terms of the GNU General Public
|
|
|
f61693 |
+License as published by the Free Software Foundation; either
|
|
|
f61693 |
+version 3 of the License, or (at your option) any later version.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is distributed in the hope that it will be useful,
|
|
|
f61693 |
+but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
f61693 |
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
f61693 |
+GNU General Public License for more details.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Under Section 7 of GPL version 3, you are granted additional
|
|
|
f61693 |
+permissions described in the GCC Runtime Library Exception, version
|
|
|
f61693 |
+3.1, as published by the Free Software Foundation.
|
|
|
f61693 |
+
|
|
|
f61693 |
+You should have received a copy of the GNU General Public License and
|
|
|
f61693 |
+a copy of the GCC Runtime Library Exception along with this program;
|
|
|
f61693 |
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
|
f61693 |
+<http://www.gnu.org/licenses/>. */
|
|
|
f61693 |
+
|
|
|
f61693 |
+#include "libgfortran.h"
|
|
|
f61693 |
+
|
|
|
f61693 |
+GFC_LOGICAL_4
|
|
|
f61693 |
+__ieee_arithmetic_MOD_ieee_support_subnormal_4 (gfc_array_r4 *arg)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ (void) arg;
|
|
|
f61693 |
+ return 1;
|
|
|
f61693 |
+}
|
|
|
f61693 |
+
|
|
|
f61693 |
+GFC_LOGICAL_4
|
|
|
f61693 |
+__ieee_arithmetic_MOD_ieee_support_subnormal_8 (gfc_array_r8 *arg)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ (void) arg;
|
|
|
f61693 |
+ return 1;
|
|
|
f61693 |
+}
|
|
|
f61693 |
+
|
|
|
f61693 |
+#ifdef HAVE_GFC_REAL_10
|
|
|
f61693 |
+GFC_LOGICAL_4
|
|
|
f61693 |
+__ieee_arithmetic_MOD_ieee_support_subnormal_10 (gfc_array_r10 *arg)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ (void) arg;
|
|
|
f61693 |
+ return 1;
|
|
|
f61693 |
+}
|
|
|
f61693 |
+#endif
|
|
|
f61693 |
+
|
|
|
f61693 |
+#ifdef HAVE_GFC_REAL_16
|
|
|
f61693 |
+GFC_LOGICAL_4
|
|
|
f61693 |
+__ieee_arithmetic_MOD_ieee_support_subnormal_16 (gfc_array_r16 *arg)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ (void) arg;
|
|
|
f61693 |
+ return 1;
|
|
|
f61693 |
+}
|
|
|
f61693 |
+#endif
|
|
|
f61693 |
+
|
|
|
f61693 |
+GFC_LOGICAL_4
|
|
|
f61693 |
+__ieee_arithmetic_MOD_ieee_support_subnormal_noarg (void)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ return 1;
|
|
|
f61693 |
+}
|
|
|
f61693 |
--- libgfortran/Makefile.in.jj 2021-04-20 10:33:07.518337421 +0200
|
|
|
f61693 |
+++ libgfortran/Makefile.in 2021-05-11 20:24:50.660222546 +0200
|
|
|
f61693 |
@@ -217,7 +217,8 @@ am__uninstall_files_from_dir = { \
|
|
|
f61693 |
am__installdirs = "$(DESTDIR)$(cafexeclibdir)" \
|
|
|
f61693 |
"$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(toolexeclibdir)" \
|
|
|
f61693 |
"$(DESTDIR)$(gfor_cdir)" "$(DESTDIR)$(fincludedir)"
|
|
|
f61693 |
-LTLIBRARIES = $(cafexeclib_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
|
|
|
f61693 |
+LTLIBRARIES = $(cafexeclib_LTLIBRARIES) $(noinst_LTLIBRARIES) \
|
|
|
f61693 |
+ $(toolexeclib_LTLIBRARIES)
|
|
|
f61693 |
libcaf_single_la_LIBADD =
|
|
|
f61693 |
am_libcaf_single_la_OBJECTS = single.lo
|
|
|
f61693 |
libcaf_single_la_OBJECTS = $(am_libcaf_single_la_OBJECTS)
|
|
|
f61693 |
@@ -467,6 +468,36 @@ am__objects_65 = $(am__objects_3) $(am__
|
|
|
f61693 |
@onestep_FALSE@am_libgfortran_la_OBJECTS = $(am__objects_65)
|
|
|
f61693 |
@onestep_TRUE@am_libgfortran_la_OBJECTS = libgfortran_c.lo
|
|
|
f61693 |
libgfortran_la_OBJECTS = $(am_libgfortran_la_OBJECTS)
|
|
|
f61693 |
+libgfortran_nonshared80_la_LIBADD =
|
|
|
f61693 |
+am__objects_66 = nonshared-ISO_Fortran_binding.lo
|
|
|
f61693 |
+am__objects_67 = nonshared-findloc0_i1.lo nonshared-findloc0_i2.lo \
|
|
|
f61693 |
+ nonshared-findloc0_i4.lo nonshared-findloc0_i8.lo \
|
|
|
f61693 |
+ nonshared-findloc0_i16.lo nonshared-findloc0_r4.lo \
|
|
|
f61693 |
+ nonshared-findloc0_r8.lo nonshared-findloc0_r10.lo \
|
|
|
f61693 |
+ nonshared-findloc0_r16.lo nonshared-findloc0_c4.lo \
|
|
|
f61693 |
+ nonshared-findloc0_c8.lo nonshared-findloc0_c10.lo \
|
|
|
f61693 |
+ nonshared-findloc0_c16.lo nonshared-findloc0_s1.lo \
|
|
|
f61693 |
+ nonshared-findloc0_s4.lo nonshared-findloc1_i1.lo \
|
|
|
f61693 |
+ nonshared-findloc1_i2.lo nonshared-findloc1_i4.lo \
|
|
|
f61693 |
+ nonshared-findloc1_i8.lo nonshared-findloc1_i16.lo \
|
|
|
f61693 |
+ nonshared-findloc1_r4.lo nonshared-findloc1_r8.lo \
|
|
|
f61693 |
+ nonshared-findloc1_r10.lo nonshared-findloc1_r16.lo \
|
|
|
f61693 |
+ nonshared-findloc1_c4.lo nonshared-findloc1_c8.lo \
|
|
|
f61693 |
+ nonshared-findloc1_c10.lo nonshared-findloc1_c16.lo \
|
|
|
f61693 |
+ nonshared-findloc1_s1.lo nonshared-findloc1_s4.lo \
|
|
|
f61693 |
+ nonshared-findloc2_s1.lo nonshared-findloc2_s4.lo
|
|
|
f61693 |
+am__objects_68 = nonshared-is_contiguous.lo nonshared-trigd.lo
|
|
|
f61693 |
+am__objects_69 = nonshared-random_init.lo
|
|
|
f61693 |
+am_libgfortran_nonshared80_la_OBJECTS = $(am__objects_66) \
|
|
|
f61693 |
+ $(am__objects_67) $(am__objects_68) $(am__objects_69) \
|
|
|
f61693 |
+ nonshared-ieee_arithmetic.lo nonshared-transfer.lo \
|
|
|
f61693 |
+ nonshared-error.lo
|
|
|
f61693 |
+libgfortran_nonshared80_la_OBJECTS = \
|
|
|
f61693 |
+ $(am_libgfortran_nonshared80_la_OBJECTS)
|
|
|
f61693 |
+AM_V_lt = $(am__v_lt_@AM_V@)
|
|
|
f61693 |
+am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
|
|
f61693 |
+am__v_lt_0 = --silent
|
|
|
f61693 |
+am__v_lt_1 =
|
|
|
f61693 |
AM_V_P = $(am__v_P_@AM_V@)
|
|
|
f61693 |
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
|
|
f61693 |
am__v_P_0 = false
|
|
|
f61693 |
@@ -483,10 +514,6 @@ DEFAULT_INCLUDES = -I.@am__isrc@
|
|
|
f61693 |
depcomp = $(SHELL) $(top_srcdir)/../depcomp
|
|
|
f61693 |
am__depfiles_maybe = depfiles
|
|
|
f61693 |
am__mv = mv -f
|
|
|
f61693 |
-AM_V_lt = $(am__v_lt_@AM_V@)
|
|
|
f61693 |
-am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
|
|
|
f61693 |
-am__v_lt_0 = --silent
|
|
|
f61693 |
-am__v_lt_1 =
|
|
|
f61693 |
PPFCCOMPILE = $(FC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
f61693 |
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_FCFLAGS) $(FCFLAGS)
|
|
|
f61693 |
LTPPFCCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=FC $(AM_LIBTOOLFLAGS) \
|
|
|
f61693 |
@@ -530,7 +557,8 @@ AM_V_FC = $(am__v_FC_@AM_V@)
|
|
|
f61693 |
am__v_FC_ = $(am__v_FC_@AM_DEFAULT_V@)
|
|
|
f61693 |
am__v_FC_0 = @echo " FC " $@;
|
|
|
f61693 |
am__v_FC_1 =
|
|
|
f61693 |
-SOURCES = $(libcaf_single_la_SOURCES) $(libgfortran_la_SOURCES)
|
|
|
f61693 |
+SOURCES = $(libcaf_single_la_SOURCES) $(libgfortran_la_SOURCES) \
|
|
|
f61693 |
+ $(libgfortran_nonshared80_la_SOURCES)
|
|
|
f61693 |
am__can_run_installinfo = \
|
|
|
f61693 |
case $$AM_UPDATE_INFO_DIR in \
|
|
|
f61693 |
n|no|NO) false;; \
|
|
|
f61693 |
@@ -729,6 +757,7 @@ LTLDFLAGS = $(shell $(SHELL) $(top_srcdi
|
|
|
f61693 |
$(lt_host_flags)
|
|
|
f61693 |
|
|
|
f61693 |
toolexeclib_LTLIBRARIES = libgfortran.la
|
|
|
f61693 |
+noinst_LTLIBRARIES = libgfortran_nonshared80.la
|
|
|
f61693 |
toolexeclib_DATA = libgfortran.spec
|
|
|
f61693 |
libgfortran_la_LINK = $(LINK) $(libgfortran_la_LDFLAGS)
|
|
|
f61693 |
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
|
|
|
f61693 |
@@ -1558,6 +1587,59 @@ prereq_SRC = $(gfor_src) $(gfor_built_sr
|
|
|
f61693 |
#libgfortran_F.lo:
|
|
|
f61693 |
# $(LTPPFCCOMPILE) -c -o $@ $^ -combine
|
|
|
f61693 |
@onestep_TRUE@libgfortran_la_SOURCES = libgfortran_c.c $(filter-out %.c,$(prereq_SRC))
|
|
|
f61693 |
+nonshared_runtime_C_SRC = \
|
|
|
f61693 |
+nonshared-ISO_Fortran_binding.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_generated_C_SRC = \
|
|
|
f61693 |
+nonshared-findloc0_i1.c \
|
|
|
f61693 |
+nonshared-findloc0_i2.c \
|
|
|
f61693 |
+nonshared-findloc0_i4.c \
|
|
|
f61693 |
+nonshared-findloc0_i8.c \
|
|
|
f61693 |
+nonshared-findloc0_i16.c \
|
|
|
f61693 |
+nonshared-findloc0_r4.c \
|
|
|
f61693 |
+nonshared-findloc0_r8.c \
|
|
|
f61693 |
+nonshared-findloc0_r10.c \
|
|
|
f61693 |
+nonshared-findloc0_r16.c \
|
|
|
f61693 |
+nonshared-findloc0_c4.c \
|
|
|
f61693 |
+nonshared-findloc0_c8.c \
|
|
|
f61693 |
+nonshared-findloc0_c10.c \
|
|
|
f61693 |
+nonshared-findloc0_c16.c \
|
|
|
f61693 |
+nonshared-findloc0_s1.c \
|
|
|
f61693 |
+nonshared-findloc0_s4.c \
|
|
|
f61693 |
+nonshared-findloc1_i1.c \
|
|
|
f61693 |
+nonshared-findloc1_i2.c \
|
|
|
f61693 |
+nonshared-findloc1_i4.c \
|
|
|
f61693 |
+nonshared-findloc1_i8.c \
|
|
|
f61693 |
+nonshared-findloc1_i16.c \
|
|
|
f61693 |
+nonshared-findloc1_r4.c \
|
|
|
f61693 |
+nonshared-findloc1_r8.c \
|
|
|
f61693 |
+nonshared-findloc1_r10.c \
|
|
|
f61693 |
+nonshared-findloc1_r16.c \
|
|
|
f61693 |
+nonshared-findloc1_c4.c \
|
|
|
f61693 |
+nonshared-findloc1_c8.c \
|
|
|
f61693 |
+nonshared-findloc1_c10.c \
|
|
|
f61693 |
+nonshared-findloc1_c16.c \
|
|
|
f61693 |
+nonshared-findloc1_s1.c \
|
|
|
f61693 |
+nonshared-findloc1_s4.c \
|
|
|
f61693 |
+nonshared-findloc2_s1.c \
|
|
|
f61693 |
+nonshared-findloc2_s4.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_intrinsics_C_SRC = \
|
|
|
f61693 |
+nonshared-is_contiguous.c \
|
|
|
f61693 |
+nonshared-trigd.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared_intrinsics_f90_SRC = \
|
|
|
f61693 |
+nonshared-random_init.f90
|
|
|
f61693 |
+
|
|
|
f61693 |
+libgfortran_nonshared80_la_SOURCES = \
|
|
|
f61693 |
+$(nonshared_runtime_C_SRC) \
|
|
|
f61693 |
+$(nonshared_generated_C_SRC) \
|
|
|
f61693 |
+$(nonshared_intrinsics_C_SRC) \
|
|
|
f61693 |
+$(nonshared_intrinsics_f90_SRC) \
|
|
|
f61693 |
+$(srcdir)/ieee/nonshared-ieee_arithmetic.c \
|
|
|
f61693 |
+$(srcdir)/io/nonshared-transfer.c \
|
|
|
f61693 |
+$(srcdir)/runtime/nonshared-error.c
|
|
|
f61693 |
+
|
|
|
f61693 |
I_M4_DEPS = m4/iparm.m4
|
|
|
f61693 |
I_M4_DEPS0 = $(I_M4_DEPS) m4/iforeach.m4
|
|
|
f61693 |
I_M4_DEPS1 = $(I_M4_DEPS) m4/ifunction.m4
|
|
|
f61693 |
@@ -1668,6 +1750,17 @@ clean-cafexeclibLTLIBRARIES:
|
|
|
f61693 |
rm -f $${locs}; \
|
|
|
f61693 |
}
|
|
|
f61693 |
|
|
|
f61693 |
+clean-noinstLTLIBRARIES:
|
|
|
f61693 |
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
|
|
f61693 |
+ @list='$(noinst_LTLIBRARIES)'; \
|
|
|
f61693 |
+ locs=`for p in $$list; do echo $$p; done | \
|
|
|
f61693 |
+ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
|
|
|
f61693 |
+ sort -u`; \
|
|
|
f61693 |
+ test -z "$$locs" || { \
|
|
|
f61693 |
+ echo rm -f $${locs}; \
|
|
|
f61693 |
+ rm -f $${locs}; \
|
|
|
f61693 |
+ }
|
|
|
f61693 |
+
|
|
|
f61693 |
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
|
|
f61693 |
@$(NORMAL_INSTALL)
|
|
|
f61693 |
@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
|
|
|
f61693 |
@@ -1709,6 +1802,9 @@ libcaf_single.la: $(libcaf_single_la_OBJ
|
|
|
f61693 |
libgfortran.la: $(libgfortran_la_OBJECTS) $(libgfortran_la_DEPENDENCIES) $(EXTRA_libgfortran_la_DEPENDENCIES)
|
|
|
f61693 |
$(AM_V_GEN)$(libgfortran_la_LINK) -rpath $(toolexeclibdir) $(libgfortran_la_OBJECTS) $(libgfortran_la_LIBADD) $(LIBS)
|
|
|
f61693 |
|
|
|
f61693 |
+libgfortran_nonshared80.la: $(libgfortran_nonshared80_la_OBJECTS) $(libgfortran_nonshared80_la_DEPENDENCIES) $(EXTRA_libgfortran_nonshared80_la_DEPENDENCIES)
|
|
|
f61693 |
+ $(AM_V_FCLD)$(FCLINK) $(libgfortran_nonshared80_la_OBJECTS) $(libgfortran_nonshared80_la_LIBADD) $(LIBS)
|
|
|
f61693 |
+
|
|
|
f61693 |
mostlyclean-compile:
|
|
|
f61693 |
-rm -f *.$(OBJEXT)
|
|
|
f61693 |
|
|
|
f61693 |
@@ -2125,6 +2221,44 @@ distclean-compile:
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/minval_r8.Plo@am__quote@
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/move_alloc.Plo@am__quote@
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mvbits.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-ISO_Fortran_binding.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-error.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_c10.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_c16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_c4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_c8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_i1.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_i16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_i2.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_i4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_i8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_r10.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_r16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_r4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_r8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_s1.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc0_s4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_c10.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_c16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_c4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_c8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_i1.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_i16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_i2.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_i4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_i8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_r10.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_r16.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_r4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_r8.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_s1.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc1_s4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc2_s1.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-findloc2_s4.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-ieee_arithmetic.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-is_contiguous.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-transfer.Plo@am__quote@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nonshared-trigd.Plo@am__quote@
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/norm2_r10.Plo@am__quote@
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/norm2_r16.Plo@am__quote@
|
|
|
f61693 |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/norm2_r4.Plo@am__quote@
|
|
|
f61693 |
@@ -6679,6 +6813,27 @@ ieee_helper.lo: ieee/ieee_helper.c
|
|
|
f61693 |
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
f61693 |
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ieee_helper.lo `test -f 'ieee/ieee_helper.c' || echo '$(srcdir)/'`ieee/ieee_helper.c
|
|
|
f61693 |
|
|
|
f61693 |
+nonshared-ieee_arithmetic.lo: $(srcdir)/ieee/nonshared-ieee_arithmetic.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nonshared-ieee_arithmetic.lo -MD -MP -MF $(DEPDIR)/nonshared-ieee_arithmetic.Tpo -c -o nonshared-ieee_arithmetic.lo `test -f '$(srcdir)/ieee/nonshared-ieee_arithmetic.c' || echo '$(srcdir)/'`$(srcdir)/ieee/nonshared-ieee_arithmetic.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nonshared-ieee_arithmetic.Tpo $(DEPDIR)/nonshared-ieee_arithmetic.Plo
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/ieee/nonshared-ieee_arithmetic.c' object='nonshared-ieee_arithmetic.lo' libtool=yes @AMDEPBACKSLASH@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
f61693 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nonshared-ieee_arithmetic.lo `test -f '$(srcdir)/ieee/nonshared-ieee_arithmetic.c' || echo '$(srcdir)/'`$(srcdir)/ieee/nonshared-ieee_arithmetic.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared-transfer.lo: $(srcdir)/io/nonshared-transfer.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nonshared-transfer.lo -MD -MP -MF $(DEPDIR)/nonshared-transfer.Tpo -c -o nonshared-transfer.lo `test -f '$(srcdir)/io/nonshared-transfer.c' || echo '$(srcdir)/'`$(srcdir)/io/nonshared-transfer.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nonshared-transfer.Tpo $(DEPDIR)/nonshared-transfer.Plo
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/io/nonshared-transfer.c' object='nonshared-transfer.lo' libtool=yes @AMDEPBACKSLASH@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
f61693 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nonshared-transfer.lo `test -f '$(srcdir)/io/nonshared-transfer.c' || echo '$(srcdir)/'`$(srcdir)/io/nonshared-transfer.c
|
|
|
f61693 |
+
|
|
|
f61693 |
+nonshared-error.lo: $(srcdir)/runtime/nonshared-error.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT nonshared-error.lo -MD -MP -MF $(DEPDIR)/nonshared-error.Tpo -c -o nonshared-error.lo `test -f '$(srcdir)/runtime/nonshared-error.c' || echo '$(srcdir)/'`$(srcdir)/runtime/nonshared-error.c
|
|
|
f61693 |
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/nonshared-error.Tpo $(DEPDIR)/nonshared-error.Plo
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$(srcdir)/runtime/nonshared-error.c' object='nonshared-error.lo' libtool=yes @AMDEPBACKSLASH@
|
|
|
f61693 |
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
|
|
f61693 |
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o nonshared-error.lo `test -f '$(srcdir)/runtime/nonshared-error.c' || echo '$(srcdir)/'`$(srcdir)/runtime/nonshared-error.c
|
|
|
f61693 |
+
|
|
|
f61693 |
.f90.o:
|
|
|
f61693 |
$(AM_V_FC)$(FCCOMPILE) -c -o $@ $<
|
|
|
f61693 |
|
|
|
f61693 |
@@ -6873,7 +7028,8 @@ maintainer-clean-generic:
|
|
|
f61693 |
clean: clean-am
|
|
|
f61693 |
|
|
|
f61693 |
clean-am: clean-cafexeclibLTLIBRARIES clean-generic clean-libtool \
|
|
|
f61693 |
- clean-local clean-toolexeclibLTLIBRARIES mostlyclean-am
|
|
|
f61693 |
+ clean-local clean-noinstLTLIBRARIES \
|
|
|
f61693 |
+ clean-toolexeclibLTLIBRARIES mostlyclean-am
|
|
|
f61693 |
|
|
|
f61693 |
distclean: distclean-am
|
|
|
f61693 |
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
|
f61693 |
@@ -6953,14 +7109,15 @@ uninstall-am: uninstall-cafexeclibLTLIBR
|
|
|
f61693 |
.PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \
|
|
|
f61693 |
check-am clean clean-cafexeclibLTLIBRARIES clean-cscope \
|
|
|
f61693 |
clean-generic clean-libtool clean-local \
|
|
|
f61693 |
- clean-toolexeclibLTLIBRARIES cscope cscopelist-am ctags \
|
|
|
f61693 |
- ctags-am distclean distclean-compile distclean-generic \
|
|
|
f61693 |
- distclean-hdr distclean-libtool distclean-local distclean-tags \
|
|
|
f61693 |
- dvi dvi-am html html-am info info-am install install-am \
|
|
|
f61693 |
- install-cafexeclibLTLIBRARIES install-data install-data-am \
|
|
|
f61693 |
- install-dvi install-dvi-am install-exec install-exec-am \
|
|
|
f61693 |
- install-exec-local install-gfor_cHEADERS install-html \
|
|
|
f61693 |
- install-html-am install-info install-info-am install-man \
|
|
|
f61693 |
+ clean-noinstLTLIBRARIES clean-toolexeclibLTLIBRARIES cscope \
|
|
|
f61693 |
+ cscopelist-am ctags ctags-am distclean distclean-compile \
|
|
|
f61693 |
+ distclean-generic distclean-hdr distclean-libtool \
|
|
|
f61693 |
+ distclean-local distclean-tags dvi dvi-am html html-am info \
|
|
|
f61693 |
+ info-am install install-am install-cafexeclibLTLIBRARIES \
|
|
|
f61693 |
+ install-data install-data-am install-dvi install-dvi-am \
|
|
|
f61693 |
+ install-exec install-exec-am install-exec-local \
|
|
|
f61693 |
+ install-gfor_cHEADERS install-html install-html-am \
|
|
|
f61693 |
+ install-info install-info-am install-man \
|
|
|
f61693 |
install-nodist_fincludeHEADERS install-pdf install-pdf-am \
|
|
|
f61693 |
install-ps install-ps-am install-strip install-toolexeclibDATA \
|
|
|
f61693 |
install-toolexeclibLTLIBRARIES installcheck installcheck-am \
|
|
|
f61693 |
@@ -7018,6 +7175,38 @@ ieee_arithmetic.mod: ieee_arithmetic.lo
|
|
|
f61693 |
@onestep_TRUE@libgfortran_c.lo: $(filter %.c,$(prereq_SRC))
|
|
|
f61693 |
@onestep_TRUE@ $(LTCOMPILE) -c -o $@ $^ -combine
|
|
|
f61693 |
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_generated_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/generated/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_generated_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/generated/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_intrinsics_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/intrinsics/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_intrinsics_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/intrinsics/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.lo,$(nonshared_runtime_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/runtime/%.c
|
|
|
f61693 |
+ $(LTCOMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.c,%.o,$(nonshared_runtime_C_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/runtime/%.c
|
|
|
f61693 |
+ $(COMPILE) -c -o $@ $< -DLIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.f90,%.lo,$(nonshared_intrinsics_f90_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.lo: $(srcdir)/intrinsics/%.f90
|
|
|
f61693 |
+ $(LTPPFCCOMPILE) -c -o $@ $< -fallow-leading-underscore
|
|
|
f61693 |
+
|
|
|
f61693 |
+$(patsubst %.f90,%.o,$(nonshared_intrinsics_f90_SRC) $(nonshared)): \
|
|
|
f61693 |
+nonshared-%.o: $(srcdir)/intrinsics/%.f90
|
|
|
f61693 |
+ $(PPFCCOMPILE) -c -o $@ $< -fallow-leading-underscore
|
|
|
f61693 |
+
|
|
|
f61693 |
kinds.h: $(srcdir)/mk-kinds-h.sh
|
|
|
f61693 |
$(SHELL) $(srcdir)/mk-kinds-h.sh '@LIBGOMP_CHECKED_INT_KINDS@' '@LIBGOMP_CHECKED_REAL_KINDS@' '$(FCCOMPILE)' > $@ || rm $@
|
|
|
f61693 |
|
|
|
f61693 |
--- libgfortran/libgfortran.h.jj 2021-04-20 10:33:07.641336060 +0200
|
|
|
f61693 |
+++ libgfortran/libgfortran.h 2021-05-11 20:24:18.939549444 +0200
|
|
|
f61693 |
@@ -195,7 +195,7 @@ extern int __mingw_snprintf (char *, siz
|
|
|
f61693 |
# define internal_proto(x) sym_rename(x, IPREFIX(x))
|
|
|
f61693 |
#endif
|
|
|
f61693 |
|
|
|
f61693 |
-#if defined(HAVE_ATTRIBUTE_VISIBILITY) && defined(HAVE_ATTRIBUTE_ALIAS)
|
|
|
f61693 |
+#if defined(HAVE_ATTRIBUTE_VISIBILITY) && defined(HAVE_ATTRIBUTE_ALIAS) && !defined(LIBGFORTRAN_NONSHARED)
|
|
|
f61693 |
# define export_proto(x) sym_rename(x, PREFIX(x))
|
|
|
f61693 |
# define export_proto_np(x) extern char swallow_semicolon
|
|
|
f61693 |
# define iexport_proto(x) internal_proto(x)
|
|
|
f61693 |
@@ -270,6 +270,10 @@ typedef GFC_UINTEGER_4 gfc_char4_t;
|
|
|
f61693 |
simply equal to the kind parameter itself. */
|
|
|
f61693 |
#define GFC_SIZE_OF_CHAR_KIND(kind) (kind)
|
|
|
f61693 |
|
|
|
f61693 |
+#ifdef LIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+#define big_endian (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
|
|
|
f61693 |
+#endif
|
|
|
f61693 |
+
|
|
|
f61693 |
#define GFOR_POINTER_TO_L1(p, kind) \
|
|
|
f61693 |
((__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ? 1: 0) * (kind - 1) + (GFC_LOGICAL_1 *)(p))
|
|
|
f61693 |
|
|
|
f61693 |
@@ -1774,4 +1778,63 @@ internal_proto(cshift1_16_c16);
|
|
|
f61693 |
#define HAVE_GFC_UINTEGER_1 1
|
|
|
f61693 |
#define HAVE_GFC_UINTEGER_4 1
|
|
|
f61693 |
|
|
|
f61693 |
+#ifdef LIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+#include <stdlib.h>
|
|
|
f61693 |
+#include <string.h>
|
|
|
f61693 |
+#include <errno.h>
|
|
|
f61693 |
+
|
|
|
f61693 |
+#define internal_malloc_size nonshared_internal_malloc_size
|
|
|
f61693 |
+#define xmalloc nonshared_internal_xmalloc
|
|
|
f61693 |
+#define xmallocarray nonshared_internal_xmallocarray
|
|
|
f61693 |
+#define reshape_packed nonshared_reshape_packed
|
|
|
f61693 |
+static inline __attribute__((__always_inline__, __unused__))
|
|
|
f61693 |
+void *
|
|
|
f61693 |
+internal_malloc_size (size_t size)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ void *p;
|
|
|
f61693 |
+
|
|
|
f61693 |
+ if (size == 0)
|
|
|
f61693 |
+ return NULL;
|
|
|
f61693 |
+
|
|
|
f61693 |
+ p = (void *) malloc (size);
|
|
|
f61693 |
+ if (p == NULL)
|
|
|
f61693 |
+ os_error ("Memory allocation failed");
|
|
|
f61693 |
+ return p;
|
|
|
f61693 |
+}
|
|
|
f61693 |
+
|
|
|
f61693 |
+static inline __attribute__((__always_inline__, __unused__))
|
|
|
f61693 |
+void *
|
|
|
f61693 |
+xmalloc (size_t size)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ return internal_malloc_size (size ? size : 1);
|
|
|
f61693 |
+}
|
|
|
f61693 |
+
|
|
|
f61693 |
+static inline __attribute__((__always_inline__, __unused__))
|
|
|
f61693 |
+void *
|
|
|
f61693 |
+xmallocarray (size_t nmemb, size_t size)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ if (!nmemb || !size)
|
|
|
f61693 |
+ size = nmemb = 1;
|
|
|
f61693 |
+ else if (__builtin_expect ((nmemb | size)
|
|
|
f61693 |
+ >= (((size_t) 1) << (__CHAR_BIT__
|
|
|
f61693 |
+ * sizeof (size_t) / 2)), 0)
|
|
|
f61693 |
+ && nmemb > __SIZE_MAX__ / size)
|
|
|
f61693 |
+ {
|
|
|
f61693 |
+ errno = ENOMEM;
|
|
|
f61693 |
+ os_error ("Integer overflow in xmallocarray");
|
|
|
f61693 |
+ }
|
|
|
f61693 |
+
|
|
|
f61693 |
+ return internal_malloc_size (nmemb * size);
|
|
|
f61693 |
+}
|
|
|
f61693 |
+
|
|
|
f61693 |
+static inline __attribute__((__always_inline__, __unused__))
|
|
|
f61693 |
+#include "intrinsics/reshape_packed.c"
|
|
|
f61693 |
+
|
|
|
f61693 |
+struct no_bounds_check { int bounds_check; };
|
|
|
f61693 |
+#define compile_options ((struct no_bounds_check) { .bounds_check = 0 })
|
|
|
f61693 |
+
|
|
|
f61693 |
+#define internal_error(x, y...) runtime_error (y)
|
|
|
f61693 |
+
|
|
|
f61693 |
+#endif
|
|
|
f61693 |
+
|
|
|
f61693 |
#endif /* LIBGFOR_H */
|
|
|
f61693 |
--- libgfortran/runtime/nonshared-error.c.jj 2021-05-11 20:24:18.939549444 +0200
|
|
|
f61693 |
+++ libgfortran/runtime/nonshared-error.c 2021-05-11 20:24:18.939549444 +0200
|
|
|
f61693 |
@@ -0,0 +1,56 @@
|
|
|
f61693 |
+/* Copyright (C) 2020-2021 Free Software Foundation, Inc.
|
|
|
f61693 |
+
|
|
|
f61693 |
+This file is part of the GNU Fortran runtime library (libgfortran).
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is free software; you can redistribute it and/or modify
|
|
|
f61693 |
+it under the terms of the GNU General Public License as published by
|
|
|
f61693 |
+the Free Software Foundation; either version 3, or (at your option)
|
|
|
f61693 |
+any later version.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is distributed in the hope that it will be useful,
|
|
|
f61693 |
+but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
f61693 |
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
f61693 |
+GNU General Public License for more details.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Under Section 7 of GPL version 3, you are granted additional
|
|
|
f61693 |
+permissions described in the GCC Runtime Library Exception, version
|
|
|
f61693 |
+3.1, as published by the Free Software Foundation.
|
|
|
f61693 |
+
|
|
|
f61693 |
+You should have received a copy of the GNU General Public License and
|
|
|
f61693 |
+a copy of the GCC Runtime Library Exception along with this program;
|
|
|
f61693 |
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
|
f61693 |
+<http://www.gnu.org/licenses/>. */
|
|
|
f61693 |
+
|
|
|
f61693 |
+
|
|
|
f61693 |
+#define LIBGFORTRAN_NONSHARED
|
|
|
f61693 |
+#include "libgfortran.h"
|
|
|
f61693 |
+#include "io.h"
|
|
|
f61693 |
+#include "async.h"
|
|
|
f61693 |
+
|
|
|
f61693 |
+#include <string.h>
|
|
|
f61693 |
+#include <stdio.h>
|
|
|
f61693 |
+
|
|
|
f61693 |
+/* Improved version of os_error with a printf style format string and
|
|
|
f61693 |
+ a locus. */
|
|
|
f61693 |
+
|
|
|
f61693 |
+void
|
|
|
f61693 |
+os_error_at (const char *where, const char *message, ...)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ char buf[4096];
|
|
|
f61693 |
+ size_t len = strlen (where);
|
|
|
f61693 |
+ int written;
|
|
|
f61693 |
+ va_list ap;
|
|
|
f61693 |
+
|
|
|
f61693 |
+ if (len >= 2048)
|
|
|
f61693 |
+ os_error ("Unknown error");
|
|
|
f61693 |
+ memcpy (buf, where, len);
|
|
|
f61693 |
+ memcpy (buf + len, ": ", 2);
|
|
|
f61693 |
+ va_start (ap, message);
|
|
|
f61693 |
+ written = vsnprintf (buf + len + 2, 4095 - len - 2, message, ap);
|
|
|
f61693 |
+ va_end (ap);
|
|
|
f61693 |
+ if (written < 0)
|
|
|
f61693 |
+ written = 0;
|
|
|
f61693 |
+ buf[len + 2 + written] = '\0';
|
|
|
f61693 |
+ os_error (buf);
|
|
|
f61693 |
+}
|
|
|
f61693 |
+iexport(os_error_at);
|
|
|
f61693 |
--- libgfortran/io/nonshared-transfer.c.jj 2021-05-11 20:24:18.950549331 +0200
|
|
|
f61693 |
+++ libgfortran/io/nonshared-transfer.c 2021-05-11 20:24:18.950549331 +0200
|
|
|
f61693 |
@@ -0,0 +1,42 @@
|
|
|
f61693 |
+/* Copyright (C) 2002-2021 Free Software Foundation, Inc.
|
|
|
f61693 |
+ Contributed by Andy Vaught
|
|
|
f61693 |
+ Namelist transfer functions contributed by Paul Thomas
|
|
|
f61693 |
+ F2003 I/O support contributed by Jerry DeLisle
|
|
|
f61693 |
+
|
|
|
f61693 |
+This file is part of the GNU Fortran runtime library (libgfortran).
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is free software; you can redistribute it and/or modify
|
|
|
f61693 |
+it under the terms of the GNU General Public License as published by
|
|
|
f61693 |
+the Free Software Foundation; either version 3, or (at your option)
|
|
|
f61693 |
+any later version.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Libgfortran is distributed in the hope that it will be useful,
|
|
|
f61693 |
+but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
f61693 |
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
f61693 |
+GNU General Public License for more details.
|
|
|
f61693 |
+
|
|
|
f61693 |
+Under Section 7 of GPL version 3, you are granted additional
|
|
|
f61693 |
+permissions described in the GCC Runtime Library Exception, version
|
|
|
f61693 |
+3.1, as published by the Free Software Foundation.
|
|
|
f61693 |
+
|
|
|
f61693 |
+You should have received a copy of the GNU General Public License and
|
|
|
f61693 |
+a copy of the GCC Runtime Library Exception along with this program;
|
|
|
f61693 |
+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
|
|
f61693 |
+<http://www.gnu.org/licenses/>. */
|
|
|
f61693 |
+
|
|
|
f61693 |
+
|
|
|
f61693 |
+/* transfer.c -- Top level handling of data transfer statements. */
|
|
|
f61693 |
+
|
|
|
f61693 |
+#include "io.h"
|
|
|
f61693 |
+#include "fbuf.h"
|
|
|
f61693 |
+#include "format.h"
|
|
|
f61693 |
+#include "unix.h"
|
|
|
f61693 |
+#include "async.h"
|
|
|
f61693 |
+#include <string.h>
|
|
|
f61693 |
+#include <errno.h>
|
|
|
f61693 |
+
|
|
|
f61693 |
+void
|
|
|
f61693 |
+st_wait_async (st_parameter_wait *wtp)
|
|
|
f61693 |
+{
|
|
|
f61693 |
+ (void) wtp;
|
|
|
f61693 |
+}
|