aboutsummaryrefslogtreecommitdiff
path: root/gold/dwp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/dwp.cc')
-rw-r--r--gold/dwp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/dwp.cc b/gold/dwp.cc
index 359d4b7..5401e0c 100644
--- a/gold/dwp.cc
+++ b/gold/dwp.cc
@@ -272,7 +272,7 @@ class Sized_relobj_dwo : public Sized_relobj<size, big_endian>
// Get the name of a section.
std::string
- do_section_name(unsigned int shndx)
+ do_section_name(unsigned int shndx) const
{ return this->elf_file_.section_name(shndx); }
// Get the size of a section.