[Bug default/24251] Allocatable section after non-allocatable ones

jan.kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Mon Sep 7 08:01:09 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=24251

--- Comment #12 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
(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
> 
> 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 end.

.note.gnu.build-id (or rather NT_GNU_BUILD_ID) must be in the first page (for
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Dwz mailing list