[llvm] c181724 - [NFC][AMDGPU] Reserve AMD GPU ELF machine number 0x41
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 23 10:53:27 PDT 2021
Author: Tony
Date: 2021-03-23T17:53:02Z
New Revision: c181724a9b9a0d2671656aa98428f685c1ce5df3
URL: https://github.com/llvm/llvm-project/commit/c181724a9b9a0d2671656aa98428f685c1ce5df3
DIFF: https://github.com/llvm/llvm-project/commit/c181724a9b9a0d2671656aa98428f685c1ce5df3.diff
LOG: [NFC][AMDGPU] Reserve AMD GPU ELF machine number 0x41
Reviewed By: foad
Differential Revision: https://reviews.llvm.org/D99196
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 8926d6b527c2..f397d7542d26 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1156,6 +1156,7 @@ The AMDGPU backend uses the following ELF header:
*reserved* 0x03e Reserved.
``EF_AMDGPU_MACH_AMDGCN_GFX90A`` 0x03f ``gfx90a``
*reserved* 0x040 Reserved.
+ *reserved* 0x041 Reserved.
==================================== ========== =============================
Sections
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index d6846be1cef5..6dfab2c8787b 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -734,6 +734,7 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X3E = 0x03e,
EF_AMDGPU_MACH_AMDGCN_GFX90A = 0x03f,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X40 = 0x040,
+ EF_AMDGPU_MACH_AMDGCN_RESERVED_0X41 = 0x041,
// First/last AMDGCN-based processors.
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
More information about the llvm-commits
mailing list