This is the mail archive of the binutils@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]

[PATCH] CSKY: Modify the default target vec


Hi Alan:

    Here is a patch to modify the default target of csky in bfd.

    Could it be applied?


CSKY: Modify the default target vec

    The little endian target is more suitable.

    bfd/
            * config.bfd (csky-*-elf* | csky-*-linux*): Modify the
            default target vec


commit e1806b9cca68837baad2d7bb73261e75d02dd983
Author: Lifang Xia <lifang_xia@c-sky.com>
Date:   Fri Dec 28 16:09:06 2018 +0800

    CSKY: Modify the default target vec
    
    The little endian target is more suitable.
    
    bfd/
            * config.bfd (csky-*-elf* | csky-*-linux*): Modify the
            default target vec

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1396c7034e..88c1a3cf09 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-12-28  Lifang Xia<lifang_xia@c-sky.com>
+
+	* config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
+	default target, little endian target is more suitable.
+
 2018-12-28  Alan Modra  <amodra@gmail.com>
 
 	PR 24015
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 2bde98a819..b33e79fc3d 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"
     ;;
 

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