[PATCH] enhance register parsing in .cfi_* handling

Jan Beulich jbeulich@novell.com
Mon Feb 11 15:31:00 GMT 2008


>>> "H.J. Lu" <hjl.tools@gmail.com> 11.02.08 16:11 >>>
>On Mon, Feb 11, 2008 at 10:51:34AM +0000, Jan Beulich wrote:
>> +rax, Reg64|BaseIndex|Acc|Qword, 0, 0, , 0
>
>Can you use
>
>rax, Reg64|BaseIndex|Acc|Qword, 0, 0, -1, 0
>
>and remove special handling of "" in i386-gen.c?

I'd rather not, as this way it's much simple to change the 'invalid'
indicator if need be. Also, the special case handling isn't only about
blank fields, but also about missing trailing ones - if you want that
removed, too, it'd mean adding much more useless stuff to registers
not validly subject of .cfi_* directives.

Jan



More information about the Binutils mailing list