Revert "most of the new link script is done"

This reverts commit 6a6520ad3f0ec1754c8c2661aa14a6742fb475e1.

Conflicts:
	link.sh