diff options
author | Chris Johns <chrisj@rtems.org> | 2012-12-13 10:07:32 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2012-12-13 10:07:32 +1100 |
commit | f4d580bc73fff6d1aede6ac47e1339bb2c33d8e0 (patch) | |
tree | a90b767659a0a1daedbdcec4a4ad3128561e06da /linkers/rld-rap.cpp | |
parent | 42f766f0ca91ac4e24ab502ff4c491699635f3e5 (diff) |
Add the section offset to the symbol value.
Diffstat (limited to 'linkers/rld-rap.cpp')
-rw-r--r-- | linkers/rld-rap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linkers/rld-rap.cpp b/linkers/rld-rap.cpp index c786db9..17cd236 100644 --- a/linkers/rld-rap.cpp +++ b/linkers/rld-rap.cpp @@ -803,7 +803,7 @@ namespace rld */ externs.push_back (external (strtab.size () + 2, rap_sec, - sec.osecs[symsec] + sym.value (), + sec.offset + sec.osecs[symsec] + sym.value (), sym.info ())); symtab_size += external::rap_size; |