ld: testsuite: Add sframe test for PR 33401

Claudiu Zissulescu Ianculescu claziss@gmail.com
Fri Jan 16 14:33:47 GMT 2026


> > To test the PR33401 issue, I need to make sure there is a R_*_NONE in
> > the sframe from the first link.
>
> Where would that come from? (To re-phrase the earlier: Why am I not seeing
> one?)
>

The R_*_NONE should result after the first link as a byproduct of
calling _bfd_elf_section_offset in elflink.c:12008.

Please make sure you do use the '-g' option while compiling. I use gcc
(GCC) 15.2.1, and binutils master on my x86, and I can see two
R_X86_64_NONE relocs created.

I have a draft which addresses your issues. I'll come back to you as
soon as I finish testing it.

//Claudiu


More information about the Binutils mailing list