summaryrefslogtreecommitdiff
path: root/rld-files.cpp
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-07-18 11:05:02 +0800
committerPeng Fan <van.freenix@gmail.com>2013-07-21 11:32:06 +0800
commita2b1d16bd059010bb92e9164e693cb97c61dcc01 (patch)
tree2ce97fb396409c98a02a7b91a076dc48a24e5506 /rld-files.cpp
parent6c66d9a847afb8b7ae4d27d8d97558ff0f352af3 (diff)
Add support for relocations which reference local symbols
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Diffstat (limited to 'rld-files.cpp')
-rw-r--r--rld-files.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/rld-files.cpp b/rld-files.cpp
index 9887e48..45a10bd 100644
--- a/rld-files.cpp
+++ b/rld-files.cpp
@@ -910,7 +910,8 @@ namespace rld
symname (er.symbol ().name ()),
symtype (er.symbol ().type ()),
symsect (er.symbol ().section_index ()),
- symvalue (er.symbol ().value ())
+ symvalue (er.symbol ().value ()),
+ symbinding (er.symbol ().binding ())
{
}