From 4676756165c45bc2ca13dd37b354411ec661c83a Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Wed, 15 Jun 2005 08:22:45 +0000
Subject: [PATCH] * elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries
 produced by the   GreenHills toolchain can be assimilated.

---
 bfd/ChangeLog    | 5 +++++
 bfd/elf32-v850.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cce408c8463..38d08f5bed6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-15  Nick Clifton  <nickc@redhat.com>
+
+	* elf32-v850.c (ELF_MACHINE_ALT2): Define so that binaries
+	produced by the GreenHills toolchain can be assimilated.
+
 2005-06-14  Steve Ellcey  <sje@cup.hp.com>
 
 	* som.c (som_find_inliner_info): New.
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 98db745c548..e229682016f 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -3217,6 +3217,7 @@ static struct bfd_elf_special_section const *
 #define ELF_ARCH				bfd_arch_v850
 #define ELF_MACHINE_CODE			EM_V850
 #define ELF_MACHINE_ALT1			EM_CYGNUS_V850
+#define ELF_MACHINE_ALT2			EM_V800 /* This is the value used by the GreenHills toolchain.  */
 #define ELF_MAXPAGESIZE				0x1000
 
 #define elf_info_to_howto			v850_elf_info_to_howto_rela
-- 
GitLab