diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-22 13:10:47 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-22 15:12:11 -0500 |
commit | 1450de0d7eeab51a525d6e7f2ce8d005b0428e74 (patch) | |
tree | d81de9ad6d789f75b1f49e25141bfcd94543e7cd /c/src/lib/libbsp/sh/shsim/bsp_specs | |
parent | gensh4: Correct linking for C++ (diff) | |
download | rtems-1450de0d7eeab51a525d6e7f2ce8d005b0428e74.tar.bz2 |
shsim: Correct linking for C++
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/bsp_specs')
-rw-r--r-- | c/src/lib/libbsp/sh/shsim/bsp_specs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/bsp_specs b/c/src/lib/libbsp/sh/shsim/bsp_specs index 34d002b88f..975c0b2b51 100644 --- a/c/src/lib/libbsp/sh/shsim/bsp_specs +++ b/c/src/lib/libbsp/sh/shsim/bsp_specs @@ -4,8 +4,10 @@ *startfile: %{!qrtems: %(old_startfile)} \ -%{!nostdlib: %{qrtems: start.o%s -e _start}} +%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}} *link: -%(old_link) %{qrtems: -dc -dp -N} +%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} +*endfile: +%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} |