[PATCH] [BZ #18410]: Incorrect handling of missing DT_PLTRELSZ
H.J. Lu
hjl.tools@gmail.com
Mon May 18 22:16:00 GMT 2015
On Mon, May 18, 2015 at 1:41 PM, Roland McGrath <roland@hack.frob.com> wrote:
> Can you add a test case?
It is already in glibc. elf/tst-audit10 fails on x86 using binutils with
commit a3747075ae478f27bf3e0643021a85fb6cdad0e3
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue May 12 13:11:48 2015 -0700
Allocate the first .plt entry space only if needed
Commit dd7e64d45b317128f5fe813a8da0b13b4ad046ae may optimize out
i386/x86-64 JUMP_SLOT relocation. If there is no JUMP_SLOT relocation
left, we don't need to the first .plt entry. This patch allocates
space for the first .plt entry only if we also reserve space for a PLT
slot for JUMP_SLOT relocation.
--
H.J.
More information about the Libc-alpha
mailing list