From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98423 invoked by alias); 20 Feb 2019 09:56:05 -0000 Mailing-List: contact dwz-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: dwz-owner@sourceware.org Received: (qmail 98268 invoked by uid 48); 20 Feb 2019 09:56:02 -0000 From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/24249] Section offsets not monotonically increasing Date: Tue, 01 Jan 2019 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2019-q1/txt/msg00029.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24249 --- Comment #3 from Tom de Vries --- Created attachment 11629 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D11629&action=3Ded= it dwz-0.12-ignore-nobits.patch Using this ( https://build.opensuse.org/package/view_file/openSUSE:Factory/dwz/dwz-0.12-= ignore-nobits.patch ) patch, we get: ... $ gcc hello.c -g -fuse-ld=3Dgold -Wl,--gdb-index $ dwz a.out=20 $ readelf -S a.out | grep '[[]' | egrep -C1 'Offset|\.gdb_index' [Nr] Name Type Address Offset [ 0] NULL 0000000000000000 00000000 -- [31] .debug_str PROGBITS 0000000000000000 00001a11 [32] .gdb_index PROGBITS 0000000000000000 00003390 [33] .debug_ranges PROGBITS 0000000000000000 000020d0 ... So, the patch allows dwz to handle the input. Note that the section offsets= in the dwz output are still not monotonically increasing. --=20 You are receiving this mail because: You are on the CC list for the bug.