libdl: Fix size bug in loading symbols.

This was introduced in 74883be5d4.

Updates #3746
This commit is contained in:
Chris Johns
2019-05-14 10:15:51 +10:00
parent 74883be5d4
commit d0f627d894

View File

@@ -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;
}
}