summaryrefslogtreecommitdiff
path: root/elfcpp
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-09 23:02:34 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-09 23:02:34 +0000
commitb0a95df05d64d1af3bae9104908fffc939d8c45f (patch)
tree7a5551e3c8616c3381ab65e787c588646092c441 /elfcpp
parent97bfc95c45926d6e660c5c506ddda6a69e62e1e0 (diff)
downloadbinutils-redhat-b0a95df05d64d1af3bae9104908fffc939d8c45f.tar.gz
* elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
to Elf_WXword.
Diffstat (limited to 'elfcpp')
-rw-r--r--elfcpp/ChangeLog5
-rw-r--r--elfcpp/elfcpp_file.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 8aeb513caa..ec8143614c 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_size
+ to Elf_WXword.
+
2009-10-09 Mikolaj Zalewski <mikolajz@google.com>
* elf_file.h: (class Elf_strtab): New class.
diff --git a/elfcpp/elfcpp_file.h b/elfcpp/elfcpp_file.h
index 12f0925051..cc61622692 100644
--- a/elfcpp/elfcpp_file.h
+++ b/elfcpp/elfcpp_file.h
@@ -490,7 +490,7 @@ Elf_file<size, big_endian, File>::section_name(unsigned int shndx)
// Get the file offset for the section name string table data.
off_t shstr_off;
- off_t shstr_size;
+ typename Elf_types<size>::Elf_WXword shstr_size;
{
const unsigned int shstrndx = this->shstrndx_;
typename File::View v(file->view(this->section_header_offset(shstrndx),