summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/qemuppc/bsp_specs
blob: 0360c8c771e41ec4d8075878242019c3fcdc49cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
%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}}

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

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