Files
rtems/c/src/lib/libbsp/mips64orion/p4000/bsp_specs
Joel Sherrill f7fa7d76ce Modified bsp_specs per Eric Norum's suggestion to handle -qnolinkcmds
switch which lets the user specify a different linker script.
1997-12-19 14:48:19 +00:00

19 lines
433 B
Plaintext

%rename cpp old_cpp
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link
*cpp:
%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded)
*lib:
%{!qrtems: %(old_lib)} %{qrtems: --start-group -lrtemsall -lc -lgcc --end-group}
*startfile:
%{!qrtems: %(old_startfile)} %{qrtems: idt_csu.o%s}
*link:
%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e start %{!qnolinkcmds: -T linkcmds%s}}