Add OpenRISC support
[deliverable/binutils-gdb.git] / bfd / elf.c
index 92a546d3c55a1c7c5f41dd8233f148c7c87a7160..26ce9d3b0a7ff743d0914ed306e469cdf5247486 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3413,7 +3413,10 @@ prep_headers (abfd)
     case bfd_arch_cris:
       i_ehdrp->e_machine = EM_CRIS;
       break;
-      /* also note that EM_M32, AT&T WE32100 is unknown to bfd */
+    case bfd_arch_openrisc:
+      i_ehdrp->e_machine = EM_OPENRISC;
+      break;
+      /* Also note that EM_M32, AT&T WE32100 is unknown to bfd.  */
     default:
       i_ehdrp->e_machine = EM_NONE;
     }
This page took 0.024899 seconds and 4 git commands to generate.