[rtems commit] Fix or1k C++ build failure

Joel Sherril joel at rtems.org
Sun Apr 26 17:44:51 UTC 2015


Module:    rtems
Branch:    origin
Commit:    3dead51eddcdb734b36c949cbc1e4c2cd21c52d4
Changeset: http://git.rtems.org/rtems/commit/?id=3dead51eddcdb734b36c949cbc1e4c2cd21c52d4

Author:    Hesham ALMatary <heshamelmatary at gmail.com>
Date:      Sun Apr 26 11:28:08 2015 -0500

Fix or1k C++ build failure

Closes #2329

---

 c/src/lib/libbsp/or1k/generic_or1k/start/start.S | 7 +++++++
 1 file changed, 7 insertions(+)

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 d951a55..ae6d41a 100644
--- a/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
+++ b/c/src/lib/libbsp/or1k/generic_or1k/start/start.S
@@ -180,3 +180,10 @@ _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