summaryrefslogtreecommitdiff
path: root/gold/dwp.cc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-25 20:50:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-25 20:50:24 +0000
commit160f6c2f4aefb0b8d06483336d26daa27d42bdff (patch)
treee5364e6a7b98d85d93a42fe8355b0b38b79ab48a /gold/dwp.cc
parent659b79837f5a5af91f77816787bf8cb666b1223c (diff)
downloadbinutils-redhat-160f6c2f4aefb0b8d06483336d26daa27d42bdff.tar.gz
Use section_offset_type in remap_str_offset
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type on val.
Diffstat (limited to 'gold/dwp.cc')
-rw-r--r--gold/dwp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/dwp.cc b/gold/dwp.cc
index 445d1afc50..aaee4650e5 100644
--- a/gold/dwp.cc
+++ b/gold/dwp.cc
@@ -159,7 +159,7 @@ class Dwo_file
// Remap a single string offsets from an offset in the input string table
// to an offset in the output string table.
unsigned int
- remap_str_offset(unsigned int val);
+ remap_str_offset(section_offset_type val);
// Add a set of .debug_info and related sections to OUTPUT_FILE.
void
@@ -1321,7 +1321,7 @@ Dwo_file::sized_remap_str_offsets(const unsigned char* contents,
}
unsigned int
-Dwo_file::remap_str_offset(unsigned int val)
+Dwo_file::remap_str_offset(section_offset_type val)
{
Str_offset_map_entry entry;
entry.first = val;