On Mon, 2014-05-19 at 00:43 +0200, Mark Wielaard wrote:
And on armv7hl with one FAIL.
We added elflint checks against .o ET_REL files which produce on arm:
section [ 8] '.rel.ARM.exidx': invalid destination section type
On RHEL5 ia64 elflint also failed with two issues:
section  '.rela.IA_64.unwind': invalid destination section type
Again in an ET_REL file, so it looks like the armv7hl failure above.
They were indeed related. Both architectures add a special section type
which is the target of a relocation. elflint didn't know about the
special section type. The attached patch fixes it by introducing a new
ebl hook with implementations for arm and ia64 that elflint then calls.
section [ 2] '.dynsym': symbol 1: symbol in dynamic symbol
This looks like a real bug caused by a really ancient binutils.
The .dynsym contains symbols with STV_HIDDEN. Which really is just
wrong. I don't want to add a workaround for this one.
I'll merge the attached patch and do a release tomorrow.