Selecting a ppc architecture inline

Jeff Baker jbaker@qnx.com
Wed Jun 18 15:12:00 GMT 2003


Sorry, I didn't mean to imply that he was objecting.  I was just asking if
there were any objections in general.  If not I'll work on a patch to add
this.

> -----Original Message-----
> From: Daniel Jacobowitz [mailto:drow@mvista.com]
> Sent: June 18, 2003 10:48 AM
> To: Jeff Baker
> Cc: 'Alan Modra'; 'binutils@sources.redhat.com'
> Subject: Re: Selecting a ppc architecture inline
> 
> It sounds like Alan wasn't objecting - just explaining that it won't
> work.  Someone has to write the code to implement it.
> 
> On Wed, Jun 18, 2003 at 10:23:57AM -0400, Jeff Baker wrote:
> > Forgive my ignorance :)
> >
> > What is the objection to having a .set pseudo op for ppc that would
> accept
> > anything you can specify by -m on the command line?
> >
> > >
> > > On Tue, Jun 17, 2003 at 11:02:24AM -0400, Jeff Baker wrote:
> > > > We have some assembly code for powerpc that's mixed generic, ppc403
> and
> > > > booke.  I know for mips you can use .set to specify the ISA in the
> code,
> > > but
> > > > how do I do this for ppc?
> > >
> > > You can't with current gas.  You'd need (at least) to reinsert opcodes
> > > into the hash table.  See tc-ppc.c:md_begin
> > >
> > > --
> > > Alan Modra
> > > IBM OzLabs - Linux Technology Centre
> >
> 
> --
> Daniel Jacobowitz
> MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list