diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:16:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-09 23:16:54 +0000 |
commit | 4c50553d987166e6f2ee3aa56e286dc4b9e82cbc (patch) | |
tree | 4ec409579560bd2dc46f427a9117021dea635cba /gold/dynobj.h | |
parent | bbce853ae5fde8774ee9f8031d3a7570ad5d3b15 (diff) | |
download | fsf-binutils-gdb-4c50553d987166e6f2ee3aa56e286dc4b9e82cbc.zip fsf-binutils-gdb-4c50553d987166e6f2ee3aa56e286dc4b9e82cbc.tar.gz fsf-binutils-gdb-4c50553d987166e6f2ee3aa56e286dc4b9e82cbc.tar.bz2 |
From Craig Silverstein: Use relocations in reporting error message
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 7895dda..eb6eb5c 100644 --- a/gold/dynobj.h +++ b/gold/dynobj.h @@ -156,6 +156,11 @@ class Sized_dynobj : public Dynobj do_section_link(unsigned int shndx) { return this->elf_file_.section_link(shndx); } + // Return the section link field. + unsigned int + do_section_info(unsigned int shndx) + { return this->elf_file_.section_info(shndx); } + private: // For convenience. typedef Sized_dynobj<size, big_endian> This; |