summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-29 08:53:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-04-29 09:50:40 +0200
commit0b344f345104b39cb52e1c4660986ff60e8b7abb (patch)
tree52c1852060c3ff982d55a4c735e40cc4986e92aa
parentef2645409d5e6dcc4f9e15dcb44393efaf1b5541 (diff)
downloadrtems-0b344f345104b39cb52e1c4660986ff60e8b7abb.tar.bz2
bsps/m32r: Fix bsp_specs
-rw-r--r--c/src/lib/libbsp/m32r/m32rsim/bsp_specs10
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/m32r/m32rsim/bsp_specs b/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
index e5d5c76bfa..559ebee5e0 100644
--- a/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
+++ b/c/src/lib/libbsp/m32r/m32rsim/bsp_specs
@@ -4,12 +4,10 @@
*startfile:
%{!qrtems: %(old_startfile)} \
-%{!nostdlib: %{qrtems: start.o%s crtinit.o%s -e _start}}
-
-*endfile:
-%{!qrtems: %(old_endfile)} \
-%{!nostdlib: %{qrtems: crtfini.o%s}}
+%{!nostdlib: %{qrtems: start.o%s crtinit.o%s crtbegin.o%s -e _start}}
*link:
-%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+*endfile:
+%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtfini.o%s }