libgcc sparc-rtems config on gcc head
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Thu Nov 3 14:29:00 GMT 2011
Hi Joel,
>> No, I'd like to avoid non-Solaris targets using Solaris config fragments
>> if at all possible. AFAICS there's nothing Solaris-specific in
>> config/sparc/sol2-c[in].S. If so, the simplest solution would be to
>> rename the files to crt[in].S. On RTEMS, the generic crt[in].o rules in
>> Makefile.in would deal with building them, on Solaris I'd have to juggle
>> around the CUSTOM_CRTIN setting so it's only used on Solaris/x86.
>>
> I suspect this would take seconds for you and multiple
> revisions from me to match what you have in your head. :)
>
> Would you mind doing this? I am happy to provide quick
> feedback.
sure, could you give this one a try (untested)? Please note that it's a
git-style patch with renames, so you may have to perform those manually.
Thanks.
Rainer
2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/i386/sol2-ci.S: Rename to ...
* config/i386/crti.S: ... this.
* config/i386/sol2-cn.S: Rename to ...
* config/i386/crtn.S: ... this.
* config/sparc/sol2-ci.S: Rename to ...
* config/sparc/crti.S: ... this.
* config/sparc/sol2-cn.S: Rename to ...
* config/sparc/crtn.S: ... this.
* config/t-sol2 (CUSTOM_CRTIN): Remove.
(crti.o, crtn.o): Remove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcc-crtin.patch
Type: text/x-patch
Size: 2236 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20111103/55c5ec58/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc
mailing list