Limit PR ld/34088 test to Linux/x86-64 and Linux/aarch64
The linker test case for PR ld/34088 now only runs on Linux/x86-64 and Linux/aarch64.
The test for PR ld/34088 requires libm.a’s feclearexcept function, which is only implemented on Linux/x86-64 and Linux/aarch64. The change limits the test execution to those platforms.
In Details
The test ld-plugin/pr34088.c exercises an LTO rescan issue exposed by libm.a when the linker script uses GROUP ( /usr/lib64/libm-2.42.a /usr/lib64/libmvec.a ). The archive member selection relies on feclearexcept, which isn't available everywhere, so this commit restricts the test to Linux/x86-64 and Linux/aarch64.
For Context
The linker combines compiled code (objects) and libraries into an executable. Link-time optimization (LTO) can improve performance by optimizing across these boundaries. This commit modifies a linker test case that uses LTO, restricting it to specific architectures (x86-64 and AArch64) and operating system (Linux). This is because the test depends on a function (feclearexcept) from the standard math library (libm) that is not available on all platforms.