[llvm] 75a1c4e - AMDGPU/NFC: Reserve 0x055 MACH in e_flag for future use (#81501)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 10:37:29 PST 2024
Author: Konstantin Zhuravlyov
Date: 2024-02-12T13:37:25-05:00
New Revision: 75a1c4e10be179536153cdd3462055cb32ddcb0c
URL: https://github.com/llvm/llvm-project/commit/75a1c4e10be179536153cdd3462055cb32ddcb0c
DIFF: https://github.com/llvm/llvm-project/commit/75a1c4e10be179536153cdd3462055cb32ddcb0c.diff
LOG: AMDGPU/NFC: Reserve 0x055 MACH in e_flag for future use (#81501)
Added:
Modified:
llvm/docs/AMDGPUUsage.rst
llvm/include/llvm/BinaryFormat/ELF.h
Removed:
################################################################################
diff --git a/llvm/docs/AMDGPUUsage.rst b/llvm/docs/AMDGPUUsage.rst
index f253648d683e60..ddd5fd487669d1 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1863,6 +1863,7 @@ The AMDGPU backend uses the following ELF header:
``EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC`` 0x052 ``gfx10.1-generic``
``EF_AMDGPU_MACH_AMDGCN_GFX10_3_GENERIC`` 0x053 ``gfx10.3-generic``
``EF_AMDGPU_MACH_AMDGCN_GFX11_GENERIC`` 0x054 ``gfx11-generic``
+ *reserved* 0x055 Reserved.
========================================== ========== =============================
Sections
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index 3eddaee4f7d1ad..8e0356a8efeb61 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -794,6 +794,7 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_GFX10_1_GENERIC = 0x052,
EF_AMDGPU_MACH_AMDGCN_GFX10_3_GENERIC = 0x053,
EF_AMDGPU_MACH_AMDGCN_GFX11_GENERIC = 0x054,
+ EF_AMDGPU_MACH_AMDGCN_RESERVED_0X55 = 0x055,
// clang-format on
// First/last AMDGCN-based processors.
More information about the llvm-commits
mailing list