aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2021-01-04 10:12:45 +0800
committerNelson Chu <nelson.chu@sifive.com>2021-01-04 11:17:33 +0800
commit4c0e540e47e8ea26e20246c33c744306944b4cb8 (patch)
treeb0c211f9ec492e90888cad664152051df6fe1cf1 /bfd/ChangeLog
parente9cf3691bfa140469d52815a2307b00eecf7917c (diff)
downloadbinutils-4c0e540e47e8ea26e20246c33c744306944b4cb8.zip
binutils-4c0e540e47e8ea26e20246c33c744306944b4cb8.tar.gz
binutils-4c0e540e47e8ea26e20246c33c744306944b4cb8.tar.bz2
RISC-V: Fix the merged orders of Z* extension for linker.
Similar to the commit 6729e2c2af2bd94408430734316597843718a484, we have to check the first char of the Z* extensions, to make sure that they follow the order of the standard extensions. bfd/ * elfxx-riscv.c (riscv_compare_subsets): Removed static. * elfxx-riscv.h: Add declaration. * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use riscv_compare_subsets to check the orders. (riscv_skip_prefix): Removed. (riscv_prefix_cmp): Removed.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a72e811..a7cc3c8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2021-01-04 Nelson Chu <nelson.chu@sifive.com>
+
+ * elfxx-riscv.c (riscv_compare_subsets): Removed static.
+ * elfxx-riscv.h: Add declaration.
+ * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
+ riscv_compare_subsets to check the orders.
+ (riscv_skip_prefix): Removed.
+ (riscv_prefix_cmp): Removed.
+
2021-01-04 Alan Modra <amodra@gmail.com>
PR 26741