diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-08-15 10:52:38 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-08-15 10:52:38 +0000 |
commit | 1b580c732ad14228f5b28897523e61d9d49537fd (patch) | |
tree | 30b21ed6c30bb8f91ccaa9211299966ba7ed0379 /libgloss | |
parent | d1ebeeab58c1e26e59fb9cc4347c7020c038c9e2 (diff) | |
download | newlib-1b580c732ad14228f5b28897523e61d9d49537fd.zip newlib-1b580c732ad14228f5b28897523e61d9d49537fd.tar.gz newlib-1b580c732ad14228f5b28897523e61d9d49537fd.tar.bz2 |
Add missing file from last patch
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/arm/elf-nano.specs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libgloss/arm/elf-nano.specs b/libgloss/arm/elf-nano.specs new file mode 100644 index 0000000..60dc407 --- /dev/null +++ b/libgloss/arm/elf-nano.specs @@ -0,0 +1,18 @@ +%rename link nano_link +%rename link_gcc_c_sequence nano_link_gcc_c_sequence + +*nano_libc: +-lc_nano + +*nano_libgloss: +%{specs=rdimon.specs:-lrdimon_nano} %{specs=nosys.specs:-lnosys} + +*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(-lrdimon -lrdimon_nano) %:replace-outfile(-lstdc++ -lstdc++_nano) %:replace-outfile(-lsupc++ -lsupc++_nano) + +*lib: +%{!shared:%{g*:-lg_nano} %{!p:%{!pg:-lc_nano}}%{p:-lc_p}%{pg:-lc_p}} + |