aboutsummaryrefslogtreecommitdiff
path: root/gold/dynobj.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-02 03:28:52 +0000
committerIan Lance Taylor <iant@google.com>2007-11-02 03:28:52 +0000
commitf7e2ee482013bd5df3e3726305eab7c5ed5ce020 (patch)
tree769d43a72a997fd42bcebdacc315e1c938c3e5a6 /gold/dynobj.h
parent6a7eedfedcbe83b936a8be8abc489f0202205c7a (diff)
downloadgdb-f7e2ee482013bd5df3e3726305eab7c5ed5ce020.zip
gdb-f7e2ee482013bd5df3e3726305eab7c5ed5ce020.tar.gz
gdb-f7e2ee482013bd5df3e3726305eab7c5ed5ce020.tar.bz2
Reworked from Andrew Chatham: report error locations.
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;