binutils Newspaper
JUNE 15, 2026
include/elf Committed

Fix AMDGPU constant order in include/elf.

Simon Marchi fixed the order of AMDGPU constants in `include/elf/amdgpu.h` to be in ascending value order.

Simon Marchi corrected the order of AMDGPU machine constants within the include/elf/amdgpu.h header file. The constants were intended to be in ascending order of their values, and this commit enforces that order.

In Details

This commit rearranges the EF_AMDGPU_MACH_AMDGCN_* defines in include/elf/amdgpu.h to be in ascending order. These constants represent specific AMDGPU architectures and are used in ELF files to identify the target GPU.

For Context

ELF (Executable and Linkable Format) is a common file format for executables, object code, shared libraries, and core dumps. This commit involves reordering definitions related to AMD GPUs within a header file that helps programs understand the structure of ELF files.

Filed Under: binutilselfamdgpuconstantsheader file