This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] readelf: DW_OP_call_ref and DW_OP_GNU_implicit_pointer are invalid for CFA.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 11 Dec 2014 15:17:05 +0100
- Subject: Re: [PATCH] readelf: DW_OP_call_ref and DW_OP_GNU_implicit_pointer are invalid for CFA.
On Sun, 2014-12-07 at 23:46 +0100, Mark Wielaard wrote:
> print_cfa_program might call print_ops with zero offset size. We don't
> need (and don't know) the DWARF offset size in that case. DW_OP_call_ref
> and DW_OP_GNU_implicit_pointer need to know the offset size because they
> reference a DIE. But they are invalid when used from CFA.
>
> +2014-12-07 Mark Wielaard <mjw@redhat.com>
> +
> + * readelf.c (print_ops): Handle zero ref_size for DW_OP_call_ref
> + and DW_OP_GNU_implicit_pointer.
I pushed this to master.