This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]