[PATCH][GOLD] Handle target specific relocatable relocation.

Ian Lance Taylor iant@google.com
Tue May 25 04:33:00 GMT 2010


"Doug Kwan (關振德)" <dougkwan@google.com> writes:

> For reasons I do not understand, the hooks in Sized_target do not
> follow the normal convention in gold for virtual functions involving a
> public interface foo() and a protected implementation do_foo().

I haven't looked at your patch yet, but the reason for this is that
the Sized_target class is, by design, entirely abstract.  All the
methods are virtual and they are all either pure or crash.  There was
no need to separate the interface presented to others from the
interface supplied by the child class: Sized_target only has a child
class interface.

Ian



More information about the Binutils mailing list