mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
e90da68265
ARC aproach to this feature is similiar to ARM's one here. 2016-04-29 Anton Kolesov <anton.kolesov@synopsys.com> * arc/nano.specs: New file. * arc/Makefile.in: Support nano.specs. * arc/nsim.specs: Likewise.
19 lines
539 B
Plaintext
19 lines
539 B
Plaintext
%rename link nano_link
|
|
%rename link_gcc_c_sequence nano_link_gcc_c_sequence
|
|
|
|
*nano_libc:
|
|
-lc_nano
|
|
|
|
*nano_libgloss:
|
|
%{specs=nsim.specsnsim} %{specs=nosys.specsnosys}
|
|
|
|
*link_gcc_c_sequence:
|
|
%(nano_link_gcc_c_sequence) --start-group %G %(nano_libc) %(nano_libgloss) --end-group
|
|
|
|
*link:
|
|
%(nano_link) %:replace-outfile(-lc -lc_nano) %:replace-outfile(-lg -lg_nano) %:replace-outfile(-lstdc++ -lstdc++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano)
|
|
|
|
*lib:
|
|
%{!shared:%{g*g_nano} %{!p:%{!pgc_nano}}%{pc_p}%{pgc_p}}
|
|
|