summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-22 10:44:20 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-04-22 15:12:09 -0500
commit812c9d68c395e1292997daec89ae4f3f9155bd0e (patch)
tree9dab524e847f2ee88cdb25c36fc0f7de83147830
parent2f36f5a5004a455965ef5a4b218d8d5c89e742bb (diff)
downloadrtems-812c9d68c395e1292997daec89ae4f3f9155bd0e.tar.bz2
sim68000/bsp_specs: Add crtbegin/end, crt[in]
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/bsp_specs7
1 files changed, 5 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/bsp_specs b/c/src/lib/libbsp/m68k/sim68000/bsp_specs
index 97fff6a025..5154de8c55 100644
--- a/c/src/lib/libbsp/m68k/sim68000/bsp_specs
+++ b/c/src/lib/libbsp/m68k/sim68000/bsp_specs
@@ -4,7 +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: %(old_link)} %{qrtems: -dc -dp -N}
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+
+*endfile:
+%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s}