%rename endfile old_endfile %rename startfile old_startfile %rename link old_link *startfile: %{!qrtems: %(old_startfile)} \ %{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s \ -e __rtems_entry_point -u __vectors \ %{!qrtems_debug: motld_start.o%s} \ %{qrtems_debug: motld_start_g.o%s}}} *link: %{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic} *endfile: %{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}