https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129224
Drea Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
This is expected. This is calling out to __main to call the global
initializers if any since the target pdp11-dec-aout does support for the init
sections.
Since you are using `-nostdlib`, you need to supply your own __main function.