summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-04 11:15:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-04 11:15:28 +0100
commita7951f2ca39cafad9a933e904e197bba8381e306 (patch)
tree7fb22c72b3b4af5fd8434163ea415f34f8969a02
parentFix running rtems-test from inside the git clone. (diff)
downloadrtems-tools-a7951f2ca39cafad9a933e904e197bba8381e306.tar.bz2
linkers: Avoid cast
-rw-r--r--linkers/rtems-syms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp
index c8f54ae..97315ac 100644
--- a/linkers/rtems-syms.cpp
+++ b/linkers/rtems-syms.cpp
@@ -104,7 +104,7 @@ static const char* c_trailer[] =
static const char* c_rtl_call_body[] =
{
"{",
- " rtems_rtl_base_sym_global_add ((const unsigned char*) &rtems__rtl_base_globals,",
+ " rtems_rtl_base_sym_global_add (&rtems__rtl_base_globals[0],",
" rtems__rtl_base_globals_size);",
"}",
0