I just checked in a patch which fixes a problem with the relative relocation handling. I don't think anyone ever hit it, otherwise it would have been noticed. ld.so skipped over the number of relocations indicated in DT_RELCOUNT etc even for sections other than DT_REL/DT_RELA.