binutils Newspaper
NOVEMBER 30, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
binutils/mips

MIPS Allegrex CPU support added to Binutils.

Binutils now correctly handles the MIPS Allegrex CPU, including its abiflags and machine type.

Binutils has gained support for the MIPS Allegrex CPU, a MIPS2-based processor. This update defines the necessary .MIPS.abiflags tag and integrates the Allegrex machine type into a.out and ELF object file handling. The changes also ensure correct ordering within MIPS II extensions.

In Details

This patch enhances Binutils' MIPS support by adding handling for the Allegrex CPU. It complements a previous commit that introduced Allegrex as a MIPS2-based CPU by defining the missing AFL_EXT_ALLEGREX tag in .MIPS.abiflags. The Allegrex machine type (bfd_mach_mips_allegrex) is now correctly registered in bfd/aoutx.h and elfcpp/mips.h, and reordered in bfd/elfxx-mips.c's mips_mach_extensions array to maintain reverse chronological order within MIPS II extensions. gas/testsuite and gold/mips.cc are also updated.

For Context
MIPS
A family of RISC microprocessor architectures developed by MIPS Computer Systems (now MIPS Technologies).
Allegrex
A specific MIPS CPU core, often found in embedded systems, known for its power efficiency.
MIPS2
A version of the MIPS instruction set architecture, introducing new instructions and features over MIPS1.
.MIPS.abiflags
An ELF section used on MIPS architectures to store Application Binary Interface (ABI) flags, indicating CPU features and ABI compatibility.
a.out
A legacy executable file format, historically used on Unix-like systems. Binutils still provides support for it.
ELF
Executable and Linkable Format, a common standard file format for object files, executables, and shared libraries on Unix-like systems.
bfd_mach_mips_allegrex
A symbolic constant representing the machine type for the MIPS Allegrex processor within the BFD library.
Filed Under: binutilsmipsembeddedcpu supportelf