summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/libdl/rtl-elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libdl/rtl-elf.c b/cpukit/libdl/rtl-elf.c
index 3b44f8ceca..0389408dd0 100644
--- a/cpukit/libdl/rtl-elf.c
+++ b/cpukit/libdl/rtl-elf.c
@@ -1092,7 +1092,7 @@ rtems_rtl_elf_symbols_load (rtems_rtl_obj* obj,
{
osym = gsym;
string = gstring;
- gstring += slen + 1;
+ gstring += slen;
++gsym;
}
}
@@ -1105,7 +1105,7 @@ rtems_rtl_elf_symbols_load (rtems_rtl_obj* obj,
{
osym = lsym;
string = lstring;
- lstring += slen + 1;
+ lstring += slen;
++lsym;
}
}