[rtems commit] generic_or1k: Use the correct bsp_specs file
Joel Sherril
joel at rtems.org
Tue May 26 16:34:57 UTC 2015
Module: rtems
Branch: master
Commit: 5b1a10a01c55a1237b561f82388b5c0fc2699954
Changeset: http://git.rtems.org/rtems/commit/?id=5b1a10a01c55a1237b561f82388b5c0fc2699954
Author: Hesham ALMatary <heshamelmatary at gmail.com>
Date: Mon May 25 12:09:18 2015 -0500
generic_or1k: Use the correct bsp_specs file
---
c/src/lib/libbsp/or1k/generic_or1k/bsp_specs | 10 ++++++----
c/src/lib/libbsp/or1k/generic_or1k/start/start.S | 7 -------
2 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/bsp_specs b/c/src/lib/libbsp/or1k/generic_or1k/bsp_specs
index 0fcd2dc..082653a 100644
--- a/c/src/lib/libbsp/or1k/generic_or1k/bsp_specs
+++ b/c/src/lib/libbsp/or1k/generic_or1k/bsp_specs
@@ -3,9 +3,11 @@
%rename link old_link
*startfile:
-%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems: \
-%{!qrtems_debug: start.o%s} \
-%{qrtems_debug: start_g.o%s}}}
+%{!qrtems: %(old_startfile)} \
+%{!nostdlib: %{qrtems: start.o%s crti.o%s crtbegin.o%s -e _start}}
*link:
-%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start}
+%{!qrtems: %(old_link)} %{qrtems: -dc -dp -N}
+
+*endfile:
+%{!qrtems: *(old_endfiles)} %{qrtems: crtend.o%s crtn.o%s }
diff --git a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
index ae6d41a..d951a55 100644
--- a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
+++ b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
@@ -180,10 +180,3 @@ _end_clear_bss:
unhandled_exception:
l.nop
-
-/* Make C++ compiler happy */
-.section .data
-.global __dso_handle
-.weak __dso_handle
-__dso_handle:
-.long 0
More information about the vc
mailing list