This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD][PATCH] Virtualize Sized_relobj::relocate_sections.
- From: Ian Lance Taylor <iant at google dot com>
- To: Doug Kwan (éæå) <dougkwan at google dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Sun, 25 Oct 2009 08:33:22 -0700
- Subject: Re: [GOLD][PATCH] Virtualize Sized_relobj::relocate_sections.
- References: <498552560910241454w4585e551v351f037a51928897@mail.gmail.com>
"Doug Kwan (éæå)" <dougkwan@google.com> writes:
> 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.
This is OK.
Thanks.
Ian