Haiku/testsuite: Mark target as ELF
The Haiku target is now explicitly marked as ELF in the testsuite, fixing regressions.
The Haiku target in the binutils testsuite is now explicitly marked as ELF. This fixes regressions in GNU attribute handling, and allows for broader test coverage. All Haiku targets are ELF.
In Details
This commit modifies binutils/testsuite/lib/binutils-common.exp to mark Haiku targets as ELF. This fixes testsuite regressions related to GNU attribute handling. Haiku targets are defined in bfd/config.bfd using the targ_defvec variable, which specifies the default vector and confirms that all Haiku targets are ELF.
For Context
The binutils testsuite verifies the correct behavior of binutils utilities. This commit ensures that the Haiku operating system target is correctly identified as using the ELF binary format. This ensures that the testsuite runs the appropriate tests for ELF binaries, which is necessary for Haiku. The ELF (Executable and Linkable Format) is a common file format for executables, object code, shared libraries, and core dumps.