This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] New CFI directives.
- From: Andreas Jaeger <aj at suse dot de>
- To: Michal Ludvig <mludvig at suse dot cz>
- Cc: binutils at sources dot redhat dot com, rth at redhat dot com
- Date: Thu, 05 Jun 2003 06:53:04 +0200
- Subject: Re: [RFA] New CFI directives.
- References: <3EDE5B87.1000607@suse.cz> <20030605014133.GA1065@nevyn.them.org>
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