Skip to content

Commit 51e62e5

Browse files
committed
[AMDGPU] Reserve AMDGPU ELF e_flags machine 0x45
Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D106249
1 parent 5994201 commit 51e62e5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llvm/docs/AMDGPUUsage.rst

+1
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,7 @@ The AMDGPU backend uses the following ELF header:
11651165
``EF_AMDGPU_MACH_AMDGCN_GFX1013`` 0x042 ``gfx1013``
11661166
*reserved* 0x043 Reserved.
11671167
*reserved* 0x044 Reserved.
1168+
*reserved* 0x045 Reserved.
11681169
==================================== ========== =============================
11691170

11701171
Sections

llvm/include/llvm/BinaryFormat/ELF.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -747,10 +747,11 @@ enum : unsigned {
747747
EF_AMDGPU_MACH_AMDGCN_GFX1013 = 0x042,
748748
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X43 = 0x043,
749749
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44 = 0x044,
750+
EF_AMDGPU_MACH_AMDGCN_RESERVED_0X45 = 0x045,
750751

751752
// First/last AMDGCN-based processors.
752753
EF_AMDGPU_MACH_AMDGCN_FIRST = EF_AMDGPU_MACH_AMDGCN_GFX600,
753-
EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X44,
754+
EF_AMDGPU_MACH_AMDGCN_LAST = EF_AMDGPU_MACH_AMDGCN_RESERVED_0X45,
754755

755756
// Indicates if the "xnack" target feature is enabled for all code contained
756757
// in the object.

0 commit comments

Comments
 (0)