summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/nds/bsp_specs
blob: f7df0d076f9e44e113bf18cb271a6bdbf1d7879b (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: start.o%s crti.o%s crtbegin.o%s -e _start}}

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

*endfile:
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }