[PATCH] bfd/s390: Fix DT_PLTRELSZ in presence of R_390_IRELATIVE.
Andreas Krebbel
krebbel@linux.vnet.ibm.com
Thu Jun 16 13:31:00 GMT 2016
On 06/08/2016 06:19 PM, Marcin KoÅcielnicki wrote:
> 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.
> ---
> OK to push?
Ok. Thanks!
-Andreas-
More information about the Binutils
mailing list