%rename link old_link
%rename lib libc

*link:
%(old_link) -defsym _TEXT_START_ADDR=0x10000 -z max-page-size=4096 -z common-page-size=4096 --no-omagic

*libgloss:
-lgloss-linux

*lib:
-start-group -lgloss-linux -lxil-linux -lc -lm -end-group

*startfile:
linux-crt0%O%s crtbegin%O%s
