forked from Imagelibrary/binutils-gdb
2011-12-17 Cary Coutant <ccoutant@google.com>
* dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Add casts. * resolve.cc (Symbol_table::resolve): Likewise. * i386.cc (Target_i386::do_code_fill): Use char constants for nop arrays. * x86_64.cc (Target_x86_64::do_code_fill): Likewise.
This commit is contained in:
@@ -336,9 +336,9 @@ Symbol_table::resolve(Sized_symbol<size>* to,
|
||||
&& to->name()[0] == '_' && to->name()[1] == 'Z')
|
||||
{
|
||||
Symbol_location fromloc
|
||||
= { object, orig_st_shndx, sym.get_st_value() };
|
||||
= { object, orig_st_shndx, static_cast<off_t>(sym.get_st_value()) };
|
||||
Symbol_location toloc = { to->object(), to->shndx(&to_is_ordinary),
|
||||
to->value() };
|
||||
static_cast<off_t>(to->value()) };
|
||||
this->candidate_odr_violations_[to->name()].insert(fromloc);
|
||||
this->candidate_odr_violations_[to->name()].insert(toloc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user