--- gcc/config/rs6000-mach.h 2018/04/24 17:51:30 1.1 +++ gcc/config/rs6000-mach.h 2018/04/24 18:03:45 1.1.1.2 @@ -29,7 +29,7 @@ the Free Software Foundation, 675 Mass A /* Define different binder options for MACH. */ #undef LINK_SPEC #define LINK_SPEC \ - "-T0x10000000 -D0x20000000 -K -e __start \ + "-T0x10000000 -D0x20000000 -K %{!nostdlib:%{!r*:%{!e*:-e __start}}} \ -bnoso -berrmsg -btextro -bhalt:4 -bnodelcsect" /* MACH doesn't have atexit. */