MIPS/Haiku/LD/testsuite: Set the correct emulation and flags
The MIPS Haiku linker testsuite now uses the correct emulation and flags.
The MIPS Haiku linker testsuite is updated to use the correct emulation (elf_mipsel_haiku) and flags, which aligns it with the IRIX ELF variant. This ensures the testsuite accurately reflects the Haiku target’s configuration.
In Details
This commit modifies ld/testsuite/ld-mips-elf/comm-data.exp and ld/testsuite/ld-mips-elf/mips-elf.exp to set the correct emulation and flags for MIPS Haiku targets. Specifically, it sets abi_ldemul(o32) to elf_mipsel_haiku and enables the irixemul flag. The Haiku target uses its own LD emulation and the IRIX ELF variant.
For Context
The GNU linker (ld) combines object files into an executable. Linker testsuites verify correct linker behavior for specific architectures and operating systems. Emulation refers to the specific linker behavior that mimics a particular system or file format. This commit configures the MIPS linker testsuite for the Haiku operating system to use the correct emulation settings, ensuring accurate testing.