MIPS: Add missing Allegrex machine type handling
Commit adds missing Allegrex machine type handling to BFD, a.out, and gold.
This commit adds missing handling for the Allegrex machine type in various components of binutils. It complements a previous commit that introduced Allegrex CPU support by defining the .MIPS.abiflags tag and including the Allegrex machine type in a.out and gold. The Allegrex type is also reordered within the list of MIPS II extensions to maintain chronological order.
In Details
This commit enhances MIPS architecture support in binutils by adding handling for the Allegrex machine type. It ensures that the Allegrex CPU, identified by bfd_mach_mips_allegrex and AFL_EXT_ALLEGREX, is correctly recognized and processed by the assembler (gas), linker (ld, via gold), and object file utilities (like readelf). This involves updating internal data structures and machine type mappings across BFD, elfcpp, and gold.
- MIPS
- A family of Reduced Instruction Set Computer (RISC) architectures originally developed by MIPS Computer Systems (now MIPS Technologies).
- Allegrex
- A specific MIPS processor core, often found in embedded systems like the PSP (PlayStation Portable).
- BFD
- Binary File Descriptor library, a GNU library that provides a common interface for reading and writing various object file formats.
- a.out
- A legacy executable file format used on Unix-like systems, typically preceding the ELF format.
- gold
- The GNU linker, a high-performance replacement for the traditional GNU linker (ld).
- MIPS II
- A revision of the MIPS instruction set architecture, introducing new instructions and capabilities.
- .MIPS.abiflags
- A section in MIPS object files that specifies the ABI (Application Binary Interface) flags and features supported by the object code.