powerpc regnames

Tristan Gingold gingold@adacore.com
Fri Oct 19 08:26:00 GMT 2007


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.



More information about the Binutils mailing list