This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patches for coldfire v4e
On Thu, Apr 14, 2005 at 09:36:59AM +0200, Bernardo Innocenti wrote:
> Daniel Jacobowitz wrote:
> > On Wed, Apr 13, 2005 at 10:10:39AM +0200, Bernardo Innocenti wrote:
> >>
> >>So it seems adding coldfire-linux is the only way
> >>to address this...
> >
> > Why? Adding support (if it isn't already there) for something like
> > --with-arch=coldfire should work just as well.
>
> But how do we change behavior in gcc/config/t-linux
> according to the switch?
You probably don't need to. The newly built compiler will default to
the right architecture; any assembly routines can be keyed off an
appropriate builtin define.
--
Daniel Jacobowitz
CodeSourcery, LLC