-
- Downloads
re PR libfortran/22298 (libgfortran init() constructor isn't called if...
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
Showing
- gcc/testsuite/ChangeLog 12 additions, 5 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gfortran.dg/static_linking_1.c 6 additions, 0 deletionsgcc/testsuite/gfortran.dg/static_linking_1.c
- gcc/testsuite/gfortran.dg/static_linking_1.f 11 additions, 0 deletionsgcc/testsuite/gfortran.dg/static_linking_1.f
- gcc/testsuite/lib/target-supports.exp 53 additions, 0 deletionsgcc/testsuite/lib/target-supports.exp
- libgfortran/ChangeLog 12 additions, 2 deletionslibgfortran/ChangeLog
- libgfortran/libgfortran.h 3 additions, 0 deletionslibgfortran/libgfortran.h
- libgfortran/runtime/error.c 7 additions, 0 deletionslibgfortran/runtime/error.c
- libgfortran/runtime/main.c 8 additions, 0 deletionslibgfortran/runtime/main.c
Loading
Please register or sign in to comment