[PATCH 1/1] sframe: Use UNRESOLVED instead of FAIL
Jan Beulich
jbeulich@suse.com
Mon Jan 19 10:03:21 GMT 2026
On 16.01.2026 15:57, claudiu.zissulescu-ianculescu@oracle.com wrote:
> From: Claudiu Zissulescu <claudiu.zissulescu-ianculescu@oracle.com>
>
> Fix for PR ld/33784.
>
> In the case of PR ld/33401, we need to link twice. First time, the
> linker process generates R_*_NONE relocs for .sframe section, while
> the second link process should pass without any issue. I have reworked
> check_pr33401 by removing the call to run_cc_link_tests, by handling
> the compilation, assembling and linking processes locally.
>
> ld/
>
> PR ld/33784
> * testsuite/ld-sframe/sframe.exp (check_pr33401): Rework the
> procedure for UNRESOLVED and UNTESTED cases.
> (check_dump): New procedure.
> * testsuite/ld-sframe/pr33401.rd: Add extra line at the end of the
> file.
This eliminates the bogus FAILs for me; the PR ld/33401 testcase now
reports UNTESTED (due to "No R_*_NONE in .rela.sframe" aiui, which is
now being reported in my case), which was - I think - the intention.
Indu will want/need to approve this, though.
Jan
More information about the Binutils
mailing list