[PATCH] Copy symbol flags when doing an assignment with a ternary operator.

H.J. Lu hjl.tools@gmail.com
Thu Oct 15 12:34:00 GMT 2015


On Thu, Oct 15, 2015 at 5:30 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi Simon,
>
>> ld/ChangeLog
>>         * ld/ldexp.c:   (try_copy_symbol_flags): New. Factored out from..
>>                         (exp_fold_tree_1): Here. Cope with ternary
>> operator
>>                         in assignments. Use new helper.
>
>
> Approved and applied - thanks for the patch!

Do we have a testcase to very it even works as expected?

-- 
H.J.



More information about the Binutils mailing list