If user CXXFLAGS include -fno-inline the test fails with
FAIL: PR ld/33401 (Step 1: Create relocatable object and check R_*_NONE)
This should not be a FAIL. If the compiler does not generate R_*_NONE
(a good thing!) then it should be UNTESTED, which means the readelf
check can't be done by run_cc_link_tests. I haven't made that change
in this patch, just worked around a user -fno-inline.
set test_list {
{ "PR ld/33401 (Step 1: Create relocatable object and check R_*_NONE)"
"-r"
- "-g -O2 -w -Wa,--gsframe"
+ "-g -O2 -finline -w -Wa,--gsframe"
{StateClient.cpp StatePlaying.cpp}
{{readelf "-r -W" pr33401.rd}}
"pr33401.o"