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

*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} %{ml:-EL}%{mb:-EB}

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