[rtems commit] moxiesim/bsp_specs: Add crtbegin/end to fix link issues
Joel Sherrill
joel at rtems.org
Thu Nov 3 15:56:31 UTC 2016
Module: rtems
Branch: master
Commit: c7589640f9ef79a4ae0dc00611de8c32e5034e9f
Changeset: http://git.rtems.org/rtems/commit/?id=c7589640f9ef79a4ae0dc00611de8c32e5034e9f
Author: Joel Sherrill <joel at rtems.org>
Date: Mon Aug 8 11:33:21 2016 -0500
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(-)
diff --git a/c/src/lib/libbsp/moxie/moxiesim/bsp_specs b/c/src/lib/libbsp/moxie/moxiesim/bsp_specs
index 61018c2..0bcb1f9 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}
More information about the vc
mailing list