This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Selecting a ppc architecture inline
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jeff Baker <jbaker at qnx dot com>
- Cc: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 18 Jun 2003 08:01:30 +0930
- Subject: Re: Selecting a ppc architecture inline
- References: <1578FF984ABAD411AFA5000102C4BB5B02CB9067@nimbus>
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