[GOLD][PATCH] Virtualize Sized_relobj::relocate_sections.

Ian Lance Taylor iant@google.com
Sun Oct 25 15:33:00 GMT 2009


"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



More information about the Binutils mailing list