From 8c18adde1ae91433f1ce8e74a3a3f021ebfc1b14 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 22 Apr 2014 09:45:55 -0500 Subject: h8sim/bsp_specs: Add crtbegin/end, crt[in] --- c/src/lib/libbsp/h8300/h8sim/bsp_specs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/h8300/h8sim/bsp_specs b/c/src/lib/libbsp/h8300/h8sim/bsp_specs index 61018c2636..b243ab6613 100644 --- a/c/src/lib/libbsp/h8300/h8sim/bsp_specs +++ b/c/src/lib/libbsp/h8300/h8sim/bsp_specs @@ -4,8 +4,11 @@ *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} +*endfile: +%{!qrtems: %(old_endfile)} %{qrtems: crtend.o%s crtn.o%s} + -- cgit v1.2.3