This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
powerpc regnames
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils at sourceware dot org
- Date: Fri, 19 Oct 2007 09:30:53 +0200
- Subject: powerpc regnames
Hi,
when eabispe is used, gcc (head and for a long time) generates
register names such as in:
cror 4*%cr7+gt,4*%cr6+gt,4*%cr7+gt
Unfortunately, gas (head and for a long time) doesn't like these
register names:
$ ../as-new -mspe -mregnames t.s
t.s: Assembler messages:
t.s:2: Error: bad expression
t.s:2: Error: syntax error; found `c' but expected `,'
t.s:2: Error: junk at end of line: `cr7+gt,4*%cr7+gt,4*%cr6+gt'
The question is: who is right ?
I suppose gcc is correct and gas has to be fixed. I anyone confirm I
will work on a patch.
Tristan.