summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2015-04-26 11:28:08 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-26 12:44:12 -0500
commit3dead51eddcdb734b36c949cbc1e4c2cd21c52d4 (patch)
tree150957ab73cd8b0e7480a57ed58685a2d98f4d1a
parentd83127e9bd39c1a8c7ef51aa4d9034b06a2bd115 (diff)
downloadrtems-3dead51eddcdb734b36c949cbc1e4c2cd21c52d4.tar.bz2
Fix or1k C++ build failure
Closes #2329
-rw-r--r--c/src/lib/libbsp/or1k/generic_or1k/start/start.S7
1 files changed, 7 insertions, 0 deletions
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 d951a552c7..ae6d41acb5 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