adapt linker-script by https://github.com/olebowle