summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/sh/simsh4/bsp_specs
blob: 8cf2f894bff12ca42511b8221408d617a549de90 (plain) (tree)
1
2
3
4
5
6
7
8
9




                               


                        
                                                            
                        
                                                                 


                              
                                  



                                           
%rename lib old_lib
%rename endfile old_endfile
%rename startfile old_startfile
%rename link old_link


*lib:
%{!qrtems: %(old_lib)} \
%{!nostdlib: %{qrtems: --start-group -lrtemsbsp -lrtemscpu \
 -lc -lgcc --end-group \
 %{!qnolinkcmds: %{ml: -T linkcmds-le%s} %{!ml: -T linkcmds%s}}}}

*startfile:
%{!qrtems: %(old_startfile)} \
%{!nostdlib: %{qrtems: start.o%s}}

*link:
%(old_link) %{qrtems: -dc -dp -N -e _start}