This is the mail archive of the gcc-patches@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: CFT: [build] Move crtstuff support to toplevel libgcc


Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:

>> From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>> Date: Mon, 15 Aug 2011 19:01:39 +0200
>
>> * Unlike any other target, cris has crisv32-*-none and cris-*-none
>>   targets which seem to be aliases for their *-elf counterparts.  Do we
>>   really need to keep those?  While I can inherit e.g. extra_parts from
>>   *-*-elf, there's no such thing for *-*-none.
>
> Feel absolutely free to remove them.  Otherwise fine at a glance.

Ok, will do, perhaps as a followup when I make a final cleanup round
over libgcc/config.host and gcc/config.gcc.

> BTW, folding crti and crtn into the crtstuff rules had too many
> exceptions?  Historically separated from the crtstuff (CRTIN)
> rules, but it seems many targets compiled them the same way.
> I'd guess the patch would have been a bit shorter.  Even more
> boring work! :)

This is exactly what I've done, see libgcc/Makefile.in
(crt[in]$(objext)), protected by CUSTOM_CRTIN to deal with the three
remaining cases that need special treatment.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


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