summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/psim/bsp_specs
blob: 7a636bbb0750485dee16d67f6f7eeae7fa3cb393 (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}}

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

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