summaryrefslogtreecommitdiffstats
path: root/linkers/rtems-syms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linkers/rtems-syms.cpp')
-rw-r--r--linkers/rtems-syms.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linkers/rtems-syms.cpp b/linkers/rtems-syms.cpp
index c8f54ae..a017ffa 100644
--- a/linkers/rtems-syms.cpp
+++ b/linkers/rtems-syms.cpp
@@ -60,7 +60,7 @@ static const char* c_header[] =
" */",
"",
"extern const unsigned char rtems__rtl_base_globals[];",
- "extern const unsigned int rtems__rtl_base_globals_size;",
+ "extern const unsigned int rtems__rtl_base_globals_size[];",
"",
"void rtems_rtl_base_sym_global_add (const unsigned char* , unsigned int );",
"",
@@ -104,8 +104,8 @@ 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_globals_size);",
+ " rtems_rtl_base_sym_global_add ((const unsigned char*) &rtems__rtl_base_globals[0],",
+ " rtems__rtl_base_globals_size[0]);",
"}",
0
};