Crash is likely because gcc has become more strict in recent version. To fix it I had to add the -no-pie flag and move mult10 to the text section.