public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Subject: Re: [PATCH] libdwfl: Allow partial relocations also for debug files.
Date: Tue, 29 May 2018 10:12:00 -0000	[thread overview]
Message-ID: <1527588745.12946.5.camel@klomp.org> (raw)
In-Reply-To: <1527423205-15293-1-git-send-email-mark@klomp.org>

On Sun, 2018-05-27 at 14:13 +0200, Mark Wielaard wrote:
> __libdwfl_relocate is called for get_dwarf and get_elf. We allow not all
> relocations to be resolved for Elf files, but required all relocations
> (in the debug sections) to be fully resoled in Dwarf files. This used to
> mostly work out with .o ET_REL files when the main Elf was gotten before
> the Dwarf. But with .dwo files, we (readelf) might open the .o file just
> for the (skeleton) Dwarf. In this case it could happen not all relocations
> in the debug sections could be resolved (.debug_info and .debug_addr might
> contain referenes to undefined symbols). So allow partial relocations
> also for debug files.

Pushed to master.

      reply	other threads:[~2018-05-29 10:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27 12:13 Mark Wielaard
2018-05-29 10:12 ` Mark Wielaard [this message]

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=1527588745.12946.5.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=elfutils-devel@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).