This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libgcc sparc-rtems config on gcc head


On 11/03/2011 09:29 AM, Rainer Orth wrote:
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.

It worked for sparc-rtems just renaming the files.  The other edits
are for Solaris specific files or just clean up.  As far as rtems is
concerned, the rename is OK.  You judge for Solaris. Commit
when you are ready.

That gets rtems to this issue building libgcc2.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50979

Thanks.
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.



--
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]