source: rtems/c/src/lib/libbsp/mips/jmr3904/bsp_specs @ 8f10c92

4.104.114.84.95
Last change on this file since 8f10c92 was 8f10c92, checked in by Joel Sherrill <joel.sherrill@…>, on 01/03/03 at 16:45:10

2002-12-08 Greg Menke <gregory.menke@…>

  • bsp_specs: Added crtbegin/crtend and INIT_FINI for C++ support.
  • linkcmds: Added .init, .fini & related sections.
  • Property mode set to 100644
File size: 721 bytes
Line 
1%rename cpp old_cpp
2%rename lib old_lib
3%rename endfile old_endfile
4%rename startfile old_startfile
5%rename link old_link
6
7*cpp:
8%(old_cpp) %{qrtems: -D__embedded__ -D__USE_INIT_FINI__} -Asystem(embedded)
9
10*lib:
11%{!qrtems: %(old_lib)} %{!nostdlibs: %{qrtems: --start-group \
12%{!qrtems_debug: -lrtemsbsp -lrtemscpu} \
13  %{qrtems_debug: -lrtemsbsp_g -lrtemscpu_g} \
14-lc -lgcc --end-group \
15%{!qnolinkcmds: -T linkcmds%s}}}
16
17*startfile:
18%{!qrtems: %(old_startfile)} %{!nostdlibs: %{qrtems: \
19        %{!qrtems_debug: start.o%s} \
20        %{qrtems_debug: start_g.o%s} crti.o%s crtbegin.o%s }}
21
22*link:
23%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
24
25*endfile:
26%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s }
Note: See TracBrowser for help on using the repository browser.