[PATCH][GOLD] Fix just_symbols failure on ARM.

Doug Kwan (關振德) dougkwan@google.com
Fri Nov 11 21:56:00 GMT 2011


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 :-)

-Doug

On Fri, Nov 11, 2011 at 1:41 PM, Ian Lance Taylor <iant@google.com> wrote:
> "Doug Kwan (關振德)" <dougkwan@google.com> writes:
>
>> 2011-11-11  Doug Kwan  <dougkwan@google.com>
>>
>>         * arm.cc (Target_arm::do_make_elf_object): Allow executable also
>>         if --just-symbols is given.
>
> This is OK.
>
> Thanks.
>
> 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.
>
> Ian
>



More information about the Binutils mailing list