gold/
authorCary Coutant <ccoutant@google.com>
Tue, 23 Oct 2012 21:34:58 +0000 (21:34 +0000)
committerCary Coutant <ccoutant@google.com>
Tue, 23 Oct 2012 21:34:58 +0000 (21:34 +0000)
commit9fc236f3fd33165d017dee94798ed08db95e87a0
tree3e900dac1a0ab1fc3294dd61788603dab6c39ae0
parenteffe83657d4a26ab1f3132152dae212e54e66a04
gold/
* dwarf_reader.cc (make_elf_reloc_mapper): Check size and endianness
from object, not parameters.
(Dwarf_info_reader::parse): Likewise.
* object.h (Relobj::elfsize, Relobj::is_big_endian): New methods.
(Relobj::do_elfsize, Relobj::do_is_big_endian): New methods.
(Sized_relobj::do_elfsize, Sized_relobj::do_is_big_endian): New
methods.
gold/ChangeLog
gold/dwarf_reader.cc
gold/object.h