This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ARC: gas: Generate offset with Default CFA
- From: Vineet Gupta <Vineet dot Gupta1 at synopsys dot com>
- To: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>
- Cc: Cupertino Miranda <Cupertino dot Miranda at synopsys dot com>, "dwarf-discuss at lists dot dwarfstd dot org" <dwarf-discuss at lists dot dwarfstd dot org>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 27 Jun 2016 13:40:48 +0000
- Subject: Re: [PATCH] ARC: gas: Generate offset with Default CFA
- Authentication-results: sourceware.org; auth=none
- References: <1467032706-7684-1-git-send-email-vgupta at synopsys dot com>
On Monday 27 June 2016 06:35 PM, Vineet Gupta wrote:
> This makes the kernel dwarf stack unwinder work again which expects an
> offset with default CFA in the initial instructions.
>
> gas * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
> cfi_add_CFA_def_cfa to generate default CFA with offset
>
> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
> ---
> gas/ChangeLog | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/gas/ChangeLog b/gas/ChangeLog
> index 2a28352f77a6..0033f91865e1 100644
> --- a/gas/ChangeLog
> +++ b/gas/ChangeLog
> @@ -1,3 +1,8 @@
> +2016-06-27 Vineet Gupta <vgupta@synopsys.com>
> +
> + * config//tc-arc.c (tc_arc_frame_initial_instructions): Use
> + cfi_add_CFA_def_cfa to generate default CFA with offset
> +
> 2016-06-27 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
>
> * config/tc-dlx.c: Include bfd/elf32-dlx.h.
Oops - this was clearly vaporware with only changelog - no real code !