From f7e2ee482013bd5df3e3726305eab7c5ed5ce020 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 2 Nov 2007 03:28:52 +0000 Subject: Reworked from Andrew Chatham: report error locations. --- gold/dynobj.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gold/dynobj.h') 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 This; -- cgit v1.1