This is the mail archive of the
mailing list for the binutils project.
Re: [PATCH][GOLD] Fix just_symbols failure on ARM.
Thanks. I've checked the code in. I think we can create an object
factory class to build regular and dynamic objects and have the
duplicated code pushed back into the parent Target class. Then the
ARM backend can subclass the object factory to provide wrapped
objects. This will be done if I have time :-)
On Fri, Nov 11, 2011 at 1:41 PM, Ian Lance Taylor <firstname.lastname@example.org> wrote:
> "Doug Kwan (éæå)" <email@example.com> writes:
>> 2011-11-11 ÂDoug Kwan Â<firstname.lastname@example.org>
>> Â Â Â Â * arm.cc (Target_arm::do_make_elf_object): Allow executable also
>> Â Â Â Â if --just-symbols is given.
> This is OK.
> What happened, of course, is that the duplicated code was changed in one
> place but not in the other. ÂExtra bonus points if you can figure out to
> eliminate the code duplication so that this doesn't happen again.