%rename link                old_link

*link:
%(old_link) -pie --no-dynamic-linker --spare-dynamic-tags=0 -z text -z nodynamic-undefined-weak --build-id=sha1 --nx-module-name

*startfile:
crti%O%s crtbegin%O%s --require-defined=main

