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] strip: Deal with ARM data marker symbols pointing to debug sections.
Date: Mon, 24 Jul 2017 10:33:00 -0000	[thread overview]
Message-ID: <20170724103338.GD8002@stream> (raw)
In-Reply-To: <1500632260-29651-1-git-send-email-mark@klomp.org>

On Fri, Jul 21, 2017 at 12:17:40PM +0200, Mark Wielaard wrote:
> ARM data marker symbols "$d" indicate the start of a sequence of data
> items in a section. For data only sections no data marker symbol is
> necessary, but may be put pointing to the start of the section.
> binutils however has a bug which places a data marker symbol somewhere
> inside the section (at least for .debug_frame).
> https://sourceware.org/bugzilla/show_bug.cgi?id=21809
> 
> When strip finds a symbol pointing to a debug section that would be
> put into the .debug file then it will copy over the whole symbol table.
> This isn't necessary because the symbol is redundant.
> 
> Add an ebl hook to recognize data marker symbols with implementations
> for arm and aarch64. Use it in strip to strip such symbols from the
> symbol table if they point to a debug section.

Tested in Fedora rawhide where it fixed an rpm testsuite issue on arm.
Pushed to master.

      reply	other threads:[~2017-07-24 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21 10:17 Mark Wielaard
2017-07-24 10:33 ` 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=20170724103338.GD8002@stream \
    --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).