[RFA] New CFI directives.
Andreas Jaeger
aj@suse.de
Thu Jun 5 04:53:00 GMT 2003
Daniel Jacobowitz <drow@mvista.com> writes:
> On Wed, Jun 04, 2003 at 10:50:15PM +0200, Michal Ludvig wrote:
>> Hi,
>> this is just a "mechanical" extension of dw2gencfi.c - no new ideas,
>> only some new directives.
>>
>> OK to apply?
>>
>> Michal Ludvig
>
> Did the CFI directives end up documented somewhere?
The existing ones are documented in our manual.
> If not, they really really should be. If so, then the documentation
> should be updated.
And a patch for the testsuite should also get added. I expect Michal
will send a follow-on patch...
Btw. Michal, I think this is worth mentioning in gas/NEWS. Please
prepare a patch for this!
>> 2003-06-04 Michal Ludvig <mludvig@suse.cz>
>>
>> * dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
>> (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
>> (cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
>> (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
>> (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
>> (cfi_add_CFA_restore, cfi_add_CFA_undefined)
>> (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
>> (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
>> (cfi_pseudo_table): New directives .cfi_return_column,
>> .cfi_restore, .cfi_undefined, .cfi_same_value,
>> .cfi_remember_state, .cfi_restore_state, .cfi_nop.
>> (dot_cfi, output_cfi_insn): Handle new directives.
>> * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
>> (cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
>> (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Binutils
mailing list