Don't issue an error if DT_PLTRELSZ is missing
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 23 May 2015 00:46:42 +0000 (17:46 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 23 May 2015 00:46:58 +0000 (17:46 -0700)
commit3e058c9d7eab6d6361e7cda5ba1394bc1757c9f6
treeffd69b17e48ef749addd0e418b26c65ff84012f2
parent333e1ba4e53456a603621274177ae9393b9d5385
Don't issue an error if DT_PLTRELSZ is missing

A shared object doesn't need PLT if there are no PLT relocations.  It
shouldn't be an error if DT_PLTRELSZ is missing.

[BZ #18410]
* elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
for missing DT_PLTRELSZ.
ChangeLog
NEWS
elf/dl-reloc.c