Add ldscript for error cannot link __end__ function