This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Re-merge crtstuff.c from the trans-mem branch
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Richard Henderson <rth at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Nov 2011 13:15:56 +0100
- Subject: Re: Re-merge crtstuff.c from the trans-mem branch
- References: <4ECACD10.3040007@redhat.com> <4ECADB65.4030304@redhat.com>
Richard Henderson <rth@redhat.com> 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