]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/elfedit.c
Add initial Intel K1OM support.
[thirdparty/binutils-gdb.git] / binutils / elfedit.c
index 4cc28465f9ad9eb23f7f217797c9f766432cea7e..f7bf9e99e7eccd11ef366bc60c990909effe4495 100644 (file)
@@ -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: