From b3baf5d0a8293b5f823c0d7848494507edb373fb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Apr 2001 15:08:16 +0000 Subject: Add OpenRISC support --- bfd/elf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bfd/elf.c') diff --git a/bfd/elf.c b/bfd/elf.c index 92a546d..26ce9d3 100644 --- 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; } -- cgit v1.1