From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 684EF38708F3; Mon, 7 Sep 2020 08:01:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 684EF38708F3 From: "jan.kratochvil at redhat dot com" To: dwz@sourceware.org Subject: [Bug default/24251] Allocatable section after non-allocatable ones Date: Mon, 07 Sep 2020 08:01:09 +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: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: REOPENED 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: 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-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 08:01:09 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24251 --- Comment #12 from Jan Kratochvil --- (In reply to Mark Wielaard from comment #11) > Section Headers: > [Nr] Name Type Addr Off Size = ES > Flags Lk Inf Al > [25] .interp PROGBITS 0000000000400fe4 00000fe4 0000001c= 0 > A 0 0 1 > [26] .note.gnu.build-id NOTE 0000000000400fc0 00000fc0 00000024= 0 > A 0 0 4 > [27] .note.go.buildid NOTE 0000000000400f5c 00000f5c 00000064= 0 > A 0 0 4 >=20 > In particular .intrp (25), .note.gnu.build-id (26) and .note.go.buildid (= 27) > have offsets that place them at the start of the file instead of at the e= nd. .note.gnu.build-id (or rather NT_GNU_BUILD_ID) must be in the first page (f= or Linux kernel core files) so rather the possible bug is numbering of the section, not their offset in file. But then I do not see in ELF specification the offset or address would be required in nondecreasing order so I find it only as a bug in DWZ. --=20 You are receiving this mail because: You are on the CC list for the bug.=