binutils Newspaper
NOVEMBER 30, 2026
mips — Committed

MIPS: Add missing Octeon machine type handling

Commit adds missing Octeon machine type handling to BFD, a.out, and gold.

This commit addresses missing support for the Octeon family of processors within binutils. It complements a previous commit that added Octeon 3 support by including the AFL_EXT_OCTEON3 extension in the machine type conversion logic for BFD and gold. Additionally, it adds missing Octeon types to the a.out support.

In Details

This commit enhances MIPS architecture support in binutils by integrating handling for the Octeon family of processors (Octeon, OcteonP, Octeon2, Octeon3). It ensures these specific MIPS cores are correctly identified and processed by the assembler, linker (via gold), and related utilities. The changes update internal mappings for machine types and processor extensions across BFD, elfcpp, and gold to include relevant AFL_EXT_ identifiers and corresponding bfd_mach_ values.

For Context
MIPS
A family of Reduced Instruction Set Computer (RISC) architectures originally developed by MIPS Computer Systems (now MIPS Technologies).
Octeon
A family of multi-core MIPS-based microprocessors designed by Cavium Networks (now Marvell) for networking and telecommunications equipment.
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).
AFL_EXT_OCTEON3
An extension identifier likely used within binutils to represent the Octeon 3 MIPS processor core.
Filed Under: MIPSOcteonbinutilsassemblerlinker