binutils Newspaper
NOVEMBER 30, 2026
mips — Committed

MIPS: Add missing Octeon machine type handling

Commit adds missing Octeon machine type handling to BFD and gold for MIPS.

This commit adds missing handling for Octeon machine types (AFL_EXT_OCTEON3) to the BFD library and the gold linker. It complements a previous commit that added Octeon 3 support. The changes update machine type conversions in BFD and gold, and also add missing Octeon types to a.out support, ensuring broader compatibility for MIPS Octeon processors.

In the Thread 2 participants
  1. Maciej W. Rozycki proposer

    Committed a change to add missing Octeon machine type handling for MIPS in BFD and gold, including a.out support.

    “Complement commit 2c62985659da ("MIPS: Add Octeon 3 support") and add missing AFL_EXT_OCTEON3 to machine type conversion in BFD and gold. Also add missing Octeon types to a.out support.”
  2. Andrew Pinski reviewer

    Acknowledged the commit, expressing regret for missing it earlier and thanking the author.

    “Thanks for doing this. Sorry I had missed it back then.”

In Details

This commit addresses missing support for specific MIPS Octeon processor variants (Octeon3) within binutils. It updates the BFD library's machine type handling and the gold linker's MIPS backend to recognize and correctly process these machine types, including their representation in a.out object files. This ensures that binutils can correctly assemble and link code targeting these specific MIPS architectures.

For Context
BFD
Binary File Descriptor library, a backend for GNU Binutils that provides a common interface to various object file formats.
gold
The GNU linker, designed as a faster, more modern replacement for the traditional ld linker.
MIPS
Microprocessor without Interlocked Pipeline Stages, a RISC instruction set architecture.
Octeon
A family of MIPS-based microprocessors designed by Cavium (now Marvell) for networking and embedded applications.
a.out
A.out (Assembler Output) is an older executable file format, largely superseded by ELF, but still supported by some toolchains.
Filed Under: binutilsmipslinkerbfdcommit