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: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: Marcin KoÅcielnicki <koriakin at 0x04 dot net>, binutils at sourceware dot org
- Cc: amodra at gmail dot com
- Date: Thu, 16 Jun 2016 15:31:17 +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>
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-