This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, This patch virtualizes Sized_relobj::relocate_sections so that a child class can override it. The original method is private and I keep it that way. This has been tested on x86_64 with all tests passed. -Doug 2009-10-24 Doug Kwan <dougkwan@google.com> * object.h (Sized_relobj::View_size, Sized_relobj::Views): Change from private to protected to allow access by child class. (Sized_relobj::do_relocate_sections): New method declaration. (Sized_relobj::relocate_sections): Virtualize. * reloc.cc (Sized_relobj::do_relocate_sections): Rename from Sized_relobj::relocate_sections. Instantiate template explicitly for different target sizes and endianities.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |