mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-02 20:40:24 +08:00
6f8ee57d09
These specs files are introduced for EM SDP board: * emsdp1.1.specs - EM SDP 1.1, everything in ICCM/DCCM memory * emsdp1.1_ram.specs - EM SDP 1.1, startup code in ICCM memory and everything else in RAM * emsdp1.2.specs - EM SDP 1.2, everything in ICCM/DCCM memory * emsdp1.2_ram.specs - EM SDP 1.2, startup code in ICCM memory and everything else in RAM An example of building an application: $ arc-elf32-gcc -mcpu=em -specs=emsdp1.1_ram.specs main.c -o main Signed-off-by: Vladimir Isaev <vvisaev@gmail.com> Signed-off-by: Yuriy Kolerov <kolerov93@gmail.com>
19 lines
427 B
Plaintext
19 lines
427 B
Plaintext
%rename link emsdp_link
|
|
%rename link_gcc_c_sequence emsdp_link_gcc_c_sequence
|
|
%rename startfile emsdp_startfile
|
|
|
|
*link:
|
|
%(emsdp_link) -T emsdp1.1.ld%s
|
|
|
|
*emsdp_libgloss:
|
|
-luart_8250 -lemsdp_uart
|
|
|
|
*emsdp_libc:
|
|
%{!specs=nano.specs:-lc} %{specs=nano.specs:-lc_nano}
|
|
|
|
*link_gcc_c_sequence:
|
|
%(emsdp_link_gcc_c_sequence) --start-group %G %(emsdp_libc) %(emsdp_libgloss) --end-group
|
|
|
|
*startfile:
|
|
%(emsdp_startfile) arc-main-helper%O%s
|