[rtems commit] sim68000/bsp_specs: Add crtbegin/end, crt[in]

Joel Sherrill joel at rtems.org
Tue Apr 22 20:04:23 UTC 2014


Module:    rtems
Branch:    master
Commit:    812c9d68c395e1292997daec89ae4f3f9155bd0e
Changeset: http://git.rtems.org/rtems/commit/?id=812c9d68c395e1292997daec89ae4f3f9155bd0e

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Apr 22 10:44:20 2014 -0500

sim68000/bsp_specs: Add crtbegin/end, crt[in]

---

 c/src/lib/libbsp/m68k/sim68000/bsp_specs |    7 +++++--
 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 97fff6a..5154de8 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}




More information about the vc mailing list