aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/linux/dump_symbols.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
index c2ed724c..eecacd59 100644
--- a/src/common/linux/dump_symbols.cc
+++ b/src/common/linux/dump_symbols.cc
@@ -334,7 +334,7 @@ static bool LoadDwarfCFI(const string &dwarf_filename,
if (got_section)
byte_reader.SetDataBase(got_section->sh_addr);
if (text_section)
- byte_reader.SetTextBase(got_section->sh_addr);
+ byte_reader.SetTextBase(text_section->sh_addr);
dwarf2reader::CallFrameInfo::Reporter dwarf_reporter(dwarf_filename,
section_name);