aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLifang Xia <lifang_xia@c-sky.com>2019-01-04 13:56:46 +0000
committerNick Clifton <nickc@redhat.com>2019-01-04 13:56:46 +0000
commitd9858c37914e104401071b12b060765024008fe4 (patch)
treeb740ee69f1e1d65030057c10320133ab6c938b6f
parent11fa9f134fd658075c6f74499c780df045d9e9ca (diff)
downloadgdb-d9858c37914e104401071b12b060765024008fe4.zip
gdb-d9858c37914e104401071b12b060765024008fe4.tar.gz
gdb-d9858c37914e104401071b12b060765024008fe4.tar.bz2
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/config.bfd2
2 files changed, 6 insertions, 1 deletions
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"
;;