From c7589640f9ef79a4ae0dc00611de8c32e5034e9f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 8 Aug 2016 11:33:21 -0500 Subject: moxiesim/bsp_specs: Add crtbegin/end to fix link issues --- c/src/lib/libbsp/moxie/moxiesim/bsp_specs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/moxie') diff --git a/c/src/lib/libbsp/moxie/moxiesim/bsp_specs b/c/src/lib/libbsp/moxie/moxiesim/bsp_specs index 61018c2636..0bcb1f9ac5 100644 --- a/c/src/lib/libbsp/moxie/moxiesim/bsp_specs +++ b/c/src/lib/libbsp/moxie/moxiesim/bsp_specs @@ -4,8 +4,8 @@ *startfile: %{!qrtems: %(old_startfile)} \ -%{!nostdlib: %{qrtems: start.o%s -e _start}} +%{!nostdlib: %{qrtems: start.o%s -e _start crtbegin.o%s}} *link: -%(old_link) %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N} +%(old_link) %{!qrtems: %(old_link)} %{qrtems: crtend.o%s -dc -dp -N} -- cgit v1.2.3