bfd/s390: Fix DT_PLTRELSZ in presence of R_390_IRELATIVE.
authorMarcin Kościelnicki <koriakin@0x04.net>
Wed, 8 Jun 2016 12:01:31 +0000 (14:01 +0200)
committerMarcin Kościelnicki <koriakin@0x04.net>
Thu, 16 Jun 2016 15:22:14 +0000 (17:22 +0200)
commitf92339b8f316de65add11aeb9cd8ea72630aa556
treea4df302516b2c3c9b237b1ab5eb977f38a4a9a49
parent081b1afe5a8cfa02bf3b3cdefb80c266705c17d1
bfd/s390: Fix DT_PLTRELSZ in presence of R_390_IRELATIVE.

This was broken by 4ade44b727ee77adaa9c22719935d012e253a5e6,
which changed the calculation to use the .rela.plt linker section
instead of its output section - thus skipping .rela.iplt .
Fix the calculations to include it.

bfd/ChangeLog:

* elf32-s390.c (elf_s390_finish_dynamic_sections): Include
.rela.iplt in DT_PLTRELSZ.
* elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise,
for DT_PLTRELSZ and DT_RELASZ as well.
bfd/ChangeLog
bfd/elf32-s390.c
bfd/elf64-s390.c
This page took 0.025149 seconds and 4 git commands to generate.