This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]