diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-10-25 20:50:24 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-10-25 20:50:24 +0000 |
commit | 598c7410cc48438cda3fdb45f11b7f2702da3097 (patch) | |
tree | ad1d3c7e256ba22517a0642c9a7dd7fd9e2b0b6a /gold | |
parent | 687e43a437fdfba43f276ae6281e35757c2e491f (diff) | |
download | gdb-598c7410cc48438cda3fdb45f11b7f2702da3097.zip gdb-598c7410cc48438cda3fdb45f11b7f2702da3097.tar.gz gdb-598c7410cc48438cda3fdb45f11b7f2702da3097.tar.bz2 |
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')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/dwp.cc | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 2256744..4e52f32 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -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. diff --git a/gold/dwp.cc b/gold/dwp.cc index 445d1af..aaee465 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; |