[binutils-gdb] Change the default for the CSKY target to be little endian.

Nick Clifton nickc@sourceware.org
Fri Jan 4 13:57:00 GMT 2019


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

commit d9858c37914e104401071b12b060765024008fe4
Author: Lifang Xia <lifang_xia@c-sky.com>
Date:   Fri Jan 4 13:56:46 2019 +0000

    Change the default for the CSKY target to be little endian.
    
    	* config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
    	default target, little endian target is more suitable.

Diff:
---
 bfd/ChangeLog  | 5 +++++
 bfd/config.bfd | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fc6782f..880ee8e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-04  Lifang Xia  <lifang_xia@c-sky.com>
+
+	* config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
+	default target, little endian target is more suitable.
+
 2019-01-04  Alan Modra  <amodra@gmail.com>
 
 	PR 24061
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 014cc8f..0e1ddb6 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -463,7 +463,7 @@ case "${targ}" in
     ;;
 
   csky-*-elf* | csky-*-linux* )
-    targ_defvec=csky_elf32_be_vec
+    targ_defvec=csky_elf32_le_vec
     targ_selvecs="csky_elf32_be_vec csky_elf32_le_vec"
     ;;



More information about the Binutils-cvs mailing list