aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-s390.c
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2016-06-03 16:39:15 +0200
committerMarcin Koƛcielnicki <koriakin@0x04.net>2016-06-07 18:14:15 +0200
commit3b67f09464f771466473e64d44aa258f832d8b2d (patch)
tree49e8354a9ddacabb7aa69924e817d5520aae54eb /bfd/elf32-s390.c
parent1aec0b6ad6eae1fa97bb1a4a47959ff204aa15a2 (diff)
downloadgdb-3b67f09464f771466473e64d44aa258f832d8b2d.zip
gdb-3b67f09464f771466473e64d44aa258f832d8b2d.tar.gz
gdb-3b67f09464f771466473e64d44aa258f832d8b2d.tar.bz2
bfd/s390: Misc minor fixes.
The only non-comment fix here is in the code writing out the 3 fixed .got.plt entries - it mistakenly put a 64-bit 0 at offsets 8 and 12 instead of 8 and 16. bfd/ChangeLog: * elf32-s390.c (elf_s390_finish_dynamic_symbol): Fix comment. * elf64-s390.c (elf_s390x_plt_entry): Fix comment. (elf_s390_relocate_section): Fix comment. (elf_s390_finish_dynamic_sections): Fix initialization of fixed .got.plt entries.
Diffstat (limited to 'bfd/elf32-s390.c')
-rw-r--r--bfd/elf32-s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c
index f3ee40c..9480f72 100644
--- a/bfd/elf32-s390.c
+++ b/bfd/elf32-s390.c
@@ -3691,7 +3691,7 @@ elf_s390_finish_dynamic_symbol (bfd *output_bfd,
/* Put in the GOT offset as displacement value. The 0xc000
value comes from the first word of the plt entry. Look
- at the elf_s390_plt_pic16_entry content. */
+ at the elf_s390_plt_pic12_entry content. */
bfd_put_16 (output_bfd, (bfd_vma)0xc000 | got_offset,
htab->elf.splt->contents + h->plt.offset + 2);