s390x sframe regressions

Alan Modra amodra@gmail.com
Mon Jul 14 10:07:54 GMT 2025


Recent patches have resulted in regressions.
s390x-linux-gnu  FAIL: LTO 4a
s390x-linux-gnu  FAIL: LTO 4c
s390x-linux-gnu  FAIL: LTO 4d
s390x-linux-gnu  FAIL: SFrame simple link
s390x-linux-gnu  FAIL: SFrame for plt0 and pltN

	* elf64-s390.c (elf_s390_create_dynamic_sections): Set plt_sframe
	ELF section type.

OK?

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;
 	}
     }
 

-- 
Alan Modra


More information about the Binutils mailing list