SATURDAY, JULY 11, 2026
binutils/gas
Fix aarch64-pe tls-debug tests for ELF format
Adjusts aarch64-pe test suite to check for ELF format instead of aarch64 target, resolving assembly failures.
The TLS debug test suite for the aarch64-pe target was failing due to the use of ELF section directives. This commit modifies the test cases to check for the ELF format in general, rather than specifically targeting aarch64. This ensures the tests run correctly without assembly errors, as the aarch64 target is already covered by separate test suites.
In Details
Updates gas testsuite/gas/aarch64/tls-debug{,-bad}.d to use [is_elf_format] instead of aarch64*-*-* as the target. This is because these tests use ELF section directives, which can fail to assemble on non-ELF targets, and the aarch64-specific tests are already covered elsewhere.
For Context
- aarch64-pe
- A target configuration for Binutils targeting the AArch64 architecture, producing PE (Portable Executable) object files, commonly used on Windows.
- tls-debug
- Tests related to Thread-Local Storage (TLS) and debugging information.
- ELF
- Executable and Linkable Format, a standard file format for object files, executables, and shared libraries on many Unix-like systems.
- GAS
- The GNU Assembler, part of the GNU Binutils suite.