[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistent DWARF dump behavior between readelf and objdump
From: |
Alan Modra |
Subject: |
Re: Inconsistent DWARF dump behavior between readelf and objdump |
Date: |
Mon, 17 Jul 2017 10:14:01 +0930 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sun, Jul 16, 2017 at 06:37:09PM +0200, Joerg Sonnenberger wrote:
> Hello,
> When assembling the following input with the binutils 2.27:
>
> .text
> .cfi_startproc
> .cfi_adjust_cfa_offset 64
> .skip 75040, 0
> .cfi_adjust_cfa_offset 128
> .cfi_endproc
>
> I get the attached object file. readelf --debug-dump=frames gives:
>
> 00000018 00000018 0000001c FDE cie=00000000 pc=00000000..00012520
> DW_CFA_advance_loc4: 75040 to 00012520
> DW_CFA_def_cfa_offset: 192
> ...
>
> and objdump -Wf gives:
>
> 00000018 0000000000000018 0000001c FDE cie=00000000
> pc=0001252000000000..c00f252125200400
> Augmentation data: 00
>
> DW_CFA_nop
> DW_CFA_nop
I could not reproduce anything like this using binutils-2.27 or 2.26
on x86_64-linux.
--
Alan Modra
Australia Development Lab, IBM