This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] Don't warn when using ld --wrap and code in Thumb-state on ARM
Alan Modra <amodra@gmail.com> writes:
> On Tue, Apr 06, 2010 at 05:07:20PM -0700, Ian Lance Taylor wrote:
>> Alan Modra <amodra@gmail.com> writes:
>>
>> > Hi Ian, I don't suppose you have a testcase for "setting up an
>> > indirection from a symbol to itself" in
>> > http://sourceware.org/ml/binutils/1999-q3/msg00068.html
>> >
>> > I'm wondering if we still need the early exit from
>> > _bfd_elf_merge_symbol.
>>
>> Gee, you're optimistic. No, I don't have a test case.
>
> :-)
>
>> I would be
>> quite surprised if it were anything complicated. It was probably
>> something found by the regular linker testsuite, so you could try
>> simply removing the test to see what happens.
>
> I did, and saw no failures on i586-linux or powerpc-linux, which is
> why I was wondering if the code is needed any more.
It's certainly possible. I'm afraid that I really don't remember.
Sorry.
Ian