Use section_offset_type in remap_str_offset
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Oct 2012 20:50:24 +0000 (20:50 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 25 Oct 2012 20:50:24 +0000 (20:50 +0000)
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
on val.

gold/ChangeLog
gold/dwp.cc

index 2256744e027bbb79bc9b06b436d1fe099547fd83..4e52f32402d0ab703b6268fc8617eb05e8947548 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type
+       on val.
+
 2012-10-23  Cary Coutant  <ccoutant@google.com>
 
        * testsuite/Makefile.am (TEST_OBJCOPY): New macro.
index 445d1afc50fc0bb9c2abcd24cea76564d73d397f..aaee4650e52ebf70421fc9e30f9a777547f9e5bb 100644 (file)
@@ -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;
This page took 0.033361 seconds and 4 git commands to generate.