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