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 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
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 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
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: Add prototypes for C99 complex functions. 2005-09-25 21:39:58 +00:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
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 re PR libfortran/19308 (I/O library should support more real and integer kinds) 2005-10-03 07:22:20 +00:00
mk-sik-inc.sh
mk-srk-inc.sh