--- gcc/config/tm-sun2os4.h 2018/04/24 16:58:21 1.1.1.1 +++ gcc/config/tm-sun2os4.h 2018/04/24 17:00:01 1.1.1.2 @@ -19,6 +19,9 @@ the Free Software Foundation, 675 Mass A #include "tm-sun2.h" +#undef LINK_SPEC +#define LINK_SPEC "%{!e*:-e start} -dc -dp %{g:-Bstatic} %{static:-Bstatic} %{-Bstatic}" + #undef ASM_OUTPUT_DOUBLE #define ASM_OUTPUT_DOUBLE(FILE,VALUE) \ (isinf ((VALUE)) \