summaryrefslogtreecommitdiff
path: root/binutils/elfedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/elfedit.c')
-rw-r--r--binutils/elfedit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/elfedit.c b/binutils/elfedit.c
index 4cc28465f9..f7bf9e99e7 100644
--- a/binutils/elfedit.c
+++ b/binutils/elfedit.c
@@ -556,6 +556,8 @@ elf_machine (const char *mach)
{
if (strcasecmp (mach, "l1om") == 0)
return EM_L1OM;
+ if (strcasecmp (mach, "k1om") == 0)
+ return EM_K1OM;
if (strcasecmp (mach, "x86_64") == 0)
return EM_X86_64;
if (strcasecmp (mach, "x86-64") == 0)
@@ -576,6 +578,7 @@ elf_class (int mach)
switch (mach)
{
case EM_L1OM:
+ case EM_K1OM:
case EM_X86_64:
return ELFCLASS64;
case EM_NONE: