diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2016-04-29 22:14:51 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2016-04-29 22:17:11 +0300 |
commit | e90da68265f1cf1d029970aa02d3bf8c63e2a6b5 (patch) | |
tree | e209d613a7d6faf654b320d1734f39d48bd6fed9 /libgloss/arc/nsim.specs | |
parent | 82768d9bab0a8f1fa805799f9afbb0379c276da5 (diff) |
Add necessary infrastructure to support "nano" build of newlib.
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.
Diffstat (limited to 'libgloss/arc/nsim.specs')
-rw-r--r-- | libgloss/arc/nsim.specs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libgloss/arc/nsim.specs b/libgloss/arc/nsim.specs index aa77eead7..ec8724cdc 100644 --- a/libgloss/arc/nsim.specs +++ b/libgloss/arc/nsim.specs @@ -1,5 +1,11 @@ -%rename link_gcc_c_sequence nsim_link_gcc_c_sequence +%rename link_gcc_c_sequence nsim_link_gcc_c_sequence + +*nsim_libgloss: +-lnsim + +*nsim_libc: +%{!specs=nano.specsc} %{specs=nano.specsc_nano} *link_gcc_c_sequence: -%(nsim_link_gcc_c_sequence) --start-group %G -lc -lnsim --end-group +%(nsim_link_gcc_c_sequence) --start-group %G %(nsim_libc) %(nsim_libgloss) --end-group |