diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-22 13:07:56 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-22 15:12:11 -0500 |
commit | 851e64321b3b704f106556d5d34eb6e2d31fe504 (patch) | |
tree | f9762bbd128bc3fc592db91f21e2670171733e85 /c/src/lib/libbsp/sh/gensh2/bsp_specs | |
parent | gensh1: Correct linking for C++ (diff) | |
download | rtems-851e64321b3b704f106556d5d34eb6e2d31fe504.tar.bz2 |
gensh2: Correct linking for C++
Diffstat (limited to 'c/src/lib/libbsp/sh/gensh2/bsp_specs')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh2/bsp_specs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/sh/gensh2/bsp_specs b/c/src/lib/libbsp/sh/gensh2/bsp_specs index 34d002b88f..975c0b2b51 100644 --- a/c/src/lib/libbsp/sh/gensh2/bsp_specs +++ b/c/src/lib/libbsp/sh/gensh2/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} |