mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
Use section_offset_type in remap_str_offset
* dwp.cc (Dwo_file::remap_str_offset): Use section_offset_type on val.
This commit is contained in:
@ -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>
|
2012-10-23 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* testsuite/Makefile.am (TEST_OBJCOPY): New macro.
|
* testsuite/Makefile.am (TEST_OBJCOPY): New macro.
|
||||||
|
@ -159,7 +159,7 @@ class Dwo_file
|
|||||||
// Remap a single string offsets from an offset in the input string table
|
// Remap a single string offsets from an offset in the input string table
|
||||||
// to an offset in the output string table.
|
// to an offset in the output string table.
|
||||||
unsigned int
|
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.
|
// Add a set of .debug_info and related sections to OUTPUT_FILE.
|
||||||
void
|
void
|
||||||
@ -1321,7 +1321,7 @@ Dwo_file::sized_remap_str_offsets(const unsigned char* contents,
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
Dwo_file::remap_str_offset(unsigned int val)
|
Dwo_file::remap_str_offset(section_offset_type val)
|
||||||
{
|
{
|
||||||
Str_offset_map_entry entry;
|
Str_offset_map_entry entry;
|
||||||
entry.first = val;
|
entry.first = val;
|
||||||
|
Reference in New Issue
Block a user