forked from Imagelibrary/rtems
* bsp_specs: Move -e start from *link to *startfile to avoid warning for undefined entry symbol when linking relocatables with binutils 2.19.
16 lines
327 B
Plaintext
16 lines
327 B
Plaintext
%rename endfile old_endfile
|
|
%rename startfile old_startfile
|
|
%rename link old_link
|
|
|
|
*startfile:
|
|
%{!qrtems: %(old_startfile)} \
|
|
%{!nostdlib: %{qrtems: start.o%s crtinit.o%s -e _start}}
|
|
|
|
*endfile:
|
|
%{!qrtems: %(old_endfile)} \
|
|
%{!nostdlib: %{qrtems: crtfini.o%s}}
|
|
|
|
*link:
|
|
%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
|
|
|