--- gcc/config/sun3.h 2018/04/24 17:54:39 1.1.1.2 +++ gcc/config/sun3.h 2018/04/24 17:59:38 1.1.1.3 @@ -147,7 +147,8 @@ the Free Software Foundation, 675 Mass A /* Provide required defaults for linker -e and -d switches. */ -#define LINK_SPEC "%{!e*:-e start} -dc -dp %{static:-Bstatic} %{assert*}" +#define LINK_SPEC \ + "%{!nostdlib:%{!e*:-e start}} -dc -dp %{static:-Bstatic} %{assert*}" /* Every structure or union's size must be a multiple of 2 bytes. */