diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-02 03:28:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-02 03:28:52 +0000 |
commit | f7e2ee482013bd5df3e3726305eab7c5ed5ce020 (patch) | |
tree | 769d43a72a997fd42bcebdacc315e1c938c3e5a6 /gold/dynobj.h | |
parent | 6a7eedfedcbe83b936a8be8abc489f0202205c7a (diff) | |
download | gdb-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.h | 5 |
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; |