From 3d52a869b2e09d88fc0ebae762d25428d891dd11 Mon Sep 17 00:00:00 2001
From: Joel Sherrill <joel.sherrill@oarcorp.com>
Date: Mon, 21 Jul 2014 17:27:05 -0500
Subject: Add or reactivate or1k-*-rtems*

	* bfd/config.bfd (or1k-*-rtems*): Reactivate.
	* gas/configure.tgt (or1k-*-rtems*): Add.

Signed-off-by: Christian Svensson <blue@cmd.nu>
---
 bfd/ChangeLog     | 5 +++++
 bfd/config.bfd    | 5 ++---
 gas/ChangeLog     | 5 +++++
 gas/configure.tgt | 3 ++-
 4 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9be9b8cf..1eb47c9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-21  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+	Add or reactivate or1k-*-rtems*
+	* bfd/config.bfd (or1k-*-rtems*): Reactivate.
+
 2014-07-16  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf32-i386.c (elf_i386_plt_sym_val): Match PLT entry only for
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 1f822f2..e082f1d 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -77,7 +77,6 @@ case $targ in
  m68*-bull-sysv* | \
  maxq-*-coff | \
  mips*el-*-rtems* | \
- or1k-*-rtems* | \
  powerpcle-*-rtems* | \
  sparc*-*-rtemsaout* | \
  sparc-*-lynxos* | \
@@ -1170,11 +1169,11 @@ case "${targ}" in
     targ_selvecs=nios2_elf32_be_vec
     ;;
 
-  or1k-*-elf | or1k-*-linux*)
+  or1k-*-elf | or1k-*-linux* | or1k-*-rtems*)
     targ_defvec=or1k_elf32_vec
     ;;
 
-  or1knd-*-elf | or1knd-*-linux*)
+  or1knd-*-elf | or1knd-*-linux* | or1k-*-rtems*)
     targ_defvec=or1k_elf32_vec
     ;;
 
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9180b52..4cbf2e5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2014-07-21  Joel Sherrill  <joel.sherrill@oarcorp.com>
+
+	Add or reactivate or1k-*-rtems*
+	* gas/configure.tgt (or1k-*-rtems*): Add.
+
 2014-07-17  Ilya Tocar  <ilya.tocar@intel.com>
 
 	* config/tc-i386.c (parse_register): Set need_vrex.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 7d5afa9..7ef0c06 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -357,7 +357,8 @@ case ${generic_target} in
   ns32k-pc532-lites*)			fmt=aout em=nbsd532 ;;
   ns32k-*-*n*bsd*)			fmt=aout em=nbsd532 ;;
 
-  or1k-*-elf | or1knd-*-elf)		fmt=elf endian=big ;;
+  or1k-*-elf | or1knd-*-elf | or1k-*-rtems*)
+					fmt=elf endian=big ;;
   or1k-*-linux* | or1knd-*-linux*)	fmt=elf em=linux endian=big ;;
 
   pj*)					fmt=elf ;;
-- 
cgit v1.1