aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-s390.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-s390.c')
-rw-r--r--bfd/elf64-s390.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
index d801848..6ae62a9 100644
--- a/bfd/elf64-s390.c
+++ b/bfd/elf64-s390.c
@@ -2386,7 +2386,8 @@ elf_s390_relocate_section (bfd *output_bfd,
if (sec != NULL && discarded_section (sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, 1, relend, howto, 0, contents);
+ rel, 1, relend, R_390_NONE,
+ howto, 0, contents);
if (bfd_link_relocatable (info))
continue;
@@ -4299,6 +4300,8 @@ elf_s390_create_dynamic_sections (bfd *dynobj,
flags);
if (htab->plt_sframe == NULL)
return false;
+
+ elf_section_type (htab->plt_sframe) = SHT_GNU_SFRAME;
}
}