This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: spu syntax
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Ben Elliston <bje at au1 dot ibm dot com>, binutils at sourceware dot org
- Date: Fri, 24 Nov 2006 14:57:58 +1030
- Subject: Re: spu syntax
- References: <20061124024027.GB26087@ozlabs.au.ibm.com>
On Fri, Nov 24, 2006 at 01:40:27PM +1100, Ben Elliston wrote:
> .text
> eqv $3,$4,$3
>
> I get:
> xorn.s:2: Error: junk at end of line, first unrecognized character is `,'
* config/tc-spu.c (md_pseudo_table): Add eqv and .eqv.
Index: gas/config/tc-spu.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-spu.c,v
retrieving revision 1.2
diff -u -p -r1.2 tc-spu.c
--- gas/config/tc-spu.c 29 Oct 2006 18:18:34 -0000 1.2
+++ gas/config/tc-spu.c 24 Nov 2006 04:19:58 -0000
@@ -94,6 +94,9 @@ const pseudo_typeS md_pseudo_table[] =
/* Force set to be treated as an instruction. */
{"set", NULL, 0},
{".set", s_set, 0},
+ /* Likewise for eqv. */
+ {"eqv", NULL, 0},
+ {".eqv", s_set, -1},
{"file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
{"loc", dwarf2_directive_loc, 0},
{0,0,0}
--
Alan Modra
IBM OzLabs - Linux Technology Centre