This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]