[0/2] sframe: Fix for PR 33401

Message ID 20251203092050.6795-1-claudiu.zissulescu-ianculescu@oracle.com
Headers
Series sframe: Fix for PR 33401 |

Message

claudiu.zissulescu-ianculescu--- via Binutils Dec. 3, 2025, 9:20 a.m. UTC
  From: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>

Hello,

Please find a series of patches that fixes PR ld/33401. The R_*_NONE
relocs are not required by sframe. The first patch is skiping them,
and the second patch is adding a test.

Claudiu Zissulescu (1):
  ld: testsuite: Add sframe test for PR 33401

Indu Bhagat (1):
  bfd: ld: sframe: skip R_*_NONE relocations from input bfds

 bfd/elf-sframe.c                        |  15 +++-
 ld/testsuite/ld-sframe/StateClient.cpp  |  26 ++++++
 ld/testsuite/ld-sframe/StatePlaying.cpp |  41 +++++++++
 ld/testsuite/ld-sframe/pr33401.rd       |   3 +
 ld/testsuite/ld-sframe/sframe.exp       | 114 ++++++++++++++++++++++++
 5 files changed, 197 insertions(+), 2 deletions(-)
 create mode 100644 ld/testsuite/ld-sframe/StateClient.cpp
 create mode 100644 ld/testsuite/ld-sframe/StatePlaying.cpp
 create mode 100644 ld/testsuite/ld-sframe/pr33401.rd