From 2b1dd3156bef3cb1eb5c27aafee96ee226192d54 Mon Sep 17 00:00:00 2001 From: Jens Remus Date: Fri, 11 Jul 2025 10:29:40 +0200 Subject: [PATCH] s390: Announce s390 64-bit (s390x) SFrame V2 support in binutils The preceding commits add s390 64-bit (s390x) support in binutils to generate SFrame stack trace information (.sframe section) in the assembler from CFI directives (with option --gsframe), generate .sframe section for linker-generated .plt section in the linker, and dump SFrame information in objdump and readelf (with option --sframe). binutils/ * NEWS: Announce s390 64-bit (s390x) SFrame V2 support in as, ld, objdump, and readelf. gas/ * NEWS: Update s390 64-bit (s390x) SFrame V2 support in assembler. Signed-off-by: Jens Remus --- binutils/NEWS | 7 +++++++ gas/NEWS | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/binutils/NEWS b/binutils/NEWS index 1a746f1f097..06356875255 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,12 @@ -*- text -*- +* On s390 64-bit (s390x), gas, ld, objdump, and readelf now support generating + and processing SFrame V2 stack trace information (.sframe). The assembler + generates SFrame info from CFI directives with option "--gsframe". The + linker generates SFrame info for the linker-generated .plt section and merges + all .sframe sections. Both objdump and readelf dump SFrame info with option + "--sframe[=]". + * For SFrame stack trace format, the function start address in each SFrame FDE has a changed encoding: The 32-bit signed integer now holds the offset of the start PC of the associated function from the sfde_func_start_address diff --git a/gas/NEWS b/gas/NEWS index 71d9c9cdd76..05352a732cc 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -1,6 +1,6 @@ -*- text -*- -* Add initial support to generate SFrame stack trace information (.sframe) +* Add support to generate SFrame stack trace information (.sframe) from CFI directives on s390 64-bit (s390x). * All SFrame sections generated by gas have the header flag -- 2.47.2