aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/dynobj.h')
-rw-r--r--gold/dynobj.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/dynobj.h b/gold/dynobj.h
index a3d733d..aea004d 100644
--- a/gold/dynobj.h
+++ b/gold/dynobj.h
@@ -148,6 +148,11 @@ class Sized_dynobj : public Dynobj
do_section_flags(unsigned int shndx)
{ return this->elf_file_.section_flags(shndx); }
+ // Return the section link field.
+ unsigned int
+ do_section_link(unsigned int shndx)
+ { return this->elf_file_.section_link(shndx); }
+
private:
// For convenience.
typedef Sized_dynobj<size, big_endian> This;