summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs
blob: c8762610a361abe3f08a104e34e3dcf6695f6ed9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%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 \
    start.o%s -e _start -u __vectors}}

*endfile:
%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}

*link:
%{!qrtems: %(old_link)} %{qrtems: -dp -Bstatic}