binutils Newspaper
JUNE 15, 2026
bfd Proposed

Add AMDGPU generic targets

Adds generic AMDGPU architectures (gfx9-generic, gfx10-1-generic, etc.) to binutils.

This patch adds support for generic AMDGPU targets to binutils. These generic targets, such as gfx9-generic, gfx10-1-generic, and others, allow developers to target a broader range of AMD GPUs without specifying a particular microarchitecture. This simplifies the build process and increases the portability of AMDGPU code.

In the Thread 1 participant
  1. Simon Marchi <simon.marchi@efficios.com> proposer

    Proposes adding generic AMDGPU architectures to binutils.

    “Add the following generic AMDGPU architectures: - gfx9-generic - gfx9-4-generic - gfx10-1-generic - gfx10-3-generic - gfx11-generic - gfx12-generic - gfx12-5-generic”

In Details

This patch adds generic AMDGPU target definitions to the BFD (Binary File Descriptor) library, which binutils uses for object file abstraction. These definitions enable binutils tools to recognize and process code targeting these generic GPU architectures.

For Context

This patch introduces support for generic AMDGPU targets within binutils. Binutils uses the BFD library to handle different object file formats and architectures. By adding generic target definitions, binutils can now work with code designed to run on a range of AMD GPUs, rather than being tied to specific GPU models. This improves the flexibility and portability of GPU code development.

Part of a Series

Filed Under: AMDGPUgeneric targetsbinutilsbfdGPU