Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 04277e8

Browse files
committed
Update patch to latest version from https://reviews.llvm.org/D48964
1 parent e571205 commit 04277e8

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

include/llvm/BinaryFormat/ELF.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ enum {
357357
ELFOSABI_AMDGPU_HSA = 64, // AMD HSA runtime
358358
ELFOSABI_AMDGPU_PAL = 65, // AMD PAL runtime
359359
ELFOSABI_AMDGPU_MESA3D = 66, // AMD GCN GPUs (GFX6+) for MESA runtime
360-
ELFOSABI_HERMITCORE = 66, // HermitCore Unikernel/Multikernel
361360
ELFOSABI_ARM = 97, // ARM
362361
ELFOSABI_C6000_ELFABI = 64, // Bare-metal TMS320C6000
363362
ELFOSABI_C6000_LINUX = 65, // Linux TMS320C6000

include/llvm/MC/MCELFObjectWriter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class MCELFObjectTargetWriter : public MCObjectTargetWriter {
7474
case Triple::CloudABI:
7575
return ELF::ELFOSABI_CLOUDABI;
7676
case Triple::HermitCore:
77-
return ELF::ELFOSABI_HERMITCORE;
77+
return ELF::ELFOSABI_STANDALONE;
7878
case Triple::PS4:
7979
case Triple::FreeBSD:
8080
return ELF::ELFOSABI_FREEBSD;

tools/llvm-readobj/ELFDumper.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,6 @@ static const EnumEntry<unsigned> ElfOSABI[] = {
868868
{"AROS", "AROS", ELF::ELFOSABI_AROS},
869869
{"FenixOS", "FenixOS", ELF::ELFOSABI_FENIXOS},
870870
{"CloudABI", "CloudABI", ELF::ELFOSABI_CLOUDABI},
871-
{"HermitCore", "HermitCore", ELF::ELFOSABI_HERMITCORE},
872871
{"Standalone", "Standalone App", ELF::ELFOSABI_STANDALONE}
873872
};
874873

0 commit comments

Comments
 (0)