aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2020-11-21 11:19:58 +0800
committerNelson Chu <nelson.chu@sifive.com>2020-12-01 15:09:26 +0800
commite8d4709e6a5f4e3fad8479b8069c52294be54488 (patch)
tree381e50836b9ebefc2c013651cdf8f68b69cbff7f /bfd/ChangeLog
parentd541518bec90502134ea6b348cb2d4f3363d1c70 (diff)
downloadbinutils-e8d4709e6a5f4e3fad8479b8069c52294be54488.zip
binutils-e8d4709e6a5f4e3fad8479b8069c52294be54488.tar.gz
binutils-e8d4709e6a5f4e3fad8479b8069c52294be54488.tar.bz2
RISC-V: Don't allow any uppercase letter in the arch string.
Although I cannot find any RISC-V specs said that uppercases are not allowed in the arhc string, but seems like it is an established fact both for GNU and LLVM. Therefore, we shouldn't allow the uppercases for the non-standard x extensions, too. bfd/ * elfxx-riscv.c (riscv_parse_subset): ISA string cannot contain any uppercase letter. gas/ * testsuite/gas/riscv/march-fail-uppercase-base.d: Updated. * testsuite/gas/riscv/march-fail-uppercase.l: Updated. * testsuite/gas/riscv/march-fail-uppercase-x.d: New testcase.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4c6c694..3ac2719 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+ * elfxx-riscv.c (riscv_parse_subset): ISA string cannot contain
+ any uppercase letter.
+
+2020-12-01 Nelson Chu <nelson.chu@sifive.com>
+
* elfxx-riscv.c: Re-indent codes, unify and improve the error
messages and comments.
(riscv_parse_prefixed_ext): Stop parsing the prefixed class