Skip to content

Commit f983135

Browse files
committed
Fix ELF bits from llvm#159623
1 parent 6b8280d commit f983135

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

offload/plugins-nextgen/level_zero/src/L0Plugin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ GenericGlobalHandlerTy *LevelZeroPluginTy::createGlobalHandler() {
177177
}
178178

179179
uint16_t LevelZeroPluginTy::getMagicElfBits() const {
180-
// TODO: We need to register a real ELF machine type
181-
return 0x8086;
180+
return ELF::EM_INTELGT;
182181
}
183182

184183
Triple::ArchType LevelZeroPluginTy::getTripleArch() const {

0 commit comments

Comments
 (0)