diff options
author | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-06-08 14:01:31 +0200 |
---|---|---|
committer | Marcin KoĆcielnicki <koriakin@0x04.net> | 2016-06-16 17:22:14 +0200 |
commit | f92339b8f316de65add11aeb9cd8ea72630aa556 (patch) | |
tree | a4df302516b2c3c9b237b1ab5eb977f38a4a9a49 /ld | |
parent | 081b1afe5a8cfa02bf3b3cdefb80c266705c17d1 (diff) | |
download | gdb-f92339b8f316de65add11aeb9cd8ea72630aa556.zip gdb-f92339b8f316de65add11aeb9cd8ea72630aa556.tar.gz gdb-f92339b8f316de65add11aeb9cd8ea72630aa556.tar.bz2 |
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.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions