source: rtems/c/src/lib/libbsp/moxie/moxiesim/bsp_specs @ c7589640

5
Last change on this file since c7589640 was c7589640, checked in by Joel Sherrill <joel@…>, on 08/08/16 at 16:33:21

moxiesim/bsp_specs: Add crtbegin/end to fix link issues

  • Property mode set to 100644
File size: 262 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: start.o%s -e _start crtbegin.o%s}}
8
9*link:
10%(old_link) %{!qrtems: %(old_link)} %{qrtems: crtend.o%s -dc -dp -N}
11
Note: See TracBrowser for help on using the repository browser.