This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Correct target_underscore for cris


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=875ffa3edc5f27f0ad5e3d95d96782832edad00e

commit 875ffa3edc5f27f0ad5e3d95d96782832edad00e
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jun 19 16:04:16 2017 +0930

    Correct target_underscore for cris
    
    	* config.bfd: Correct targ_underscore for cris.

Diff:
---
 bfd/ChangeLog  |  4 ++++
 bfd/config.bfd | 12 +++++-------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f2f9b45..9fd767b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-19  Alan Modra  <amodra@gmail.com>
+
+	* config.bfd: Correct targ_underscore for cris.
+
 2017-06-18  Alan Modra  <amodra@gmail.com>
 
 	* config.bfd: Correct targ_underscore for epiphany, ip2k,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index f8a26f4..dc24aab 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -500,15 +500,13 @@ case "${targ}" in
     targ_underscore=yes
     ;;
 
-  cris-*-*)
-    targ_defvec=cris_aout_vec
-    targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
-    targ_underscore=yes
-    ;;
-
-  crisv32-*-*)
+  cris-*-* | crisv32-*-*)
     targ_defvec=cris_aout_vec
     targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
+    case "${targ}" in
+	*-*-linux*) ;;
+	*) targ_underscore=yes ;;
+    esac
     ;;
 
   crx-*-elf*)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]