This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd/s390: Fix DT_PLTRELSZ in presence of R_390_IRELATIVE.
- From: Marcin KoÅcielnicki <koriakin at 0x04 dot net>
- To: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>, binutils at sourceware dot org
- Cc: amodra at gmail dot com
- Date: Thu, 16 Jun 2016 17:22:40 +0200
- Subject: Re: [PATCH] bfd/s390: Fix DT_PLTRELSZ in presence of R_390_IRELATIVE.
- Authentication-results: sourceware.org; auth=none
- References: <1465402766-8627-1-git-send-email-koriakin at 0x04 dot net> <5762AA25 dot 4010504 at linux dot vnet dot ibm dot com>
On 16/06/16 15:31, Andreas Krebbel wrote:
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!
Thanks, pushed. Sorry for the extra ping, I didn't see your email before.
-Andreas-