public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: dwz@sourceware.org
Subject: [Bug default/24251] Allocatable section after non-allocatable ones
Date: Mon, 07 Sep 2020 08:01:09 +0000	[thread overview]
Message-ID: <bug-24251-11298-Ku0PxKx2i6@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-24251-11298@http.sourceware.org/bugzilla/>

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.

  parent reply	other threads:[~2020-09-07  8:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01  0:00 [Bug default/24251] New: " vries at gcc dot gnu.org
2019-01-01  0:00 ` [Bug default/24251] " vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2019-01-01  0:00 ` vries at gcc dot gnu.org
2020-09-06 19:28 ` jan.kratochvil at redhat dot com
2020-09-07  7:53 ` mark at klomp dot org
2020-09-07  8:01 ` jan.kratochvil at redhat dot com [this message]
2020-09-08 13:27 ` vries at gcc dot gnu.org
2020-09-17 15:51 ` mark at klomp dot org
2020-09-24 22:18 ` mark at klomp dot org
2020-09-25  7:56 ` jan.kratochvil at redhat dot com
2020-09-25  8:03 ` jakub at redhat dot com
2020-09-25  9:44 ` mark at klomp dot org
2020-09-25  9:52 ` jan.kratochvil at redhat dot com
2020-09-25 18:49 ` mark at klomp dot org
2021-02-13 23:05 ` mark at klomp dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-24251-11298-Ku0PxKx2i6@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=dwz@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).