On 2014-01-29 15:24, Sebastian Huber wrote:
On 2014-01-29 15:11, Gedare Bloom wrote:
This one should be verified (compile) for all BSPs..

The BSPs compile and link (except the V850, here I get a linker error about
incompatible multilibs).

I had a closer look at the v850 linker error. This error has nothing to do with TLS. The problem is that our RTEMS linker command file and GCC use different ABIs. The attached patch fixes the problem. The question is why didn't notice this soneone before?

--
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.
diff --git a/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds b/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
index 1b480d7..331ffca 100644
--- a/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
+++ b/c/src/lib/libbsp/v850/gdbv850sim/startup/linkcmds
@@ -7,9 +7,9 @@ _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
 _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
 
 /* Default linker script, for normal executables */
-OUTPUT_FORMAT("elf32-v850", "elf32-v850",
-	      "elf32-v850")
-OUTPUT_ARCH(v850)
+OUTPUT_FORMAT("elf32-v850-rh850", "elf32-v850-rh850",
+	      "elf32-v850-rh850")
+OUTPUT_ARCH(v850-rh850)
 ENTRY(_start)
 /* GROUP(-lc -lsim -lgcc) */
 SEARCH_DIR(.);
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to