# HG changeset patch # User Paul Boddie # Date 1540920054 -3600 # Node ID b2241b813d16376a9188d9f32fe403aec234a46c # Parent f9acc9c732f176764387f35589a77b4df1dc4105 Defined code to follow the main function in case it wants to return somewhere. diff -r f9acc9c732f1 -r b2241b813d16 lib/start.S --- a/lib/start.S Tue Oct 30 18:19:38 2018 +0100 +++ b/lib/start.S Tue Oct 30 18:20:54 2018 +0100 @@ -84,5 +84,9 @@ nop la $t9, main - jr $t9 + jalr $t9 nop + +_end: + b _end + nop