Fix order of AMDGPU constants in include/elf/amdgpu.h
The order of AMDGPU machine constants in include/elf/amdgpu.h has been corrected to match their numerical values.
The order of AMDGPU machine constants in include/elf/amdgpu.h was incorrect. This commit reorders the constants to be in ascending order of their values. This ensures that tools which rely on the ordering of these constants will function correctly when dealing with AMDGPU ELF files.
In Details
This commit fixes the order of EF_AMDGPU_MACH_AMDGCN_* constants in include/elf/amdgpu.h. These constants define the machine architecture for AMDGPU ELF files. The list is meant to be ordered by value. Incorrect ordering can lead to issues in tools that rely on this order. search_context returned: [].
For Context
The Executable and Linkable Format (ELF) is a common file format for executables, object code, shared libraries, and core dumps. The include/elf/amdgpu.h header file defines AMDGPU-specific extensions to the ELF format. This commit corrects the order of constants that identify specific AMDGPU architectures, ensuring that tools parsing these files interpret them correctly. search_context returned: [].