[PATCH 0/3] Set SFrame section type to SHT_GNU_SFRAME

Indu Bhagat indu.bhagat@oracle.com
Mon Jul 7 06:10:56 GMT 2025


Hi,

While the addition of SHT_GNU_SFRAME in gnu-gabi is under discussion
[1], I will appreciate some reviews on this patchset.  An RFD version for
this was previously discussed recently [2]. 

The value for SHT_GNU_SFRAME can be finalized only after the gnu-gabi
updates are committed.

[1] [GNU-GABI][PATCH,V2 0/1] Add new section type for SFrame
    https://sourceware.org/pipermail/gnu-gabi/2025q3/000546.html
[2] [BINUTILS-GDB] [RFD] gas: elf: binutils: add new section type SHT_GNU_SFRAME
    https://sourceware.org/pipermail/binutils/2025-June/141960.html

Thanks,

Indu Bhagat (3):
  gas: sframe: guard block with support_sframe_p
  gas: elf: binutils: add new section type SHT_GNU_SFRAME
  bfd: elf: add handling in bfd_section_from_shdr

 bfd/elf-sframe.c                                 | 16 ++++++++++++++--
 bfd/elf.c                                        |  1 +
 bfd/elflink.c                                    |  2 +-
 bfd/elfxx-x86.c                                  |  7 ++++---
 binutils/readelf.c                               |  2 ++
 gas/NEWS                                         |  2 ++
 gas/config/obj-elf.c                             |  9 +++++++++
 gas/dw2gencfi.c                                  |  8 +++-----
 .../gas/cfi-sframe/cfi-sframe-common-1b.d        |  6 ++++++
 .../gas/cfi-sframe/cfi-sframe-common-1b.s        |  3 +++
 gas/testsuite/gas/cfi-sframe/cfi-sframe.exp      |  1 +
 include/elf/common.h                             |  1 +
 ld/NEWS                                          |  2 ++
 libsframe/doc/sframe-spec.texi                   |  7 ++++---
 14 files changed, 53 insertions(+), 14 deletions(-)
 create mode 100644 gas/testsuite/gas/cfi-sframe/cfi-sframe-common-1b.d
 create mode 100644 gas/testsuite/gas/cfi-sframe/cfi-sframe-common-1b.s

-- 
2.43.0



More information about the Binutils mailing list