On Thu, Mar 26, 2015 at 5:13 AM, Mark Wielaard <[email protected]> wrote: > On Wed, 2015-03-25 at 09:00 -0700, H.J. Lu wrote: >> Since r_offset in dynamic relocation isn't section relative, we can't >> check it like relocations in relocatable objets. This fixes: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=1205789 > > I don't believe this is a bug in eu-elflint. It is a bug in gnu ld, > which we already work around when --gnu-ld is given. Which is what sets > known_broken in the code you are patching. If set, that will already > skip this test. See https://fedorahosted.org/elfutils/wiki/ElflintGNU >
I assume all those test binaries in elfutils which elflint is run on don't have dynamic relocations. Given a binary, how do you know if --gnu-ld should be passed to elflint? -- H.J.
