This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] Skip dynamic relocations
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 26 Mar 2015 15:26:05 +0100
- Subject: Re: [PATCH] Skip dynamic relocations
On Thu, 2015-03-26 at 05:42 -0700, H.J. Lu wrote:
> I assume all those test binaries in elfutils which elflint is run on don't have
> dynamic relocations.
Some do. See the tests/run-elflint-*.sh which do pass --gnu-ld when
necessary.
> Given a binary, how do you know if --gnu-ld should be passed to elflint?
If it reports errors for issues that are listed under known bugs with
GNU ld https://fedorahosted.org/elfutils/wiki/ElflintGNU then you might
want to pass --gnu-ld to make sure it isn't a known issue.
Cheers,
Mark