diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-01 21:22:24 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-01 21:22:24 +1100 |
commit | 4ac37d4a9d23f91d92d415e65021086092f9daec (patch) | |
tree | f463eb58cdb18c75cca940341d1b6e7428ec2789 /rld-rap.cpp | |
parent | 710b9d53a27949accbf945bb9367cba36ac29a3b (diff) |
The symbol string is the offset into the symbol table.
Diffstat (limited to 'rld-rap.cpp')
-rw-r--r-- | rld-rap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rld-rap.cpp b/rld-rap.cpp index 17d2bf0..c6f8c47 100644 --- a/rld-rap.cpp +++ b/rld-rap.cpp @@ -529,7 +529,7 @@ namespace rld { if ((sym.binding () == STB_GLOBAL) || (sym.binding () == STB_WEAK)) { - externs.push_back (external (sym_count, + externs.push_back (external (strtab.size () + 2, obj.find (sym.index ()), sym.value (), sym.info ())); |