possible powerpc 40x problem in 2.12

Joel Sherrill joel.sherrill@OARcorp.com
Fri Mar 1 11:04:00 GMT 2002



Daniel Jacobowitz wrote:
> 
> On Fri, Mar 01, 2002 at 11:39:34AM -0600, Joel Sherrill wrote:
> >
> >
> > Alan Modra wrote:
> > >
> > > On Fri, Mar 01, 2002 at 06:11:20AM -0600, Joel Sherrill wrote:
> > > >
> > > > Could you point me to where the gcc cpu cflags are translated into
> > > > gas flags in gcc so I can put together a patch and submit it?  This
> > > > is a new one for me but I am happy to try to fix it. :)
> > >
> > > In this case, gcc/config/rs6000/rs6000.h:ASM_CPU_SPEC
> >
> > Thank you.  It really wasn't that hard to decipher once I knew where
> > to look. :)
> >
> > It currently has
> >
> > %{mcpu=403: -mppc} \
> >
> > and should be changed to
> >
> > %{mcpu=403: -m403} \
> > %{mcpu=405: -m405} \
> >
> > Right?
> >
> > Also gcc does not appear to know anything about the -m74xx set of
> > switches.  Should it?  I know RTEMS uses inline assembly that
> > makes this matter sometimes.
> 
> Yes, it probably should... these changes should wait until 2.12 is
> released, as they add a dependency on the existence of those flags.
> Ugh.

Double ugh.  Since gcc 3.0.4 was just released. 

Are there any other know binutils/gcc synchronization problems?  I think
gcc 3.0.4 was intended to be the end of the gcc 3.0.x releases but 
binutils and gcc 3.0.4 have enough synchronization problems, it might
be worth discussing a 3.0.5 just so the two GNU projects co-exist
nicely. 

> --
> Daniel Jacobowitz                           Carnegie Mellon University
> MontaVista Software                         Debian GNU/Linux Developer

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



More information about the Binutils mailing list