source: rtems/c/src/lib/libbsp/powerpc/psim/bsp_specs @ a5de1ef

4.104.114.95
Last change on this file since a5de1ef was 74ee68d, checked in by Till Straumann <strauman@…>, on 01/04/08 at 07:16:03

2008-01-03 Till Straumann <strauman@…>

  • bsp_specs: added crtend.o back to the endfiles. Otherwise, C++ static constructors are not executed because the call to do_global_ctors_aux() is emitted into the .init section by this endfile (yes, the endfile contributes to .init).
  • Property mode set to 100644
File size: 352 bytes
Line 
1%rename endfile old_endfile
2%rename startfile old_startfile
3%rename link old_link
4
5*startfile:
6%{!qrtems: %(old_startfile)} \
7%{!nostdlib: %{qrtems: ecrti%O%s rtems_crti%O%s crtbegin.o%s start.o%s}}
8
9*link:
10%{!qrtems: %(old_link)} %{qrtems: -Qy -dp -Bstatic -e _start -u __vectors}
11
12*endfile:
13%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s ecrtn.o%s}
Note: See TracBrowser for help on using the repository browser.