Expand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL value
authorkurt <kurt@openbsd.org>
Wed, 24 Dec 2014 14:04:09 +0000 (14:04 +0000)
committerkurt <kurt@openbsd.org>
Wed, 24 Dec 2014 14:04:09 +0000 (14:04 +0000)
commitcea7389ce7367bb3a39faf9c6a6e335edda4fe0f
treeee521535a777c6b6a5d3c45744639d29596efd73
parent9018bc0cc86809cc94b02ab7d24af0e530c5c66e
Expand Elf_Rel relocations to include DT_JMPREL. Inspect DT_PLTREL value
to determine if DT_JMPREL relocations are REL or RELA and conditionally
perform DT_JMPREL in either REL or RELA as needed (idea from kettenis@).
Remove unneeded i386 RELA implementation. i386 static pie working now.

okay kettenis@
lib/csu/boot.h
libexec/ld.so/i386/archdep.h