From: Alan Modra Date: Mon, 14 Jul 2025 09:38:12 +0000 (+0930) Subject: s390x sframe regressions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=168c017e206894effdefa919bff29880165fae13;p=thirdparty%2Fbinutils-gdb.git s390x sframe regressions Commit 6ab3f09a682a resulted in regressions. s390x-linux-gnu FAIL: SFrame simple link s390x-linux-gnu FAIL: SFrame for plt0 and pltN Commit 939eb467b21d exposed the problem further. s390x-linux-gnu FAIL: LTO 4a s390x-linux-gnu FAIL: LTO 4c s390x-linux-gnu FAIL: LTO 4d * elf64-s390.c (elf_s390_create_dynamic_sections): Set plt_sframe ELF section type. Reviewed-by: Jens Remus --- diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index d801848df4a..a79cc476572 100644 --- a/bfd/elf64-s390.c +++ b/bfd/elf64-s390.c @@ -4299,6 +4299,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; } }