Reworked from Andrew Chatham: report error locations.

This commit is contained in:
Ian Lance Taylor
2007-11-02 03:28:52 +00:00
parent 6a7eedfedc
commit f7e2ee4820
4 changed files with 131 additions and 11 deletions

View File

@@ -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;