mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
16 lines
399 B
Plaintext
16 lines
399 B
Plaintext
%rename endfile old_endfile
|
|
%rename startfile old_startfile
|
|
%rename link old_link
|
|
|
|
*startfile:
|
|
%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: \
|
|
%{!qrtems_debug: start.o%s crti.o%s crtbegin.o%s} \
|
|
%{qrtems_debug: start_g.o%s crti.o%s crtbegin.o%s}}}
|
|
|
|
*link:
|
|
%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -N -e _start}
|
|
|
|
*endfile:
|
|
%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
|
|
|