Richard Henderson <[email protected]> writes:
> On 11/21/2011 02:13 PM, Richard Henderson wrote:
>> This was actually a merge error on the branch. When crtstuff.c
>> moved to libgcc/, Aldy failed to copy the changes.
>>
>> I've tidied things even a bit more from the branch, with the
>> introduction of the USE_TM_CLONE_REGISTRY control macro, which
>> is in turn now predicated on ELF.
>>
>> Tested on x86_64-linux. I'm really not sure what non-elf
>> targets really use this file...
>
> It has been pointed out to me that I'm an idiot and sent an empty attachment.
> So lets try this again...
This patch broke bootstrap on Solaris 8 and 9/x86 with Sun as which
doesn't support .hidden: linking the stage2 lto-plugin fails like this:
ld: fatal: relocation error: R_386_GOTOFF: file
/var/gcc/regression/trunk/8-gcc/build/./prev-gcc/crtbegin.o: symbol
__TMC_END__: relocation must bind locally
collect2: error: ld returned 1 exit status
make[4]: *** [liblto_plugin.la] Error 1
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University