From 812c9d68c395e1292997daec89ae4f3f9155bd0e Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 22 Apr 2014 10:44:20 -0500 Subject: sim68000/bsp_specs: Add crtbegin/end, crt[in] --- c/src/lib/libbsp/m68k/sim68000/bsp_specs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src') 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} -- cgit v1.2.3