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
Cheers,
Mark