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

MIPS: Add support for Octeon machine types in BFD and gold.

Binutils now correctly identifies and handles MIPS Octeon processor types.

This commit adds missing support for MIPS Octeon processor types within binutils. It updates BFD’s a.out handling and gold’s MIPS machine type conversion to recognize AFL_EXT_OCTEON3 and other Octeon variants, ensuring correct processing of binaries targeting these embedded systems.

In Details

This patch integrates MIPS Octeon machine types, including AFL_EXT_OCTEON3, into BFD's a.out handling and gold's processor classification. The bfd_mach_mips_octeon* variants are now correctly mapped in bfd/aoutx.h, and bfd/elfxx-mips.c is updated to translate AFL_EXT_OCTEON3 to bfd_mach_mips_octeon3. Gold's mips.cc also gains support for these types, complementing prior work on Octeon 3 support.

For Context
BFD
The Binary File Descriptor library, a GNU project that provides a common interface for reading and writing various object file formats, including ELF and a.out.
a.out
A legacy executable file format, originating from Unix, that binutils and other tools need to support for older systems or specific use cases.
gold
The GNU gold linker, a faster replacement for the traditional GNU ld linker, which supports ELF, Mach-O, and other object file formats.
MIPS
A family of reduced instruction set computer (RISC) architectures widely used in embedded systems and networking equipment.
Octeon
A family of highly integrated network processors developed by Cavium (now Marvell), based on the MIPS architecture and featuring multiple CPU cores.
machine type
A specific identifier within an architecture (like MIPS) that denotes a particular processor core or configuration, influencing instruction set extensions and behavior.
Filed Under: binutilsmipsembedded