gcc/libgfortran
François-Xavier Coudert f2ae4b2bd0 re PR libfortran/22298 (libgfortran init() constructor isn't called if executable is statically linked)
PR libfortran/22298

	* runtime/main.c (stupid_function_name_for_static_linking): New
	function.
	* runtime/error.c (internal_error): Call
	stupid_function_name_for_static_linking.
	* libgfortran.h: Add prototype for
	stupid_function_name_for_static_linking.

	* gcc/testsuite/lib/target-supports.exp
	(check_effective_target_static_libgfortran): New
	static_libgfortran effective target.
	* gcc/testsuite/gfortran.dg/static_linking_1.f: New test.
	* gcc/testsuite/gfortran.dg/static_linking_1.c: New file.

From-SVN: r106484
2005-11-04 08:44:29 +00:00
..
config acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
generated
intrinsics re PR fortran/21565 (namelist in block data is illegal) 2005-11-01 05:53:29 +00:00
io re PR libfortran/24584 (Segfault when reading empty string in namelist file) 2005-10-31 01:00:20 +00:00
m4
runtime re PR libfortran/22298 (libgfortran init() constructor isn't called if executable is statically linked) 2005-11-04 08:44:29 +00:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
aclocal.m4
c99_protos.h
ChangeLog re PR libfortran/22298 (libgfortran init() constructor isn't called if executable is statically linked) 2005-11-04 08:44:29 +00:00
config.h.in check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure.ac check.c (gfc_check_alarm_sub, [...]): New functions. 2005-10-28 21:16:17 +00:00
configure.host acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c
libgfortran.h re PR libfortran/22298 (libgfortran init() constructor isn't called if executable is statically linked) 2005-11-04 08:44:29 +00:00
libtool-version
Makefile.am check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
Makefile.in check.c (gfc_check_malloc, [...]): New functions. 2005-10-30 12:17:48 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh