[llvm] 51e62e5 - [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x45
Tony Tye via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 19 13:18:28 PDT 2021
Author: Tony Tye
Date: 2021-07-19T20:17:35Z
New Revision: 51e62e56f7edaab7dddfe48fb709b6d8ca952909
URL: https://github.com/llvm/llvm-project/commit/51e62e56f7edaab7dddfe48fb709b6d8ca952909
DIFF: https://github.com/llvm/llvm-project/commit/51e62e56f7edaab7dddfe48fb709b6d8ca952909.diff
LOG: [AMDGPU] Reserve AMDGPU ELF e_flags machine 0x45
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D106249
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 0a25fda829fd3..a1dc554864307 100644
--- a/llvm/docs/AMDGPUUsage.rst
+++ b/llvm/docs/AMDGPUUsage.rst
@@ -1165,6 +1165,7 @@ The AMDGPU backend uses the following ELF header:
``EF_AMDGPU_MACH_AMDGCN_GFX1013`` 0x042 ``gfx1013``
*reserved* 0x043 Reserved.
*reserved* 0x044 Reserved.
+ *reserved* 0x045 Reserved.
==================================== ========== =============================
Sections
diff --git a/llvm/include/llvm/BinaryFormat/ELF.h b/llvm/include/llvm/BinaryFormat/ELF.h
index d8961aa43c48b..0dd5b9244890b 100644
--- a/llvm/include/llvm/BinaryFormat/ELF.h
+++ b/llvm/include/llvm/BinaryFormat/ELF.h
@@ -747,10 +747,11 @@ enum : unsigned {
EF_AMDGPU_MACH_AMDGCN_GFX1013 = 0x042,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X43 = 0x043,
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44 = 0x044,
+ EF_AMDGPU_MACH_AMDGCN_RESERVED_0X45 = 0x045,
// First/last AMDGCN-based processors.
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
- EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44,
+ EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X45,
// Indicates if the "xnack" target feature is enabled for all code contained
// in the object.
More information about the llvm-commits
mailing list