I doubt that this fix is correct. This variable is usually defined in
the GCC libgcc/crtstuff.c file. I guess something is wrong with the GCC
configuration for this target.
On 26/04/15 21:56, Joel Sherril wrote:
Module: rtems
Branch: master
Commit: 3dead51eddcdb734b36c949cbc1e4c2cd21c52d4
Changeset:
http://git.rtems.org/rtems/commit/?id=3dead51eddcdb734b36c949cbc1e4c2cd21c52d4
Author: Hesham ALMatary <heshamelmat...@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
_______________________________________________
vc mailing list
v...@rtems.org
http://lists.rtems.org/mailman/listinfo/vc
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel